aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_row_layout.xml
blob: 2ad69762c64b1127d78c1edef89c1a49215e95c8 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="4dp"
    android:layout_marginBottom="4dp">

    <android.support.v7.widget.CardView
        xmlns:card_view="http://schemas.android.com/apk/res-auto"
        android:id="@+id/password_card"
        android:layout_gravity="center"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        card_view:contentPaddingTop="4dp"
        card_view:contentPaddingLeft="4dp"
        card_view:cardCornerRadius="4dp"
        card_view:cardElevation="3dp"
        card_view:cardBackgroundColor="@color/light_blue_50">

        <TextView
            android:id="@+id/type"
            android:text="TYPE"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="@android:color/white"
            android:textStyle="italic"
            android:maxLines="1" />
        <TextView
            android:id="@+id/label"
            android:text="FILE_NAME"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:padding="8dp"
            android:textColor="@android:color/white"
            android:textStyle="bold" />
        </android.support.v7.widget.CardView>
    </LinearLayout>