OsmAnd/OsmAnd/res/layout/dash_rate_us_fragment.xml

67 lines
2.5 KiB
XML
Raw Normal View History

2015-07-20 15:17:44 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-07-22 14:38:04 +02:00
xmlns:osmand="http://schemas.android.com/apk/res-auto"
2015-07-20 15:17:44 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/bg_card"
android:layout_marginTop="@dimen/dash_margin"
android:layout_marginBottom="@dimen/dash_margin"
android:layout_marginLeft="@dimen/dash_margin_h"
android:layout_marginRight="@dimen/dash_margin_h"
android:orientation="vertical">
2015-07-22 14:38:04 +02:00
<net.osmand.plus.widgets.TextViewEx
2015-07-20 15:17:44 +02:00
android:id="@+id/header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/do_you_like_osmand"
android:textColor="?android:textColorPrimary"
2015-07-22 14:38:04 +02:00
android:textSize="20sp"
android:paddingBottom="10dp"
2015-07-20 15:17:44 +02:00
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
2015-07-22 14:38:04 +02:00
android:paddingTop="8dp"
osmand:typeface="@string/font_roboto_medium"/>
2015-07-20 15:17:44 +02:00
<TextView
android:id="@+id/subheader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/DashboardSubHeader"
2015-08-01 20:52:21 +02:00
android:text="@string/we_really_care_about_your_opinion"
2015-07-20 15:17:44 +02:00
android:paddingBottom="@dimen/list_content_padding"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="@dimen/list_header_height"
android:orientation="horizontal">
<Button
android:id="@+id/positive_button"
style="@style/DashboardGeneralButton"
android:layout_width="0dp"
android:gravity="center"
android:layout_weight="1"
android:text="@string/shared_string_yes"/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="?attr/dashboard_divider"/>
<Button
android:id="@+id/negative_button"
style="@style/DashboardGeneralButton"
android:layout_width="0dp"
android:gravity="center"
android:layout_height="wrap_content"
android:layout_weight="1"
2015-07-22 14:38:04 +02:00
android:text="@string/shared_string_no" />
2015-07-20 15:17:44 +02:00
</LinearLayout>
</LinearLayout>