summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_share.xml
blob: c17d9761d319c515b18a08031c0309d3cce1e6c0 (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
<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/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:ems="10"
        android:hint="@string/share_title_hint"
        android:singleLine="true" />

    <EditText
        android:id="@+id/url"
        android:inputType="textUri"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/title"
        android:layout_alignParentRight="true"
        android:layout_below="@+id/title"
        android:ems="10"
        android:hint="@string/share_url_hint"
        android:singleLine="true" />


    <EditText
        android:id="@+id/content"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignRight="@+id/url"
        android:layout_below="@+id/url"
        android:ems="10"
        android:hint="@string/share_content_hint"
        android:inputType="textMultiLine"
        android:maxLines="3" >

        <requestFocus />
    </EditText>


    <Button
        android:id="@+id/share_button"
        style="?android:attr/buttonBarButtonStyle"
        android:layout_width="100dp"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignRight="@+id/content"
        android:layout_below="@+id/content"
        android:text="@string/share_share_button" />

</RelativeLayout>