Neo-Store/src/main/res/layout/section_item.xml
LooKeR 7a36d943c0 Update: Rounded Icons
Update: Use ShapeableImageView
2021-10-16 09:47:32 +05:30

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:orientation="horizontal"
android:padding="16dp">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="sans-serif-medium"
android:singleLine="true"
android:textColor="?android:attr/textColor"
android:textSize="14sp" />
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="center"
android:src="@drawable/ic_arrow_down"
android:tint="?android:attr/textColor"
android:tintMode="src_in"
tools:ignore="ContentDescription" />
</LinearLayout>