From 5641898ccc58ebfb969ffcfcee76c00702051831 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 10 Apr 2024 11:41:33 -0700 Subject: [PATCH] Remove all the custom attr entries. https://redmine.stoutner.com/issues/1189 --- .../activities/ViewHeadersActivity.kt | 2 +- ...ist_selector_day.xml => list_selector.xml} | 6 +- .../main/res/drawable/list_selector_night.xml | 26 -- .../bookmarks_drawer_bottom_appbar.xml | 10 +- .../bookmarks_drawer_top_appbar.xml | 10 +- .../bookmarks_activity_item_linearlayout.xml | 8 +- .../res/layout/bookmarks_bottom_appbar.xml | 10 +- ...okmarks_databaseview_item_linearlayout.xml | 6 +- .../layout/bookmarks_drawer_bottom_appbar.xml | 10 +- .../layout/bookmarks_drawer_top_appbar.xml | 10 +- .../main/res/layout/bookmarks_top_appbar.xml | 10 +- .../res/layout/domain_name_linearlayout.xml | 8 +- .../main/res/layout/domains_bottom_appbar.xml | 8 +- .../main/res/layout/domains_top_appbar.xml | 8 +- .../layout/main_framelayout_bottom_appbar.xml | 2 +- .../layout/main_framelayout_top_appbar.xml | 2 +- .../move_to_folder_item_linearlayout.xml | 6 +- .../res/layout/view_headers_bottom_appbar.xml | 300 ++++++++--------- .../res/layout/view_headers_top_appbar.xml | 301 +++++++++--------- .../webview_framelayout_bottom_appbar.xml | 6 +- .../layout/webview_framelayout_top_appbar.xml | 6 +- app/src/main/res/values-night-v27/styles.xml | 8 - app/src/main/res/values-night/colors.xml | 6 +- app/src/main/res/values-night/styles.xml | 8 - app/src/main/res/values-v27/styles.xml | 8 - app/src/main/res/values/attrs.xml | 33 -- app/src/main/res/values/colors.xml | 6 +- app/src/main/res/values/styles.xml | 8 - 28 files changed, 372 insertions(+), 460 deletions(-) rename app/src/main/res/drawable/{list_selector_day.xml => list_selector.xml} (85%) delete mode 100644 app/src/main/res/drawable/list_selector_night.xml delete mode 100644 app/src/main/res/values/attrs.xml diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewHeadersActivity.kt b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewHeadersActivity.kt index b18365a5..8a0cc653 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewHeadersActivity.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewHeadersActivity.kt @@ -1,7 +1,7 @@ /* * Copyright 2017-2024 Soren Stoutner . * - * This file is part of Privacy Browser Android . + * This file is part of Privacy Browser Android . * * Privacy Browser Android is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/app/src/main/res/drawable/list_selector_day.xml b/app/src/main/res/drawable/list_selector.xml similarity index 85% rename from app/src/main/res/drawable/list_selector_day.xml rename to app/src/main/res/drawable/list_selector.xml index 16547855..20629ba4 100644 --- a/app/src/main/res/drawable/list_selector_day.xml +++ b/app/src/main/res/drawable/list_selector.xml @@ -1,9 +1,9 @@ - - - - - diff --git a/app/src/main/res/layout-w900dp/bookmarks_drawer_bottom_appbar.xml b/app/src/main/res/layout-w900dp/bookmarks_drawer_bottom_appbar.xml index fd756a30..952eab6e 100644 --- a/app/src/main/res/layout-w900dp/bookmarks_drawer_bottom_appbar.xml +++ b/app/src/main/res/layout-w900dp/bookmarks_drawer_bottom_appbar.xml @@ -1,9 +1,9 @@ diff --git a/app/src/main/res/layout/main_framelayout_top_appbar.xml b/app/src/main/res/layout/main_framelayout_top_appbar.xml index 3b43be9d..ea289cd7 100644 --- a/app/src/main/res/layout/main_framelayout_top_appbar.xml +++ b/app/src/main/res/layout/main_framelayout_top_appbar.xml @@ -190,7 +190,7 @@ android:layout_width="wrap_content" android:layout_gravity="start" app:menu="@menu/webview_navigation_menu_top_appbar" - app:itemIconTint="?attr/navigationIconTintColor" /> + app:itemIconTint="@color/blue_icon" /> diff --git a/app/src/main/res/layout/move_to_folder_item_linearlayout.xml b/app/src/main/res/layout/move_to_folder_item_linearlayout.xml index 144b0ac2..76f041c6 100644 --- a/app/src/main/res/layout/move_to_folder_item_linearlayout.xml +++ b/app/src/main/res/layout/move_to_folder_item_linearlayout.xml @@ -1,9 +1,9 @@ diff --git a/app/src/main/res/layout/view_headers_bottom_appbar.xml b/app/src/main/res/layout/view_headers_bottom_appbar.xml index eddf4477..0219c09a 100644 --- a/app/src/main/res/layout/view_headers_bottom_appbar.xml +++ b/app/src/main/res/layout/view_headers_bottom_appbar.xml @@ -1,9 +1,9 @@ - + + android:layout_weight="1" > - + - - - - - - + android:layout_width="match_parent" > - - + android:orientation="vertical" + android:layout_margin="10dp" > - + + android:text="@string/ssl_information" + android:textAlignment="center" + android:textSize="18sp" + android:textColor="@color/blue_text" + android:textStyle="bold" /> + + - + - - + + + + + + + + + + - - - - - - + android:layout_width="match_parent" + android:text="@string/request_headers" + android:textAlignment="center" + android:textSize="18sp" + android:textColor="@color/blue_text" + android:textStyle="bold" /> + + - - - - + + + + - - - + + + - + - - - + + + - - - - + + + + + + + + - - - - - - - - + android:layout_width="match_parent" /> diff --git a/app/src/main/res/layout/view_headers_top_appbar.xml b/app/src/main/res/layout/view_headers_top_appbar.xml index 0358048c..588ff6b7 100644 --- a/app/src/main/res/layout/view_headers_top_appbar.xml +++ b/app/src/main/res/layout/view_headers_top_appbar.xml @@ -1,9 +1,9 @@ - - - - - - - + android:layout_width="match_parent" /> - + + - + - - + + + + + android:layout_width="match_parent" > - - - - + android:orientation="vertical" + android:layout_margin="10dp" > - - - - + + + + android:textIsSelectable="true" + android:layout_marginBottom="8dp" /> - + - - + + + + + + + + + + - - - - - - + android:layout_width="match_parent" + android:text="@string/request_headers" + android:textAlignment="center" + android:textSize="18sp" + android:textColor="@color/blue_text" + android:textStyle="bold" /> + + - - - - + + + + - - - + + + - + - - - + + + - - - - + + + + + diff --git a/app/src/main/res/layout/webview_framelayout_bottom_appbar.xml b/app/src/main/res/layout/webview_framelayout_bottom_appbar.xml index e9460c65..db8dfddd 100644 --- a/app/src/main/res/layout/webview_framelayout_bottom_appbar.xml +++ b/app/src/main/res/layout/webview_framelayout_bottom_appbar.xml @@ -1,9 +1,9 @@ - @color/gray_875 - @color/violet_500 - @color/violet_500 - - - @drawable/list_selector_night