summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2015-05-27 19:34:40 -0400
committerTom Hennen <tom.hennen@gmail.com>2015-05-27 19:34:40 -0400
commit7add1854c835c66601498adbdb385a2ac07edca6 (patch)
treea6e55baecf9fbbbe66c60238e8c0da4bcd54ce5a /app/src
parentc228eade9748f8fb36378382b85510ab3c5d2b24 (diff)
downloadAntennaPod-7add1854c835c66601498adbdb385a2ac07edca6.zip
put the LinearView in a ScrollView. fixes AntennaPod/AntennaPod#841
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/opml_import.xml164
1 files changed, 84 insertions, 80 deletions
diff --git a/app/src/main/res/layout/opml_import.xml b/app/src/main/res/layout/opml_import.xml
index 5ece4f09f..2a67e7ee1 100644
--- a/app/src/main/res/layout/opml_import.xml
+++ b/app/src/main/res/layout/opml_import.xml
@@ -1,92 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingTop="8dp"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:paddingBottom="8dp"
- tools:background="@android:color/darker_gray">
-
- <TextView
- android:id="@+id/txtvHeadingExplanation1"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- style="@style/AntennaPod.TextView.Heading"
- android:text="@string/txtvfeedurl_label"/>
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingTop="8dp"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingBottom="8dp"
+ tools:background="@android:color/darker_gray">
- <TextView
- android:id="@+id/txtvExplanation1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/opml_import_explanation_1"
- android:textSize="@dimen/text_size_medium"
- android:layout_marginTop="4dp"
- tools:background="@android:color/holo_green_dark" />
+ <TextView
+ android:id="@+id/txtvHeadingExplanation1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/AntennaPod.TextView.Heading"
+ android:text="@string/txtvfeedurl_label"/>
- <Button
- android:id="@+id/butChooseFileFromFilesystem"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="8dp"
- android:text="@string/choose_file_from_filesystem" />
+ <TextView
+ android:id="@+id/txtvExplanation1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/opml_import_explanation_1"
+ android:textSize="@dimen/text_size_medium"
+ android:layout_marginTop="4dp"
+ tools:background="@android:color/holo_green_dark" />
- <View
- android:id="@+id/divider1"
- android:layout_width="fill_parent"
- android:layout_height="1dp"
- android:layout_margin="16dp"
- android:background="?android:attr/listDivider"/>
+ <Button
+ android:id="@+id/butChooseFileFromFilesystem"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="8dp"
+ android:text="@string/choose_file_from_filesystem" />
- <TextView
- android:id="@+id/txtvHeadingExplanation2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- style="@style/AntennaPod.TextView.Heading"
- android:text="@string/txtvfeedurl_label"/>
+ <View
+ android:id="@+id/divider1"
+ android:layout_width="fill_parent"
+ android:layout_height="1dp"
+ android:layout_margin="16dp"
+ android:background="?android:attr/listDivider"/>
- <TextView
- android:id="@+id/txtvExplanation2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/opml_import_explanation_2"
- android:textSize="@dimen/text_size_medium"
- android:layout_marginTop="4dp"
- tools:background="@android:color/holo_green_dark" />
+ <TextView
+ android:id="@+id/txtvHeadingExplanation2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/AntennaPod.TextView.Heading"
+ android:text="@string/txtvfeedurl_label"/>
- <Button
- android:id="@+id/butChooseFileFromExternal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="8dp"
- android:text="@string/choose_file_from_external_application" />
+ <TextView
+ android:id="@+id/txtvExplanation2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/opml_import_explanation_2"
+ android:textSize="@dimen/text_size_medium"
+ android:layout_marginTop="4dp"
+ tools:background="@android:color/holo_green_dark" />
- <View
- android:id="@+id/divider2"
- android:layout_width="fill_parent"
- android:layout_height="1dp"
- android:layout_margin="16dp"
- android:background="?android:attr/listDivider"/>
+ <Button
+ android:id="@+id/butChooseFileFromExternal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="8dp"
+ android:text="@string/choose_file_from_external_application" />
- <TextView
- android:id="@+id/txtvHeadingExplanation3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- style="@style/AntennaPod.TextView.Heading"
- android:text="@string/txtvfeedurl_label"/>
+ <View
+ android:id="@+id/divider2"
+ android:layout_width="fill_parent"
+ android:layout_height="1dp"
+ android:layout_margin="16dp"
+ android:background="?android:attr/listDivider"/>
- <TextView
- android:id="@+id/txtvExplanation3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/opml_import_explanation_3"
- android:textSize="@dimen/text_size_medium"
- android:layout_marginTop="4dp"
- tools:background="@android:color/holo_green_dark" />
+ <TextView
+ android:id="@+id/txtvHeadingExplanation3"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/AntennaPod.TextView.Heading"
+ android:text="@string/txtvfeedurl_label"/>
+
+ <TextView
+ android:id="@+id/txtvExplanation3"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/opml_import_explanation_3"
+ android:textSize="@dimen/text_size_medium"
+ android:layout_marginTop="4dp"
+ tools:background="@android:color/holo_green_dark" />
-</LinearLayout> \ No newline at end of file
+ </LinearLayout>
+</ScrollView>