aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_row_layout.xml
blob: 43df2ecfb56a3d1b7b0252deb035218291d492aa (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
47
48
49
50
51
52
53
54
55
56
<?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/activatedBackgroundIndicator">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="8dp"
        android:paddingBottom="8dp"
        android:paddingLeft="16dp"
        android:paddingRight="16dp"
        android:gravity="left">

        <ImageView
            android:layout_width="40dp"
            android:layout_height="32dp"
            android:id="@+id/type_image"
            android:src="@drawable/ic_folder_grey600_24dp"
            android:alpha="0.5"
            android:layout_centerVertical="true"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true"
            android:paddingRight="8dp"/>

        <TextView
            android:id="@+id/type"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ellipsize="start"
            android:text="TYPE"
            android:textSize="14dp"
            android:textColor="@color/grey_500"
            android:layout_alignTop="@+id/type_image"
            android:layout_toRightOf="@+id/type_image"
            android:layout_toEndOf="@+id/type_image"
            android:maxLines="1"
            tools:ignore="HardcodedText" />

        <TextView
            android:id="@+id/label"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:text="FILE_NAME"
            android:textColor="@android:color/black"
            android:textSize="18dp"
            android:layout_below="@+id/type"
            android:layout_alignLeft="@+id/type"
            android:layout_alignStart="@+id/type"
            tools:ignore="HardcodedText" />
    </RelativeLayout>

</LinearLayout>