Made time picker for lanscape scrollable
This commit is contained in:
parent
11a4e3cc58
commit
b3085b38cb
1 changed files with 32 additions and 28 deletions
|
@ -1,30 +1,33 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingBottom="@dimen/dialog_content_bottom_margin"
|
|
||||||
android:paddingLeft="@dimen/dialog_content_margin"
|
|
||||||
android:paddingRight="@dimen/dialog_content_margin"
|
|
||||||
android:paddingTop="@dimen/dialog_content_bottom_margin">
|
|
||||||
|
|
||||||
<TextView
|
<ScrollView
|
||||||
android:id="@+id/parkTime"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="30dp"
|
android:layout_height="wrap_content">
|
||||||
android:layout_gravity="center"
|
|
||||||
android:text="@string/osmand_parking_position_description_add"/>
|
|
||||||
|
|
||||||
<ScrollView
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="0dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:orientation="vertical"
|
||||||
android:layout_weight="1">
|
android:paddingBottom="@dimen/dialog_content_bottom_margin"
|
||||||
|
android:paddingLeft="@dimen/dialog_content_margin"
|
||||||
|
android:paddingRight="@dimen/dialog_content_margin"
|
||||||
|
android:paddingTop="@dimen/dialog_content_bottom_margin">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/parkTime"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="@string/osmand_parking_position_description_add"/>
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:orientation="horizontal">
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:orientation="horizontal">>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView1"
|
android:id="@+id/textView1"
|
||||||
|
@ -45,13 +48,14 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:text="@string/osmand_parking_minutes"/>
|
android:text="@string/osmand_parking_minutes"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
<CheckBox
|
|
||||||
android:id="@+id/check_event_in_calendar"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:checked="true"
|
|
||||||
android:text="@string/osmand_parking_add_event"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
<CheckBox
|
||||||
|
android:id="@+id/check_event_in_calendar"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:checked="true"
|
||||||
|
android:text="@string/osmand_parking_add_event"/>
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue