OsmAnd/OsmAnd/res/layout-land/empty_state_favourites.xml

58 lines
2.6 KiB
XML
Raw Normal View History

2017-08-04 18:00:58 +02:00
<?xml version="1.0" encoding="utf-8"?>
<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"
android:id="@android:id/empty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ImageView
2017-11-08 13:22:28 +01:00
android:layout_marginTop="@dimen/empty_state_image_margin_top"
android:layout_marginBottom="@dimen/empty_state_image_margin_bottom"
2017-08-07 17:03:40 +02:00
android:adjustViewBounds="true"
2017-11-08 13:22:28 +01:00
android:layout_marginLeft="@dimen/empty_state_image_margin_left"
android:layout_marginStart="@dimen/empty_state_image_margin_left"
2017-08-04 18:00:58 +02:00
android:id="@+id/empty_state_image_view"
2017-08-07 17:03:40 +02:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
2017-11-08 13:22:28 +01:00
tools:src="@drawable/ic_empty_state_favorites_night"/>
2017-08-04 18:00:58 +02:00
<LinearLayout
2017-08-07 17:03:40 +02:00
android:clipToPadding="false"
2017-11-08 13:22:28 +01:00
android:paddingLeft="@dimen/empty_state_text_button_padding_left"
android:paddingStart="@dimen/empty_state_text_button_padding_left"
android:paddingRight="@dimen/empty_state_text_button_padding_right"
android:paddingEnd="@dimen/empty_state_text_button_padding_right"
android:paddingTop="@dimen/empty_state_text_button_padding_top"
2017-08-07 17:03:40 +02:00
android:layout_width="wrap_content"
2017-08-04 18:00:58 +02:00
android:layout_height="match_parent"
android:orientation="vertical">
<net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-11-08 13:22:28 +01:00
android:layout_marginBottom="@dimen/empty_state_text_interval"
2017-08-04 18:00:58 +02:00
android:background="@null"
android:text="@string/empty_state_favourites"
android:textColor="?android:attr/textColorPrimary"
2017-11-08 13:22:28 +01:00
android:textSize="@dimen/empty_state_text_size"
2017-08-04 18:00:58 +02:00
osmand:typeface="@string/font_roboto_medium"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:text="@string/empty_state_favourites_desc"
android:textColor="?android:attr/textColorSecondary"
2017-11-08 13:22:28 +01:00
android:textSize="@dimen/empty_state_text_desc_size"/>
2017-08-04 18:00:58 +02:00
<Button
android:id="@+id/import_button"
style="@style/DialogActionButton"
2017-11-08 13:22:28 +01:00
android:layout_marginTop="@dimen/empty_state_button_margin_top"
2017-08-04 18:00:58 +02:00
android:text="@string/shared_string_import"/>
</LinearLayout>
</LinearLayout>