2019-08-07 17:45:59 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2019-10-28 15:02:14 +01:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-23 10:59:01 +02:00
|
|
|
android:background="?attr/actionModeBackground"
|
2019-10-28 15:02:14 +01:00
|
|
|
android:minHeight="@dimen/toolbar_height"
|
2019-09-18 17:28:26 +02:00
|
|
|
app:contentInsetLeft="0dp"
|
|
|
|
app:contentInsetStart="0dp">
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2019-09-18 17:28:26 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-10-28 15:02:14 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical">
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2019-09-18 17:28:26 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/close_button"
|
|
|
|
style="@style/Widget.AppCompat.Toolbar.Button.Navigation"
|
|
|
|
android:layout_width="@dimen/toolbar_height"
|
|
|
|
android:layout_height="@dimen/toolbar_height"
|
|
|
|
android:contentDescription="@string/access_shared_string_navigate_up"
|
|
|
|
android:src="@drawable/ic_action_mode_back" />
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2020-01-14 12:23:20 +01:00
|
|
|
<LinearLayout
|
2019-09-18 17:28:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-10-28 15:02:14 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-14 12:23:20 +01:00
|
|
|
android:orientation="vertical"
|
2019-09-18 17:28:26 +02:00
|
|
|
android:paddingLeft="@dimen/content_padding"
|
2020-01-14 12:23:20 +01:00
|
|
|
android:paddingRight="@dimen/content_padding">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2020-02-03 14:13:33 +01:00
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
2020-01-14 12:23:20 +01:00
|
|
|
android:maxLines="2"
|
|
|
|
android:textColor="?attr/app_bar_primary_item_color"
|
|
|
|
android:textSize="@dimen/dialog_header_text_size"
|
|
|
|
app:typeface="@string/font_roboto_medium"
|
|
|
|
tools:text="@string/routing_settings_2" />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/toolbar_subtitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2020-02-03 14:13:33 +01:00
|
|
|
android:letterSpacing="@dimen/description_letter_spacing"
|
2020-01-14 12:23:20 +01:00
|
|
|
android:maxLines="2"
|
|
|
|
android:textColor="?attr/pstsInactiveTextColor"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:typeface="@string/font_roboto_regular"
|
|
|
|
tools:text="Some description" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-09-18 17:28:26 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2019-08-30 14:58:36 +02:00
|
|
|
|
2019-08-07 17:45:59 +02:00
|
|
|
</android.support.v7.widget.Toolbar>
|