summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/subscribe.xml
blob: 8daa1169a3d2bc856f6a00b4dce70bcc7775da18 (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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/main"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="5dp" >

    <EditText
        android:id="@+id/feed_url"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:ems="10"
        android:hint="@string/feed_url"
        android:inputType="textUri"
        android:maxLines="3" >

        <requestFocus />
    </EditText>

    <Spinner
        android:id="@+id/category_spinner"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/feed_url"
        android:layout_alignParentRight="true"
        android:layout_below="@+id/feed_url" />

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/category_spinner"
        android:layout_alignRight="@+id/category_spinner"
        android:layout_below="@+id/category_spinner" >

        <Button
            android:id="@+id/cats_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="0.5"
            android:text="Update categories" />

        <Button
            android:id="@+id/subscribe_button"
		    android:layout_width="wrap_content"
		    android:layout_weight="0.5"
            android:layout_height="wrap_content"
            android:text="@string/subscribe_to_feed" />
    </LinearLayout>

</RelativeLayout>