aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/layout_oauth.xml
blob: 61911a3076cd6cabca1520eb7306a96827011533 (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
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="15dp"
    android:gravity="center_vertical|center_horizontal"
    android:orientation="vertical">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/message_oauth_text" />

    <TextView
        android:id="@+id/textView_oauth_link"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_margin="10dp"
        android:autoLink="web" />

    <EditText
        android:id="@+id/editText_oauth_verifier"
        android:layout_width="200sp"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginBottom="10dp"
        android:layout_marginTop="10dp"
        android:hint="@string/message_oauth_hint"
        android:inputType="number"
        android:maxLength="7" />

    <Button
        android:id="@+id/button_oauth_auth"
        android:layout_width="200dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="@string/message_oauth_authenticate" />
</LinearLayout>