blob: 65fb44386ef5dbda31533dd6974d3d7e40bc735e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="6dp"
android:paddingLeft="6dp"
android:paddingEnd="8dp"
android:paddingRight="8dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/navigationItemIcon"
android:layout_width="44dp"
android:layout_height="44dp"
android:contentDescription="@null"
android:focusable="false"
android:padding="10dp"
android:scaleType="center"
app:srcCompat="@drawable/ic_folder_grey600_24dp" />
<TextView
android:id="@+id/navigationItemCount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:padding="8dp"
android:textColor="?android:textColorPrimary"
tools:text="37" />
<TextView
android:id="@+id/navigationItemLabel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="64dp"
android:layout_marginLeft="64dp"
android:layout_toStartOf="@id/navigationItemCount"
android:layout_toLeftOf="@id/navigationItemCount"
android:ellipsize="end"
android:lines="1"
android:textColor="?android:textColorSecondary"
tools:text="Category 1" />
</RelativeLayout>
|