OsmAnd/OsmAnd/res/layout/purchase_dialog_card.xml

49 lines
1.9 KiB
XML
Raw Normal View History

2018-04-19 19:43:51 +02:00
<?xml version="1.0" encoding="utf-8"?>
2018-04-21 16:42:04 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-04-19 19:43:51 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/list_header_padding"
2018-04-28 16:53:25 +02:00
android:layout_marginLeft="@dimen/card_padding"
android:layout_marginRight="@dimen/card_padding"
2018-04-30 17:05:03 +02:00
android:background="?attr/wikivoyage_travel_card_bg"
2018-04-19 19:43:51 +02:00
android:orientation="vertical">
<include layout="@layout/purchase_dialog_card_header"/>
<View
android:id="@+id/header_div"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/wikivoyage_card_divider_color"/>
<LinearLayout
android:id="@+id/rows_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"/>
<net.osmand.plus.widgets.TextViewEx
2018-04-19 19:43:51 +02:00
android:id="@+id/card_descr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding_large"
android:layout_marginRight="@dimen/list_content_padding_large"
android:layout_marginTop="@dimen/list_header_padding"
android:gravity="center"
android:textColor="?attr/card_description_text_color"
android:textSize="@dimen/default_desc_text_size"
2018-04-21 16:42:04 +02:00
osmand:typeface="@string/font_roboto_regular"
tools:text="@string/osm_live_payment_desc"/>
2018-04-19 19:43:51 +02:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-04-28 16:53:25 +02:00
android:layout_margin="@dimen/card_padding">
2018-04-19 19:43:51 +02:00
<include layout="@layout/purchase_dialog_card_button"/>
</FrameLayout>
</LinearLayout>