mirror of https://github.com/kurisufriend/Clover
parent
2ae4a94b9d
commit
c3c2569a54
@ -0,0 +1,30 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:orientation="horizontal" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="48dp" |
||||
android:background="?attr/selectableItemBackground"> |
||||
|
||||
<ImageView |
||||
android:id="@+id/thumb" |
||||
android:layout_width="56dp" |
||||
android:layout_height="match_parent" |
||||
android:paddingLeft="8dp" |
||||
android:paddingRight="8dp" |
||||
android:scaleType="center" |
||||
android:layout_gravity="center_vertical" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/text" |
||||
android:layout_width="0dp" |
||||
android:layout_height="match_parent" |
||||
android:layout_weight="1" |
||||
android:ellipsize="end" |
||||
android:gravity="center_vertical" |
||||
android:paddingLeft="16dp" |
||||
android:paddingRight="16dp" |
||||
android:singleLine="true" |
||||
android:textColor="#ff212121" |
||||
android:textSize="14sp" /> |
||||
|
||||
</LinearLayout> |
@ -0,0 +1,17 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:background="#ffffffff"> |
||||
|
||||
<android.support.v7.widget.RecyclerView |
||||
android:id="@+id/recycler_view" |
||||
android:scrollbars="vertical" |
||||
android:paddingBottom="16dp" |
||||
android:clipToPadding="false" |
||||
android:scrollbarStyle="outsideOverlay" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" /> |
||||
|
||||
</LinearLayout> |
Loading…
Reference in new issue