Fixed bottom toolbar buttons highlighting on toolbar click
This commit is contained in:
@@ -4,12 +4,10 @@
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<!-- sergz: Note that id names were named as share even though it is a bookmark button.
|
||||
It was done to prevent extra patching as we replaced Share button -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/share_button_wrapper"
|
||||
style="@style/BottomToolbarButtonWrapper">
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<org.chromium.chrome.browser.toolbar.bottom.BookmarksButton
|
||||
android:id="@+id/bottom_bookmark_button"
|
||||
@@ -18,4 +16,4 @@
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/accessibility_toolbar_btn_home"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
style="@style/BottomToolbarButtonWrapper" >
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<org.chromium.chrome.browser.toolbar.bottom.BottomToolbarNewTabButton
|
||||
android:id="@+id/bottom_new_tab_button"
|
||||
|
||||
Reference in New Issue
Block a user