]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/bookmarks_drawer.xml
Hide the tabs in full screen mode.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / bookmarks_drawer.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2017-2019 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>>.
7
8   Privacy Browser is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <FrameLayout
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     android:id="@+id/bookmarks_framelayout"
24     android:layout_height="match_parent"
25     android:layout_width="match_parent"
26     android:layout_gravity="end" >
27
28     <LinearLayout
29         android:layout_height="match_parent"
30         android:layout_width="match_parent"
31         android:orientation="vertical" >
32
33         <TextView
34             android:id="@+id/bookmarks_title_textview"
35             android:layout_height="wrap_content"
36             android:layout_width="match_parent"
37             android:textStyle="bold"
38             android:textSize="20sp"
39             android:background="?attr/navigationHeaderBackground"
40             android:textColor="?attr/navigationHeaderTextColor" />
41
42         <ListView
43             android:id="@+id/bookmarks_drawer_listview"
44             android:layout_height="0dp"
45             android:layout_width="match_parent"
46             android:layout_weight="1"
47             android:divider="@color/transparent"
48             android:dividerHeight="0dp" />
49     </LinearLayout>
50
51     <com.google.android.material.floatingactionbutton.FloatingActionButton
52         android:id="@+id/launch_bookmarks_activity_fab"
53         android:layout_height="wrap_content"
54         android:layout_width="wrap_content"
55         android:layout_gravity="bottom|end"
56         android:layout_marginEnd="16dp"
57         android:layout_marginBottom="155dp" />
58
59     <com.google.android.material.floatingactionbutton.FloatingActionButton
60         android:id="@+id/create_bookmark_folder_fab"
61         android:layout_height="wrap_content"
62         android:layout_width="wrap_content"
63         android:layout_gravity="bottom|end"
64         android:layout_marginEnd="16dp"
65         android:layout_marginBottom="85dp" />
66
67     <com.google.android.material.floatingactionbutton.FloatingActionButton
68         android:id="@+id/create_bookmark_fab"
69         android:layout_height="wrap_content"
70         android:layout_width="wrap_content"
71         android:layout_gravity="bottom|end"
72         android:layout_margin="16dp" />
73 </FrameLayout>