I'm trying to create a Recyclerview that looks like this (taken from Telegram contacts list)
It should have
It should load names from a txt file in the assets folder and images from the drawable folder. Right now I'm using a simple list view with images and names, but how can I implement these features with a recyclerview? Thanks.
答案 0 :(得分:0)
For 1 and 2 you can use this Library and for the 3rd you can use following code in List item.
<View
android:layout_width="fill_parent"
android:layout_height="2dp"
android:background="#c0c0c0"/>