123456789101112131415161718192021222324252627282930 |
- <?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="wrap_content"
- android:foreground="?android:attr/selectableItemBackground"
- android:background="@drawable/recycler_view_selector"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"
- android:clickable="true"
- android:focusable="true">
-
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/ic_add_white_24dp"
- android:id="@+id/imageView"
- android:paddingBottom="2.5dp"
- android:paddingRight="5dp"
- android:paddingTop="2.5dp"/>
-
- <TextView
- android:text="TextView"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/textView"
- android:gravity="center_vertical"
- android:clickable="false"
- android:focusable="false"/>
-
- </LinearLayout>
|