198 lines
No EOL
7.8 KiB
XML
198 lines
No EOL
7.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/color_dialog_buttons_light"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="24dp"
|
|
android:paddingRight="24dp"
|
|
android:paddingTop="15dp">
|
|
|
|
<TextView
|
|
android:id="@+id/regionNameTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="@color/color_white"
|
|
tools:text="Flevoland"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/white_50_transparent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lastMapChangeTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center"
|
|
android:textColor="@color/color_white"
|
|
android:textSize="12sp"
|
|
tools:text="@string/last_map_change"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lastUpdateTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginBottom="8dp"
|
|
android:gravity="center"
|
|
android:textColor="@color/color_white"
|
|
android:textSize="12sp"
|
|
tools:text="@string/last_update"/>
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"/>
|
|
</LinearLayout> |