aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_row_layout.xml
blob: 689898c2be2621a795f49c78bbaef37eb5bfe99d (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
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<com.zeapo.pwdstore.widget.MultiselectableLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/password_row_background">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="12dp"
        android:paddingBottom="12dp">

        <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/type_image"
            android:layout_width="60dp"
            android:layout_height="32dp"
            android:layout_gravity="bottom"
            android:alpha="0.5"
            android:contentDescription="@string/folder_icon_hint"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            tools:src="@drawable/ic_folder_tinted_24dp" />

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/type"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ellipsize="start"
            android:singleLine="true"
            android:textColor="?android:attr/textColor"
            android:textSize="14sp"
            app:layout_constraintStart_toEndOf="@id/type_image"
            app:layout_constraintTop_toTopOf="parent"
            tools:text="TYPE" />

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/label"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:textColor="?android:attr/textColor"
            android:textSize="18sp"
            app:layout_constraintStart_toEndOf="@id/type_image"
            app:layout_constraintTop_toBottomOf="@id/type"
            tools:text="FILE_NAME" />

        <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/folder_indicator"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="16dp"
            android:src="@drawable/ic_keyboard_arrow_right_24dp"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent" />

    </androidx.constraintlayout.widget.ConstraintLayout>

</com.zeapo.pwdstore.widget.MultiselectableLinearLayout>