2018-04-19 19:43:51 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-04-21 16:42:04 +02:00
|
|
|
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"
|
2018-04-30 17:05:03 +02:00
|
|
|
android:background="?attr/wikivoyage_primary_btn_bg">
|
2018-04-19 19:43:51 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/card_button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-05-06 12:50:15 +02:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2018-04-19 19:43:51 +02:00
|
|
|
android:minHeight="@dimen/card_button_min_size"
|
|
|
|
android:orientation="vertical"
|
2018-04-24 17:21:05 +02:00
|
|
|
android:gravity="center"
|
2018-04-19 19:43:51 +02:00
|
|
|
android:paddingBottom="@dimen/list_header_padding"
|
|
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
|
|
android:paddingTop="@dimen/list_header_padding">
|
|
|
|
|
2018-04-24 17:21:05 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/card_button_progress"
|
|
|
|
android:layout_width="@dimen/card_button_progress_size"
|
|
|
|
android:layout_height="@dimen/card_button_progress_size"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-04-19 19:43:51 +02:00
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
2018-04-21 14:17:34 +02:00
|
|
|
android:id="@+id/card_button_title"
|
2018-04-19 19:43:51 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
2018-04-21 16:42:04 +02:00
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:text="Buy - 5€"/>
|
2018-04-19 19:43:51 +02:00
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
2018-04-21 14:17:34 +02:00
|
|
|
android:id="@+id/card_button_subtitle"
|
2018-04-19 19:43:51 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:textColor="@color/white_50_transparent"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
2018-04-21 16:42:04 +02:00
|
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
|
|
tools:text="One time purchase"/>
|
2018-04-19 19:43:51 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|