[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / tab_preview.xml
blob03f1b654259f51fd43f0c4e0074ae283b67d9eb6
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <merge xmlns:android="http://schemas.android.com/apk/res/android"
6     xmlns:app="http://schemas.android.com/apk/res-auto">
8     <mozilla.components.browser.tabstray.thumbnail.TabThumbnailView
9         android:id="@+id/previewThumbnail"
10         android:layout_width="match_parent"
11         android:layout_height="match_parent"
12         android:background="?layer2" />
14     <LinearLayout
15         android:id="@+id/fakeToolbar"
16         android:layout_width="match_parent"
17         android:layout_height="@dimen/browser_toolbar_height"
18         android:layout_gravity="bottom"
19         android:background="?bottomBarBackground"
20         android:elevation="5dp"
21         android:foregroundGravity="bottom"
22         android:orientation="horizontal">
24         <View
25             android:id="@+id/toolbar_wrapper"
26             android:layout_width="0dp"
27             android:layout_height="40dp"
28             android:layout_gravity="center"
29             android:layout_marginStart="8dp"
30             android:layout_marginEnd="0dp"
31             android:layout_weight="1"
32             android:background="@drawable/home_search_background" />
34         <mozilla.components.ui.tabcounter.TabCounter
35             android:id="@+id/tab_button"
36             android:layout_width="48dp"
37             android:layout_height="48dp"
38             android:layout_gravity="center" />
40         <androidx.appcompat.widget.AppCompatImageView
41             android:id="@+id/menuButton"
42             android:layout_width="36dp"
43             android:layout_height="48dp"
44             android:layout_gravity="center"
45             android:scaleType="center"
46             app:srcCompat="@drawable/ic_menu"
47             app:tint="?attr/textPrimary" />
48     </LinearLayout>
49 </merge>