I want the RecyclerView
to look like this:
How can I do that?
Use with GridLayoutManager for eg:
private RecyclerView.LayoutManager mLayoutManager;
mLayoutManager = new GridLayoutManager(mContext, 10);
holder.recycler_viewGv.setLayoutManager(mLayoutManager);
and try this link for highlighting Highlighting center item
I suggest that you can try with this approach and change it as per your need
compile 'com.github.gastricspark:scrolldatepicker:0.0.1'
https://github.com/GastricSpark/ScrollDatePicker
https://github.com/hrules6872/HorizontalNumberPicker
<com.harrywhewell.scrolldatepicker.DayScrollDatePicker
android:id="@+id/day_date_picker"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
This is not exact what you are looking for but may give you some hint. Use RecyclerView with horizontal layout manager. MODIFY YOU ADAPTER CLASS In onBindViewHolder change your textview size based on postion
if(position == mid of list){
//Increase the text size
}else{
//set the normal size to text view
}
...