1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2017-2018,2020,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/>. -->
21 <com.stoutner.privacybrowser.views.CheckedLinearLayout
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="horizontal" >
28 <!-- Subfolder spacer. -->
30 android:id="@+id/subfolder_spacer_textview"
31 android:layout_height="wrap_content"
32 android:layout_width="wrap_content"
33 android:layout_marginStart="10dp" />
37 android:id="@+id/folder_icon_imageview"
38 android:layout_height="30dp"
39 android:layout_width="30dp"
40 android:layout_gravity="center_vertical"
41 tools:ignore="contentDescription" />
43 <!-- A `CheckedTextView` allows the color of the text to be changed when it is selected (checked). -->
45 android:id="@+id/folder_name_textview"
46 android:layout_height="wrap_content"
47 android:layout_width="match_parent"
49 android:ellipsize="end"
50 android:paddingStart="20dp"
51 android:paddingEnd="20dp"
52 android:paddingTop="8dp"
53 android:paddingBottom="8dp"
54 android:textSize="18sp"
55 android:textColor="@color/checked_text_selector" />
56 </com.stoutner.privacybrowser.views.CheckedLinearLayout>