2019-03-19 17:13:48 +01:00
|
|
|
<?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/. -->
|
2019-04-23 20:46:52 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-03-19 17:13:48 +01:00
|
|
|
android:id="@+id/quick_action_sheet"
|
|
|
|
android:layout_width="match_parent"
|
2019-04-23 20:46:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-07-12 18:28:31 +02:00
|
|
|
android:background="?foundation"
|
2019-04-23 20:46:52 +02:00
|
|
|
android:orientation="vertical">
|
2019-03-19 17:13:48 +01:00
|
|
|
|
2019-04-23 20:46:52 +02:00
|
|
|
<View
|
2019-03-19 23:17:23 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-04-23 20:46:52 +02:00
|
|
|
android:layout_height="1dp"
|
2019-04-23 22:23:01 +02:00
|
|
|
android:background="?attr/neutralFaded"
|
2019-04-23 20:46:52 +02:00
|
|
|
android:focusable="false" />
|
2019-03-19 23:17:23 +01:00
|
|
|
|
2019-04-23 20:46:52 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/quick_action_sheet_handle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="12dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:contentDescription="@string/quick_action_sheet_handle"
|
|
|
|
android:paddingTop="7dp"
|
|
|
|
android:src="@drawable/ic_drawer_pull_tab" />
|
2019-03-19 23:17:23 +01:00
|
|
|
|
2019-04-23 20:46:52 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2019-03-19 23:17:23 +01:00
|
|
|
|
2019-04-23 02:06:58 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/quick_action_buttons_layout"
|
|
|
|
android:layout_width="match_parent"
|
2019-03-19 23:17:23 +01:00
|
|
|
android:layout_height="wrap_content"
|
2019-04-23 02:06:58 +02:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:orientation="horizontal">
|
2019-03-20 17:28:36 +01:00
|
|
|
|
2019-04-23 02:06:58 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/quick_action_share"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:drawableTop="@drawable/quick_action_icon_share"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:text="@string/quick_action_share"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/quick_action_downloads"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:drawableTop="@drawable/library_icon_downloads_circle_background"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:text="@string/quick_action_download"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/quick_action_bookmark"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2019-04-23 20:32:48 +02:00
|
|
|
android:drawableTop="@drawable/bookmark_two_state"
|
2019-04-23 02:06:58 +02:00
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:text="@string/quick_action_bookmark"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
2019-05-03 23:01:45 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/quick_action_read_appearance"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:drawableTop="@drawable/quick_action_icon_appearance"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:text="@string/quick_action_read_appearance"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2019-04-23 02:06:58 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/quick_action_read"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2019-05-03 23:01:45 +02:00
|
|
|
android:drawableTop="@drawable/reader_two_state"
|
2019-04-23 02:06:58 +02:00
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:text="@string/quick_action_read"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-04-23 20:46:52 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/overlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-04-25 16:33:53 +02:00
|
|
|
android:alpha="0.0"
|
2019-04-23 20:46:52 +02:00
|
|
|
android:background="?foundation" />
|
|
|
|
</FrameLayout>
|
2019-04-23 20:32:48 +02:00
|
|
|
</LinearLayout>
|