Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfaa0f55 authored by Nicholas Chum's avatar Nicholas Chum Committed by Clark Scheff
Browse files

Themes: Allow Resolver List BG to be fully themed

We are able to trace the activity of the new resolver/chooser through
different
methods, thus leading us to the Java file:
\com\android\internal\app\ChooserActivity.java
Here we see that the exposed "chooser_service_row_background_color" is
available, but not the rest of the activity, so we look into R.layout's,
and we
find chooser_grid to be the only one containing hardcoded
"@color/white" values (as this is framework, we assume this is also
known as
"@android:color/white" to themers).

Expose all "@color/white" values from this file to resolver_list_bg.

Change-Id: I286d92b5d1f672c8adb3c0af1951793521536d90
parent 2252bed2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
            android:layout_alwaysShow="true"
            android:elevation="8dp"
            android:paddingStart="16dp"
            android:background="@color/white" >
            android:background="@color/resolver_list_bg" >
        <ImageView android:id="@+id/title_icon"
                   android:layout_width="24dp"
                   android:layout_height="24dp"
@@ -89,7 +89,7 @@
            android:id="@+id/resolver_list"
            android:clipToPadding="false"
            android:scrollbarStyle="outsideOverlay"
            android:background="@color/white"
            android:background="@color/resolver_list_bg"
            android:elevation="8dp"
            android:listSelector="@color/transparent"
            android:divider="@null"
@@ -100,7 +100,7 @@
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_alwaysShow="true"
              android:background="@color/white"
              android:background="@color/resolver_list_bg"
              android:text="@string/noApplications"
              android:padding="32dp"
              android:gravity="center"