aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/twitter_authorization_activity.xml
blob: ec9aa8a64beeacc6df1fa443f4d135763503ae64 (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
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:visibility="visible" >

    <include layout="@layout/actionbar"/>

    <ScrollView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical"
        android:padding="4dip" >

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" >

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="left|center_vertical"
                android:layout_marginBottom="20dip"
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
                android:drawableLeft="@drawable/cgeo"
                android:drawablePadding="15dip"
                android:gravity="left|center_vertical"
                android:text="@string/about_auth_1"
                android:textColor="?text_color"
                android:textSize="14sp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="left|center_vertical"
                android:layout_marginBottom="5dip"
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
                android:gravity="left|center_vertical"
                android:text="@string/about_auth_2"
                android:textColor="?text_color"
                android:textSize="14sp" />

            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:padding="7dip" >

                <Button
                    android:id="@+id/start"
                    style="@style/button_full"
                    android:text="@string/auth_authorize" />

                <EditText
                    android:id="@+id/pin"
                    style="@style/edittext_full"
                    android:hint="@string/auth_pin_hint"
                    android:inputType="number"
                    android:visibility="gone" />

                <Button
                    android:id="@+id/pin_button"
                    style="@style/button_full"
                    android:text="@string/auth_finish"
                    android:visibility="visible" />
            </LinearLayout>
        </LinearLayout>
    </ScrollView>

</LinearLayout>