1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2017 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>>.
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.
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.
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/>. -->
21 <!-- `android:layout_width="400dp"` keeps the bookmarks drawer from filling the whole screen on a tablet. -->
23 xmlns:android="http://schemas.android.com/apk/res/android"
24 android:id="@+id/bookmarks_framelayout"
25 android:layout_height="match_parent"
26 android:layout_width="400dp"
27 android:layout_gravity="end" >
30 android:layout_height="match_parent"
31 android:layout_width="wrap_content"
32 android:orientation="vertical" >
35 android:id="@+id/bookmarks_title_textview"
36 android:layout_height="wrap_content"
37 android:layout_width="match_parent"
38 android:paddingTop="35dp"
39 android:paddingBottom="8dp"
40 android:paddingStart="15dp"
41 android:paddingEnd="35dp"
42 android:textStyle="bold"
43 android:textSize="20sp"
44 android:background="?attr/navigationHeaderBackground"
45 android:textColor="?attr/navigationHeaderTextColor" />
48 android:id="@+id/bookmarks_drawer_listview"
49 android:layout_height="0dp"
50 android:layout_width="match_parent"
51 android:layout_weight="1"
52 android:divider="@color/transparent"
53 android:dividerHeight="0dp" />
56 <android.support.design.widget.FloatingActionButton
57 android:id="@+id/launch_bookmarks_activity_fab"
58 android:layout_height="wrap_content"
59 android:layout_width="wrap_content"
60 android:layout_gravity="bottom|end"
61 android:layout_marginEnd="16dp"
62 android:layout_marginBottom="155dp" />
64 <android.support.design.widget.FloatingActionButton
65 android:id="@+id/create_bookmark_folder_fab"
66 android:layout_height="wrap_content"
67 android:layout_width="wrap_content"
68 android:layout_gravity="bottom|end"
69 android:layout_marginEnd="16dp"
70 android:layout_marginBottom="85dp" />
72 <android.support.design.widget.FloatingActionButton
73 android:id="@+id/create_bookmark_fab"
74 android:layout_height="wrap_content"
75 android:layout_width="wrap_content"
76 android:layout_gravity="bottom|end"
77 android:layout_margin="16dp" />