1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2017,2019,2022-2023 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
8 Privacy Browser Android 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 Android 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 Android. If not, see <http://www.gnu.org/licenses/>. -->
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 xmlns:tools="http://schemas.android.com/tools"
24 android:layout_height="wrap_content"
25 android:layout_width="match_parent"
26 android:orientation="vertical"
27 android:background="?attr/listSelectorDrawable" >
31 android:layout_height="wrap_content"
32 android:layout_width="match_parent"
33 android:layout_marginTop="10dp"
34 android:layout_marginStart="10dp"
35 android:layout_marginEnd="10dp"
36 android:orientation="horizontal" >
40 android:id="@+id/database_id_textview"
41 android:layout_height="wrap_content"
42 android:layout_width="50dp"
43 android:layout_marginEnd="10dp"
45 android:textColor="@color/gray_500"
46 android:textSize="22sp" />
48 <!-- Favorite icon. -->
50 android:id="@+id/favorite_icon_imageview"
51 android:layout_width="30dp"
52 android:layout_height="30dp"
53 android:layout_gravity="center_vertical"
54 android:layout_marginEnd="10dp"
55 tools:ignore="ContentDescription" />
59 android:id="@+id/name_textview"
60 android:layout_height="wrap_content"
61 android:layout_width="wrap_content"
62 android:textColor="?android:attr/textColorPrimary"
63 android:textSize="22sp"
64 android:ellipsize="end"
69 android:id="@+id/folder_id_textview"
70 android:layout_height="wrap_content"
71 android:layout_width="wrap_content"
72 android:textColor="@color/gray_500"
73 android:textSize="22sp"
74 android:ellipsize="end"
78 <!-- Second row - URL. -->
80 android:id="@+id/url_textview"
81 android:layout_height="wrap_content"
82 android:layout_width="wrap_content"
83 android:layout_marginStart="13dp"
84 android:layout_marginEnd="10dp"
85 android:textColor="?android:attr/textColorPrimary"
86 android:textSize="22sp"
87 android:ellipsize="end"
92 android:layout_height="wrap_content"
93 android:layout_width="wrap_content"
94 android:layout_marginStart="10dp"
95 android:layout_marginEnd="10dp"
96 android:layout_marginBottom="10dp"
97 android:orientation="horizontal" >
99 <!-- Display order. -->
101 android:id="@+id/display_order_textview"
102 android:layout_height="wrap_content"
103 android:layout_width="50dp"
104 android:layout_marginEnd="10dp"
105 android:gravity="end"
106 android:textColor="?android:attr/textColorPrimary"
107 android:textSize="22sp" />
109 <!-- Parent folder icon. -->
111 android:id="@+id/parent_folder_icon_imageview"
112 android:layout_height="30dp"
113 android:layout_width="30dp"
114 android:layout_gravity="center_vertical"
115 android:layout_marginEnd="10dp"
116 android:src="@drawable/folder_gray"
117 tools:ignore="ContentDescription" />
119 <!-- Parent folder name. -->
121 android:id="@+id/parent_folder_textview"
122 android:layout_height="wrap_content"
123 android:layout_width="wrap_content"
124 android:textSize="22sp"
125 android:textStyle="italic"
126 android:ellipsize="end"