165 lines
No EOL
5.6 KiB
XML
165 lines
No EOL
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:osmand="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/activity_background_basic"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorPrimary"
|
|
android:minHeight="?attr/actionBarSize"
|
|
app:theme="@style/ThemeOverlay.AppCompat.ActionBar">
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp" />
|
|
|
|
<include layout="@layout/card_top_divider" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/card_and_list_background_basic"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
android:paddingRight="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/content_padding_small">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/collected_data"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/collected_data_descr"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/downloaded_maps_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
android:paddingRight="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/content_padding_small">
|
|
|
|
<TextView
|
|
android:id="@+id/downloaded_maps_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:text="@string/downloaded_maps"
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle" />
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:id="@+id/downloaded_maps_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:background="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingRight="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/content_padding_small"
|
|
android:text="@string/downloaded_maps_collect_descr"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:background="?attr/dashboard_divider" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/visited_screens_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
android:paddingRight="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/content_padding_small">
|
|
|
|
<TextView
|
|
android:id="@+id/visited_screens_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:text="@string/visited_screens"
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle" />
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:id="@+id/visited_screens_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:background="@null" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingRight="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/content_padding_small"
|
|
android:text="@string/visited_screens_collect_descr"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/card_bottom_divider" />
|
|
|
|
</LinearLayout> |