Added scrolling to Import/Export

Fixes #2582
This commit is contained in:
ByteHamster 2018-04-05 16:02:59 +02:00
parent 43f450433e
commit 999142a8f7
1 changed files with 29 additions and 23 deletions

View File

@ -1,28 +1,34 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:id="@+id/import_export_layout" android:id="@+id/import_export_layout"
android:padding="8dp"> android:padding="8dp"
android:clipToPadding="false">
<TextView <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/import_export_warning" android:orientation="vertical">
android:gravity="center_horizontal"/>
<Button <TextView
android:text="@string/label_export" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:text="@string/import_export_warning"
android:id="@+id/button_export" android:gravity="center_horizontal"/>
android:layout_marginTop="24dp"/>
<Button <Button
android:text="@string/label_import" android:text="@string/label_export"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/button_import"/> 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>