diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-28 14:45:10 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-28 14:45:10 +0200 |
commit | da1bf5a0457444fb88fc6004ba043063936553e3 (patch) | |
tree | 6e2cbc7fccecfa706409f73d52dbac44eef1a854 /res/layout/addfeed.xml | |
parent | 3c4167ed498c90363f07c9755247b1ce7211470d (diff) | |
download | AntennaPod-da1bf5a0457444fb88fc6004ba043063936553e3.zip |
Improved layout of Addfeedactivity
Diffstat (limited to 'res/layout/addfeed.xml')
-rw-r--r-- | res/layout/addfeed.xml | 75 |
1 files changed, 45 insertions, 30 deletions
diff --git a/res/layout/addfeed.xml b/res/layout/addfeed.xml index 7036bcbf9..016bc621f 100644 --- a/res/layout/addfeed.xml +++ b/res/layout/addfeed.xml @@ -1,32 +1,47 @@ <?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" > - <TextView - android:id="@+id/txtvFeedurl" - android:text="@string/feedurl_label" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - /> - <EditText android:id="@+id/etxtFeedurl" - android:layout_width="fill_parent" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <TextView + android:id="@+id/txtvFeedurl" + android:layout_width="fill_parent" android:layout_height="wrap_content" - android:autoText="false" - android:capitalize="none"/> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - <Button android:id="@+id/butConfirm" - android:text="@string/confirm_label" - android:layout_width="0px" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button android:id="@+id/butCancel" - android:layout_width="0px" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="@string/cancel_label"/> - </LinearLayout> -</LinearLayout> + android:layout_alignParentTop="true" + android:layout_margin="8dp" + android:text="@string/txtvfeedurl_label" /> + + <EditText + android:id="@+id/etxtFeedurl" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/txtvFeedurl" + android:layout_margin="8dp" + android:hint="@string/feedurl_label" + android:inputType="textUri" /> + + <LinearLayout + android:id="@+id/footer" + style="@android:style/ButtonBar" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:orientation="horizontal" > + + <Button + android:id="@+id/butConfirm" + android:layout_width="0px" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/confirm_label" /> + + <Button + android:id="@+id/butCancel" + android:layout_width="0px" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/cancel_label" /> + </LinearLayout> + +</RelativeLayout>
\ No newline at end of file |