OsmAnd/OsmAnd/res/layout/show_dashboard_on_start_dialog_item.xml
Victor Shcherb f2834b1501 Add settings
2015-11-17 01:17:18 +01:00

61 lines
No EOL
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/checkbox_wraper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/dialog_content_margin"
android:orientation="horizontal">
<include
layout="@layout/check_item_rel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>
<net.osmand.plus.widgets.TextViewEx
android:layout_marginTop="16dp"
android:id="@+id/text"
style="@style/DashboardSubHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginLeft="@dimen/dialog_content_margin"
android:layout_marginRight="16dp"
android:layout_toLeftOf="@id/checkbox_wraper"
android:text="@string/show_on_start"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
osmand:typeface="@string/font_roboto_regular"/>
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/subtext"
style="@style/DashboardSubHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/text"
android:layout_marginLeft="@dimen/dialog_content_margin"
android:layout_marginRight="16dp"
android:layout_toLeftOf="@id/checkbox_wraper"
android:text="@string/show_on_start_description"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
android:layout_alignParentLeft="true"
osmand:typeface="@string/font_roboto_regular"
android:layout_marginBottom="16dp"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@id/subtext"
android:background="?attr/dashboard_divider"/>
</RelativeLayout>