OsmAnd/OsmAnd/res/layout/download_tiles.xml
2020-01-08 12:54:45 +02:00

72 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingTop="@dimen/content_padding"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:orientation="vertical">
<TextView
android:text="@string/select_max_zoom_preload_area"
android:gravity="center"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="?android:textColorSecondary"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp" />
<SeekBar
android:id="@+id/ZoomToDownload"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:layout_marginTop="@dimen/content_padding_small"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:text="10"
android:gravity="start"
android:layout_weight="0.5"
android:id="@+id/MinZoom"
android:textColor="?android:textColorSecondary"
android:paddingLeft="@dimen/content_padding_small"
android:paddingRight="@dimen/content_padding_small"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:text="15"
android:gravity="end"
android:layout_weight="0.5"
android:id="@+id/MaxZoom"
android:textColor="?android:textColorSecondary"
android:paddingLeft="@dimen/content_padding_small"
android:paddingRight="@dimen/content_padding_small"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<TextView
android:text="@string/tiles_to_download_estimated_size"
android:gravity="center"
android:id="@+id/DownloadDescription"
android:layout_marginTop="@dimen/content_padding_small"
android:textColor="?android:textColorSecondary"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:id="@+id/AreaPreview" />
</LinearLayout>