mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/586 - Use Circular Ripple for Tab List Header Icons
This commit is contained in:
parent
7de08b2eba
commit
28101b5f43
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- 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/. -->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?android:attr/colorControlHighlight">
|
||||
<item android:id="@android:id/mask">
|
||||
<shape>
|
||||
<solid android:color="#000000" />
|
||||
<corners android:radius="32dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/off_white" />
|
||||
<corners android:radius="32dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</ripple>
|
@ -26,7 +26,7 @@
|
||||
android:id="@+id/add_tab_button"
|
||||
android:layout_width="@dimen/glyph_button_width"
|
||||
android:layout_height="@dimen/glyph_button_height"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_new"
|
||||
android:tint="?attr/toolbarTextColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -37,7 +37,7 @@
|
||||
android:id="@+id/tabs_overflow_button"
|
||||
android:layout_width="@dimen/glyph_button_width"
|
||||
android:layout_height="@dimen/glyph_button_height"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_menu"
|
||||
android:tint="?attr/toolbarTextColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
@ -24,15 +24,4 @@
|
||||
<!-- Style the navigation bar -->
|
||||
<item name="android:navigationBarColor">@color/private_browsing_bottom_gradient</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsTheme" parent="SettingsThemeBase">
|
||||
<!-- Style the status bar -->
|
||||
<!-- We have to pull in the changes from v23/styles.xml to make
|
||||
sure we also get them in 27+ -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
|
||||
<!-- Style the navigation bar -->
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
</resources>
|
@ -26,16 +26,4 @@
|
||||
<item name="android:navigationBarDividerColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsTheme" parent="SettingsThemeBase">
|
||||
<!-- Style the status bar -->
|
||||
<!-- We have to pull in the changes from v23/styles.xml to make
|
||||
sure we also get them in 27+ -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
|
||||
<!-- Style the navigation bar -->
|
||||
<item name="android:navigationBarDividerColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
</resources>
|
@ -17,7 +17,7 @@
|
||||
<item name="homeBackgroundTopGradient">@color/off_white</item>
|
||||
<item name="homeBackgroundBottomGradient">@color/off_white</item>
|
||||
<item name="homeBackgroundGradient">@drawable/home_background_gradient</item>
|
||||
<item name="privateBrowsingButtonBackground">@drawable/private_browsing_button_white_background</item>
|
||||
<item name="privateBrowsingButtonBackground">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
<item name="privateBrowsingButtonTint">@color/off_white</item>
|
||||
<item name="fenixLogo">@drawable/ic_logo_wordmark</item>
|
||||
<item name="menuButtonTint">@android:color/black</item>
|
||||
@ -91,17 +91,6 @@
|
||||
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsThemeBase" parent="Theme.MaterialComponents.Light">
|
||||
<item name="colorPrimary">@color/off_white</item>
|
||||
<item name="colorPrimaryDark">@color/off_white</item>
|
||||
<item name="colorAccent">@color/icons</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsTheme" parent="SettingsThemeBase">
|
||||
|
||||
</style>
|
||||
|
||||
<style name="search_pill" parent="Widget.AppCompat.Button.Borderless">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
|
Loading…
Reference in New Issue
Block a user