[fenix] For https://github.com/mozilla-mobile/fenix/issues/10577 - Adds elevation for the browser toolbar popup
parent
0d5633f019
commit
72fe641943
@ -1,46 +1,49 @@
|
||||
<?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/. -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@drawable/rounded_all_corners"
|
||||
android:id="@+id/browser_toolbar_popup_window"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/rounded_all_corners"
|
||||
android:elevation="4dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp">
|
||||
android:paddingEnd="16dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/copy"
|
||||
android:minWidth="48dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?selectableItemBackground"
|
||||
android:minWidth="48dp"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:text="@string/browser_toolbar_long_press_popup_copy"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="?primaryText"
|
||||
android:text="@string/browser_toolbar_long_press_popup_copy"/>
|
||||
android:textColor="?primaryText" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/paste"
|
||||
android:minWidth="48dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?selectableItemBackground"
|
||||
android:minWidth="48dp"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:text="@string/browser_toolbar_long_press_popup_paste"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="?primaryText"
|
||||
android:text="@string/browser_toolbar_long_press_popup_paste"/>
|
||||
android:textColor="?primaryText" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/paste_and_go"
|
||||
android:background="?selectableItemBackground"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?selectableItemBackground"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:text="@string/browser_toolbar_long_press_popup_paste_and_go"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="?primaryText"
|
||||
android:text="@string/browser_toolbar_long_press_popup_paste_and_go"/>
|
||||
android:textColor="?primaryText" />
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue