OsmAnd/OsmAnd/res/layout/profile_preference_toolbar.xml

51 lines
1.9 KiB
XML
Raw Normal View History

2019-08-07 17:45:59 +02:00
<android.support.v7.widget.Toolbar 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="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-17 15:57:54 +02:00
android:minHeight="@dimen/dashboard_map_toolbar"
2019-08-07 17:45:59 +02:00
osmand:contentInsetLeft="0dp"
osmand:contentInsetStart="0dp"
osmand:theme="@style/ThemeOverlay.AppCompat.ActionBar">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/card_and_list_background_basic"
2019-09-17 15:57:54 +02:00
android:gravity="center_vertical"
android:orientation="horizontal">
<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"
android:tint="?attr/default_icon_color" />
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/toolbar_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-09-17 15:57:54 +02:00
android:layout_weight="1"
2019-09-24 09:19:12 +02:00
android:letterSpacing="@dimen/text_button_letter_spacing"
2019-09-17 15:57:54 +02:00
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
2020-01-20 10:26:45 +01:00
android:maxLines="2"
2019-09-17 15:57:54 +02:00
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/dialog_header_text_size"
osmand:typeface="@string/font_roboto_medium"
tools:text="@string/routing_settings_2" />
2019-09-25 14:08:22 +02:00
<include
layout="@layout/profile_button_small"
2019-09-17 15:57:54 +02:00
android:layout_width="@dimen/route_info_toolbar_button_size"
android:layout_height="@dimen/route_info_toolbar_button_size"
android:layout_marginLeft="@dimen/content_padding_half"
2019-09-25 14:08:22 +02:00
android:layout_marginRight="@dimen/content_padding_half" />
2019-08-07 17:45:59 +02:00
</LinearLayout>
2019-08-30 14:58:36 +02:00
</android.support.v7.widget.Toolbar>