summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/download_authentication_activity.xml
blob: 58c2c10e6908c382945e315da22c3f3b256a8595 (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
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:padding="16dp">

    <TextView
            android:id="@+id/txtvTitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/authentication_notification_title"
            android:textSize="@dimen/text_size_large"
            android:textColor="?android:attr/textColorPrimary"/>

    <TextView
            android:id="@+id/txtvDescription"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/authentication_notification_msg"
            android:textColor="?android:attr/textColorSecondary"/>

    <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/etxtUsername"
            android:hint="@string/username_label"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:cursorVisible="true"/>

    <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/etxtPassword"
            android:hint="@string/password_label"
            android:inputType="textPassword"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:cursorVisible="true"/>

    <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="48dp"
            android:orientation="horizontal"
            android:gravity="end">

        <Button
                android:id="@+id/butCancel"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?android:attr/selectableItemBackground"
                android:textColor="?attr/colorAccent"
                android:paddingLeft="8dp"
                android:paddingRight="8dp"
                android:text="@string/cancel_label"/>

        <Button
                android:id="@+id/butConfirm"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?android:attr/selectableItemBackground"
                android:textColor="?attr/colorAccent"
                android:paddingLeft="8dp"
                android:paddingRight="8dp"
                android:text="@string/confirm_label"/>
    </LinearLayout>

</LinearLayout>