diff options
| author | jacquarg <guillaume.jacquart@hoodbrains.com> | 2021-11-05 11:20:01 +0100 | 
|---|---|---|
| committer | jacquarg <guillaume.jacquart@hoodbrains.com> | 2021-11-05 11:20:01 +0100 | 
| commit | 2d210ca863561ac68445e588d1405d9847716347 (patch) | |
| tree | 2601b2a04c391d704c2473e629030b3c4c730636 /app/src/main/res/layout/apptrackers_fragment.xml | |
| parent | a484bf584f4163c8a0a1260e81d598fdec87ff3b (diff) | |
| download | advanced-privacy-2d210ca863561ac68445e588d1405d9847716347.tar.gz | |
Embed trackerfilter aar, ui fixes.
Diffstat (limited to 'app/src/main/res/layout/apptrackers_fragment.xml')
| -rw-r--r-- | app/src/main/res/layout/apptrackers_fragment.xml | 76 | 
1 files changed, 76 insertions, 0 deletions
| diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml new file mode 100644 index 0000000..1f3063d --- /dev/null +++ b/app/src/main/res/layout/apptrackers_fragment.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="utf-8"?><!-- +  ~ Copyright (C) 2021 E FOUNDATION +  ~ +  ~ This program is free software: you can redistribute it and/or modify +  ~ it under the terms of the GNU General Public License as published by +  ~ the Free Software Foundation, either version 3 of the License, or +  ~ (at your option) any later version. +  ~ +  ~ This program is distributed in the hope that it will be useful, +  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of +  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the +  ~ GNU General Public License for more details. +  ~ +  ~ You should have received a copy of the GNU General Public License +  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>. +  --> + +<layout xmlns:android="http://schemas.android.com/apk/res/android" +    xmlns:app="http://schemas.android.com/apk/res-auto" +    xmlns:tools="http://schemas.android.com/tools" +    > + +    <androidx.coordinatorlayout.widget.CoordinatorLayout + +        android:background="@color/white" +        android:layout_height="match_parent" +        android:layout_width="match_parent" +        > + +    <include layout="@layout/topbar" /> + +    <androidx.core.widget.NestedScrollView +        android:layout_height="match_parent" +        android:layout_width="match_parent" +        app:layout_behavior="@string/appbar_scrolling_view_behavior" +        > + +    <LinearLayout +        android:layout_height="match_parent" +        android:layout_width="match_parent" +        android:orientation="vertical" +        > +        <!--LinearLayout +            android:layout_width="match_parent" +            android:layout_height="wrap_content" +            android:orientation="horizontal" +            android:gravity="center_vertical"> +            <TextView +                android:layout_width="0dp" +                android:layout_height="wrap_content" +                android:layout_weight="1" +                android:text="@string/apptrackers_block_all_toggle" +                /> +            <androidx.appcompat.widget.SwitchCompat +                android:id="@+id/block_all_toggle" +                android:layout_width="wrap_content" +                android:layout_height="wrap_content"/> +        </LinearLayout--> +        <androidx.recyclerview.widget.RecyclerView +            android:id="@+id/trackers" +            android:layout_height="wrap_content" +            android:layout_width="match_parent" +            android:layout_marginBottom="32dp" +            tools:listitem="@layout/apptrackers_item_tracker_toggle" +            android:visibility="gone" +            /> +        <TextView +            android:id="@+id/no_trackers_yet" +            android:layout_width="match_parent" +            android:layout_height="match_parent" +            android:text="@string/apptrackers_no_trackers_yet" +            /> +    </LinearLayout> +    </androidx.core.widget.NestedScrollView> +    </androidx.coordinatorlayout.widget.CoordinatorLayout> +</layout>
\ No newline at end of file | 
