This commit is contained in:
Vitaliy 2020-05-21 18:42:06 +03:00
parent f6a4088717
commit b0713af648

View file

@ -18,27 +18,26 @@
<androidx.appcompat.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height" android:layout_height="@dimen/toolbar_height"
android:background="?attr/card_and_list_background_basic" android:background="?attr/card_and_list_background_basic"
android:paddingRight="@dimen/content_padding"
android:paddingEnd="@dimen/content_padding"
android:minHeight="@dimen/toolbar_height" android:minHeight="@dimen/toolbar_height"
osmand:subtitleTextColor="?android:textColorPrimary" osmand:subtitleTextColor="?android:textColorPrimary"
osmand:theme="@style/ThemeOverlay.AppCompat.ActionBar" osmand:theme="@style/ThemeOverlay.AppCompat.ActionBar"
osmand:titleTextColor="?android:textColorPrimary"> osmand:titleTextColor="?android:textColorPrimary">
<androidx.appcompat.widget.AppCompatImageView <ImageButton
android:id="@+id/toolbar_action" android:id="@+id/toolbar_action"
android:layout_width="@dimen/standard_icon_size" style="@style/Widget.AppCompat.Toolbar.Button.Navigation"
android:layout_height="match_parent" android:layout_width="@dimen/acceptable_touch_radius"
android:layout_height="@dimen/acceptable_touch_radius"
android:layout_gravity="end" android:layout_gravity="end"
android:contentDescription="@string/replace_all" android:layout_marginStart="@dimen/list_item_button_padding"
app:srcCompat="@drawable/ic_action_replace" android:layout_marginLeft="@dimen/list_item_button_padding"
android:layout_marginRight="@dimen/content_padding_half" android:layout_marginEnd="@dimen/list_item_button_padding"
android:layout_marginStart="@dimen/content_padding_half" android:layout_marginRight="@dimen/list_item_button_padding"
android:layout_marginLeft="@dimen/content_padding" android:contentDescription="@string/access_shared_string_navigate_up"
android:layout_marginEnd="@dimen/content_padding" /> app:srcCompat="@drawable/ic_action_replace" />
</androidx.appcompat.widget.Toolbar> </androidx.appcompat.widget.Toolbar>