Made time picker for lanscape scrollable

This commit is contained in:
PaulStets 2018-01-30 13:20:20 +02:00
parent 11a4e3cc58
commit b3085b38cb

View file

@ -1,5 +1,11 @@
<?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="wrap_content"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
@ -15,16 +21,13 @@
android:layout_gravity="center"
android:text="@string/osmand_parking_position_description_add"/>
<ScrollView
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:orientation="horizontal">>
<TextView
android:id="@+id/textView1"
@ -45,7 +48,7 @@
android:layout_gravity="center_vertical"
android:text="@string/osmand_parking_minutes"/>
</LinearLayout>
</ScrollView>
<CheckBox
android:id="@+id/check_event_in_calendar"
@ -53,5 +56,6 @@
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/osmand_parking_add_event"/>
</LinearLayout>
</ScrollView>