[fenix] Implement tab tray design improvements and fix close functionality.
parent
25292cb29b
commit
c02dd322e2
@ -1,17 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
<?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/. -->
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/new_tab_button"
|
||||
style="@style/TabTrayFab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="16dp"
|
||||
android:backgroundTint="@color/accent_normal_theme"
|
||||
android:contentDescription="@string/add_tab"
|
||||
app:backgroundTint="@color/accent_normal_theme"
|
||||
app:srcCompat="@drawable/ic_new"
|
||||
app:tint="@color/photonWhite" />
|
||||
android:elevation="99dp"
|
||||
android:text="@string/tab_drawer_fab_content"
|
||||
android:textColor="@color/photonWhite"
|
||||
app:elevation="99dp"
|
||||
app:borderWidth="0dp"
|
||||
app:icon="@drawable/ic_new"
|
||||
app:iconTint="@color/photonWhite" />
|
||||
|
Loading…
Reference in New Issue