]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/about_tab_version.xml
Fix a crach when editing a bookmark in the bookmarks drawer. https://redmine.stoutne...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / about_tab_version.xml
index b64e764068345417a73be42846f0322331d6778c..1fb35abf97e985086a6acda7b885518212d605e4 100644 (file)
@@ -23,7 +23,8 @@
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_height="wrap_content"
-    android:layout_width="match_parent" >
+    android:layout_width="match_parent"
+    android:background="?attr/aboutBackground" >
 
     <LinearLayout
         android:layout_height="wrap_content"
@@ -36,8 +37,8 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content" >
 
-            <!--`tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the `ImageView`,
-              which isn't needed in this case because the `ImageView` is only decorative. -->
+            <!-- `tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the `ImageView`,
+                 which isn't needed in this case because the `ImageView` is only decorative. -->
             <ImageView
                 android:id="@+id/about_version_icon"
                 android:layout_height="wrap_content"
                 android:text="@string/privacy_browser"
                 android:textStyle="bold"
                 android:textSize="22sp"
-                android:textColor="@color/blue_900"
+                android:textColor="?attr/aboutTitle"
                 android:layout_toEndOf="@id/about_version_icon" />
 
             <TextView
                 android:id="@+id/about_version_number"
                 android:layout_height="wrap_content"
                 android:layout_width="wrap_content"
-                android:textColor="@color/blue_700"
+                android:textColor="?attr/aboutText"
                 android:layout_below="@id/about_version_privacy_browser_textview"
                 android:layout_toEndOf="@id/about_version_icon" />
         </RelativeLayout>
 
         <!-- The purpose of this `LinearLayout` is to provide padding on the start of the `TextViews` to make them line up with `about_version_icon`.
-          Although we don't need it, we have to include `android:paddingEnd` to make lint happy. -->
+             Although we don't need it, we have to include `android:paddingEnd` to make lint happy. -->
         <LinearLayout
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
@@ -82,7 +83,7 @@
                 android:text="@string/hardware"
                 android:textStyle="bold"
                 android:textSize="18sp"
-                android:textColor="@color/blue_900" />
+                android:textColor="?attr/aboutTitle" />
 
             <TextView
                 android:id="@+id/about_version_brand"
                 android:text="@string/software"
                 android:textStyle="bold"
                 android:textSize="18sp"
-                android:textColor="@color/blue_900"
+                android:textColor="?attr/aboutTitle"
                 android:paddingTop="12dp" />
 
             <TextView
                 android:layout_width="wrap_content" />
 
             <TextView
-                android:id="@+id/about_version_build"
+                android:id="@+id/about_version_securitypatch"
                 android:layout_height="wrap_content"
                 android:layout_width="wrap_content" />
 
             <TextView
-                android:id="@+id/about_version_securitypatch"
+                android:id="@+id/about_version_build"
                 android:layout_height="wrap_content"
                 android:layout_width="wrap_content" />
 
                 android:text="@string/package_signature"
                 android:textStyle="bold"
                 android:textSize="18sp"
-                android:textColor="@color/blue_900"
+                android:textColor="?attr/aboutTitle"
                 android:paddingTop="12dp" />
 
             <TextView