You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

route_recycler_view_item.xml 1.1KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="horizontal"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:foreground="?android:attr/selectableItemBackground"
  7. android:background="@drawable/recycler_view_selector"
  8. android:minHeight="?android:attr/listPreferredItemHeightSmall"
  9. android:clickable="true"
  10. android:focusable="true">
  11. <ImageView
  12. android:layout_width="50dp"
  13. android:layout_height="50dp"
  14. android:src="@drawable/ic_add_black_24dp"
  15. android:id="@+id/imageView"
  16. android:paddingBottom="2.5dp"
  17. android:paddingRight="5dp"
  18. android:paddingTop="2.5dp"/>
  19. <TextView
  20. android:text="TextView"
  21. android:layout_width="wrap_content"
  22. android:layout_height="match_parent"
  23. android:id="@+id/textView"
  24. android:gravity="center_vertical"
  25. android:clickable="false"
  26. android:focusable="false"/>
  27. </LinearLayout>