249 lines
11 KiB
XML
249 lines
11 KiB
XML
<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"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/bottom_menu_view_bg"
|
|
android:orientation="vertical"
|
|
tools:context="net.osmand.plus.download.ui.DataStoragePlaceDialogFragment">
|
|
|
|
<LinearLayout
|
|
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:orientation="horizontal"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:gravity="center_vertical">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:text="Category"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/edit_name_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/edit_name_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_edit_dark"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/edit_name"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/change_color_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/change_color_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_appearance"/>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/change_color"/>
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:id="@+id/colorImage"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_circle"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/show_on_map_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/show_on_map_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_map"/>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:paddingRight="8dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_show_on_map"/>
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:id="@+id/show_on_map_switch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="false"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/add_to_markers_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/add_to_markers_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_flag_dark"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_add_to_map_markers"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/remove_from_markers_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/remove_from_markers_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
tools:src="@drawable/ic_action_delete_dark"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="6dp"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:text="@string/remove_from_map_markers"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/share_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/share_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_gshare_dark"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_share"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|