2015-12-08 19:09:32 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-12-17 17:31:03 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-12-08 19:09:32 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-24 14:45:26 +01:00
|
|
|
android:orientation="vertical">
|
2015-12-08 19:09:32 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-12-30 11:28:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-12-29 09:57:58 +01:00
|
|
|
android:background="@color/color_dialog_buttons_light"
|
2015-12-08 19:09:32 +01:00
|
|
|
android:orientation="vertical"
|
2015-12-22 16:58:29 +01:00
|
|
|
android:paddingLeft="24dp"
|
|
|
|
android:paddingRight="24dp"
|
2015-12-24 16:55:08 +01:00
|
|
|
android:paddingTop="15dp">
|
2015-12-08 19:09:32 +01:00
|
|
|
|
|
|
|
<TextView
|
2015-12-17 17:31:03 +01:00
|
|
|
android:id="@+id/regionNameTextView"
|
2015-12-08 19:09:32 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-30 11:28:13 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
2015-12-22 16:58:29 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textColor="@color/color_white"
|
2015-12-17 17:31:03 +01:00
|
|
|
tools:text="Flevoland"/>
|
2015-12-08 19:09:32 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2015-12-22 16:58:29 +01:00
|
|
|
android:background="@color/white_50_transparent"/>
|
2015-12-08 19:09:32 +01:00
|
|
|
|
2015-12-23 16:48:50 +01:00
|
|
|
<TextView
|
2015-12-24 14:45:26 +01:00
|
|
|
android:id="@+id/lastMapChangeTextView"
|
2015-12-23 16:48:50 +01:00
|
|
|
android:layout_width="wrap_content"
|
2015-12-24 16:55:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-12-23 16:48:50 +01:00
|
|
|
android:layout_gravity="bottom"
|
2016-03-05 19:34:15 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
2016-03-12 14:27:16 +01:00
|
|
|
android:layout_marginTop="8dp"
|
2015-12-23 16:48:50 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="12sp"
|
2015-12-24 14:45:26 +01:00
|
|
|
tools:text="@string/last_map_change"/>
|
2015-12-23 16:48:50 +01:00
|
|
|
|
2015-12-08 19:09:32 +01:00
|
|
|
<TextView
|
2015-12-22 16:58:29 +01:00
|
|
|
android:id="@+id/lastUpdateTextView"
|
2015-12-08 19:09:32 +01:00
|
|
|
android:layout_width="wrap_content"
|
2015-12-29 09:57:58 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-12-22 16:58:29 +01:00
|
|
|
android:layout_gravity="bottom"
|
2015-12-30 11:28:13 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
2015-12-22 16:58:29 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="12sp"
|
2015-12-24 14:45:26 +01:00
|
|
|
tools:text="@string/last_update"/>
|
2015-12-08 19:09:32 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-04-25 13:50:34 +02:00
|
|
|
<ScrollView
|
2015-12-24 14:16:52 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-04-25 13:50:34 +02:00
|
|
|
android:layout_height="wrap_content">
|
2015-12-09 16:28:39 +01:00
|
|
|
|
2016-04-25 13:50:34 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-12-29 09:57:58 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-04-25 13:50:34 +02:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
android:layout_marginRight="24dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/live_update"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
|
|
android:id="@+id/toggle_item"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:checked="true"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
android:layout_marginRight="24dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/only_download_over_wifi"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"
|
|
|
|
tools:text="Only download over WiFi long text like really long"/>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/downloadOverWiFiSwitch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="right|center_vertical"
|
|
|
|
android:checked="true"
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
android:layout_marginRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/update"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
|
|
<!--style="@style/OsmandLightTheme.Spinner"-->
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/updateFrequencySpinner"
|
|
|
|
style="@style/OsmandLightTheme.Spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingLeft="0dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/updateTimesOfDayLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
android:layout_marginRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/update_time"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/updateTimesOfDaySpinner"
|
|
|
|
style="@style/OsmandLightTheme.Spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingLeft="0dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
android:layout_marginRight="24dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/updates_size"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sizeTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"
|
|
|
|
tools:text="64MB"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
2015-12-09 16:28:39 +01:00
|
|
|
|
2015-12-08 19:09:32 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2015-12-29 09:57:58 +01:00
|
|
|
android:background="?attr/dashboard_divider"/>
|
2015-12-08 19:09:32 +01:00
|
|
|
</LinearLayout>
|