summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/addfeed.xml
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2015-07-13 20:13:27 -0400
committerTom Hennen <tom.hennen@gmail.com>2015-07-13 20:13:27 -0400
commitfd836fd0c13f7b5245db7286bd442a60a1800bfa (patch)
tree6aee9ff18bdb9e3caf959909fbe2d971121e1cc0 /app/src/main/res/layout/addfeed.xml
parent626bd2b0cb8beb8159f4d68df0c338f08415aff2 (diff)
downloadAntennaPod-fd836fd0c13f7b5245db7286bd442a60a1800bfa.zip
Make itunes search more prominent and fix squashed griview
The GridView on large devices (Nexus 6 for example) was showing iTunes and gpodder results in two columns, which was cutting off valuable information. I simply double the default size of the grid columns on the theory that on a tablet someone may still want multiple columns and that 400dp was wide enough to show the needed detail. fixes AntennaPod/AntennaPod#1012
Diffstat (limited to 'app/src/main/res/layout/addfeed.xml')
-rw-r--r--app/src/main/res/layout/addfeed.xml56
1 files changed, 28 insertions, 28 deletions
diff --git a/app/src/main/res/layout/addfeed.xml b/app/src/main/res/layout/addfeed.xml
index 44ba781c2..dff24c650 100644
--- a/app/src/main/res/layout/addfeed.xml
+++ b/app/src/main/res/layout/addfeed.xml
@@ -15,29 +15,33 @@
android:orientation="vertical">
<TextView
- android:id="@+id/txtvFeedurl"
+ android:id="@+id/txtvPodcastDirectories"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/AntennaPod.TextView.Heading"
- android:text="@string/txtvfeedurl_label"/>
+ android:text="@string/podcastdirectories_label"/>
- <EditText
- android:id="@+id/etxtFeedurl"
+ <TextView
+ android:id="@+id/txtvPodcastDirectoriesDescr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:hint="@string/etxtFeedurlHint"
- android:inputType="textUri"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:cursorVisible="true"/>
+ android:text="@string/podcastdirectories_descr"
+ android:textSize="@dimen/text_size_medium"
+ android:layout_marginTop="4dp"/>
<Button
- android:id="@+id/butConfirm"
+ android:id="@+id/butSearchItunes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
- android:text="@string/confirm_label"/>
+ android:text="@string/search_itunes_label"/>
+
+ <Button
+ android:id="@+id/butBrowseGpoddernet"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:text="@string/browse_gpoddernet_label"/>
<View
android:id="@+id/divider1"
@@ -47,34 +51,30 @@
android:background="?android:attr/listDivider"/>
<TextView
- android:id="@+id/txtvPodcastDirectories"
+ android:id="@+id/txtvFeedurl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/divider1"
style="@style/AntennaPod.TextView.Heading"
- android:text="@string/podcastdirectories_label"/>
-
- <TextView
- android:id="@+id/txtvPodcastDirectoriesDescr"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/podcastdirectories_descr"
- android:textSize="@dimen/text_size_medium"
- android:layout_marginTop="4dp"/>
+ android:text="@string/txtvfeedurl_label"/>
- <Button
- android:id="@+id/butBrowseGpoddernet"
+ <EditText
+ android:id="@+id/etxtFeedurl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="@string/browse_gpoddernet_label"/>
+ android:layout_marginTop="4dp"
+ android:hint="@string/etxtFeedurlHint"
+ android:inputType="textUri"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:cursorVisible="true"/>
<Button
- android:id="@+id/butSearchItunes"
+ android:id="@+id/butConfirm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
- android:text="@string/search_itunes_label"/>
+ android:text="@string/confirm_label"/>
<View
android:id="@+id/divider2"