summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorMartin Fietz <Martin.Fietz@gmail.com>2018-04-05 18:44:54 +0200
committerGitHub <noreply@github.com>2018-04-05 18:44:54 +0200
commit9a0fc7779f23063f637783d92b36808916cf82b9 (patch)
tree6f3ecf0d03ca93a2597aa0a02e23b9208d3d5b23 /app/src/main
parent43f450433eb91a698fcb2a9214cd4b3df2ca7d2e (diff)
parent999142a8f7e25c8340bcf8e28ed80b11615b9f81 (diff)
downloadAntennaPod-9a0fc7779f23063f637783d92b36808916cf82b9.zip
Merge pull request #2621 from ByteHamster/scroll_import_export
Added scrolling to Import/Export
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/import_export_activity.xml52
1 files changed, 29 insertions, 23 deletions
diff --git a/app/src/main/res/layout/import_export_activity.xml b/app/src/main/res/layout/import_export_activity.xml
index 6614a8710..97ff34e41 100644
--- a/app/src/main/res/layout/import_export_activity.xml
+++ b/app/src/main/res/layout/import_export_activity.xml
@@ -1,28 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:id="@+id/import_export_layout"
- android:padding="8dp">
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:id="@+id/import_export_layout"
+ android:padding="8dp"
+ android:clipToPadding="false">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/import_export_warning"
- android:gravity="center_horizontal"/>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
- <Button
- android:text="@string/label_export"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/button_export"
- android:layout_marginTop="24dp"/>
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/import_export_warning"
+ android:gravity="center_horizontal"/>
- <Button
- android:text="@string/label_import"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/button_import"/>
+ <Button
+ android:text="@string/label_export"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/button_export"
+ android:layout_marginTop="24dp"/>
-</LinearLayout>
+ <Button
+ android:text="@string/label_import"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/button_import"/>
+ </LinearLayout>
+</ScrollView>