summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/download_authentication_activity.xml
blob: e16a8b3a898e92d286d4a7b82537bf7cb7947dd9 (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
<?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:text="@string/cancel_label"
                style="@style/Widget.MaterialComponents.Button.TextButton"/>

        <Button
                android:id="@+id/butConfirm"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/confirm_label"
                style="@style/Widget.MaterialComponents.Button.TextButton"/>
    </LinearLayout>

</LinearLayout>