You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="#F3F3F3">
|
|
|
|
<!-- icon -->
|
|
<ImageView
|
|
android:id="@+id/item_icon"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:src="@drawable/action_help"
|
|
/>
|
|
|
|
<!-- title -->
|
|
<TextView
|
|
android:id="@+id/item_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@+id/item_icon"
|
|
android:layout_alignBaseline="@+id/item_counter"
|
|
android:textSize="18dp" />
|
|
|
|
<!-- counter -->
|
|
<TextView
|
|
android:id="@+id/item_counter"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/rectangle"
|
|
android:gravity="center"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|