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:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@android:id/empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/empty_state_image_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-11-08 13:22:28 +01:00
|
|
|
android:layout_marginBottom="@dimen/empty_state_image_margin_bottom"
|
|
|
|
android:layout_marginTop="@dimen/empty_state_image_margin_top"
|
|
|
|
tools:src="@drawable/ic_empty_state_favorites_night"/>
|
2017-08-04 18:00:58 +02:00
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
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
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
2017-11-08 13:22:28 +01:00
|
|
|
android:layout_marginLeft="@dimen/empty_state_text_desc_margin"
|
|
|
|
android:layout_marginRight="@dimen/empty_state_text_desc_margin"
|
2017-08-04 18:00:58 +02:00
|
|
|
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>
|