1
0
Fork 0
fenix/app/src/main/res/layout/layout_quick_action_sheet.xml

80 lines
3.3 KiB
XML
Raw Normal View History

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/. -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/quick_action_sheet"
2019-03-19 21:26:36 +01:00
android:orientation="vertical"
2019-03-19 17:13:48 +01:00
android:layout_width="match_parent"
2019-03-19 23:17:23 +01:00
android:layout_height="wrap_content"
2019-04-02 02:53:37 +02:00
android:background="?attr/quickActionBackgroundColor">
2019-03-19 17:13:48 +01:00
2019-03-19 21:26:36 +01:00
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/quick_action_sheet_handle"
android:layout_width="match_parent"
android:layout_height="12dp"
android:contentDescription="@string/quick_action_sheet_handle"
android:background="@null"
2019-03-21 16:39:01 +01:00
android:src="@drawable/ic_drawer_pull_tab"/>
2019-03-19 17:13:48 +01:00
2019-03-19 23:17:23 +01:00
<LinearLayout
android:id="@+id/quick_action_buttons_layout"
2019-03-19 23:17:23 +01:00
android:orientation="horizontal"
android:layout_gravity="bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-04-02 02:53:37 +02:00
android:background="?attr/quickActionBackgroundColor">
2019-03-19 23:17:23 +01:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/quick_action_share"
2019-03-19 23:17:23 +01:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
2019-03-21 18:44:50 +01:00
android:drawableTop="@drawable/quick_action_icon_share"
android:drawablePadding="5dp"
2019-03-19 23:17:23 +01:00
android:textAlignment="center"
android:textSize="12sp"
2019-03-21 16:39:01 +01:00
android:textColor="?attr/toolbarTextColor"
2019-03-20 17:28:36 +01:00
android:text="@string/quick_action_share"/>
2019-03-19 23:17:23 +01:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/quick_action_downloads"
2019-03-19 23:17:23 +01:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
2019-03-21 18:44:50 +01:00
android:drawableTop="@drawable/library_icon_downloads_circle_background"
android:drawablePadding="5dp"
2019-03-19 23:17:23 +01:00
android:textAlignment="center"
android:textSize="12sp"
2019-03-21 16:39:01 +01:00
android:textColor="?attr/toolbarTextColor"
2019-03-20 17:28:36 +01:00
android:text="@string/quick_action_download"/>
2019-03-19 23:17:23 +01:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/quick_action_bookmark"
2019-03-19 23:17:23 +01:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
android:drawableTop="@drawable/library_icon_bookmarks_circle_background"
2019-03-21 18:44:50 +01:00
android:drawablePadding="5dp"
2019-03-19 23:17:23 +01:00
android:textAlignment="center"
android:textSize="12sp"
2019-03-21 16:39:01 +01:00
android:textColor="?attr/toolbarTextColor"
android:text="@string/quick_action_bookmark"/>
2019-03-20 17:28:36 +01:00
2019-03-19 23:17:23 +01:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/quick_action_read"
2019-03-19 23:17:23 +01:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
2019-03-21 18:44:50 +01:00
android:drawableTop="@drawable/quick_action_icon_read"
android:drawablePadding="5dp"
2019-03-19 23:17:23 +01:00
android:textAlignment="center"
android:textSize="12sp"
2019-03-21 16:39:01 +01:00
android:textColor="?attr/toolbarTextColor"
2019-03-20 17:28:36 +01:00
android:text="@string/quick_action_read"/>
2019-03-19 23:17:23 +01:00
</LinearLayout>
2019-03-19 21:26:36 +01:00
</LinearLayout>
2019-03-20 17:28:36 +01:00