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

Commit b370170f authored by Anna Zappone's avatar Anna Zappone
Browse files

Set theme and support dark mode in People widgets

Change-Id: Ib0e60b2aa613a515a5371694fae933e122c1666d
Bug: 184022942
Test: locally
parent 6fb83178
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@
  ~ limitations under the License.
  ~ limitations under the License.
  -->
  -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.DeviceDefault.DayNight"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    android:orientation="vertical">
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@
  ~ limitations under the License.
  ~ limitations under the License.
  -->
  -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.DeviceDefault.DayNight"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    android:layout_height="match_parent">


+2 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@
 ~ limitations under the License.
 ~ limitations under the License.
 -->
 -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.DeviceDefault.DayNight"
    android:id="@+id/item"
    android:id="@+id/item"
    android:background="@drawable/people_space_tile_view_card"
    android:background="@drawable/people_space_tile_view_card"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
@@ -90,6 +91,7 @@


        <ImageView
        <ImageView
            android:id="@+id/predefined_icon"
            android:id="@+id/predefined_icon"
            android:tint="?android:attr/colorAccent"
            android:gravity="start|center_vertical"
            android:gravity="start|center_vertical"
            android:paddingEnd="6dp"
            android:paddingEnd="6dp"
            android:layout_width="24dp"
            android:layout_width="24dp"
+1 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,7 @@
  ~ limitations under the License.
  ~ limitations under the License.
  -->
  -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.DeviceDefault.DayNight"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    android:orientation="vertical">
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@
 -->
 -->
<LinearLayout
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.DeviceDefault.DayNight"
    android:layout_gravity="center"
    android:layout_gravity="center"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_height="match_parent"
@@ -129,6 +130,7 @@
                />
                />
            <ImageView
            <ImageView
                android:id="@+id/predefined_icon"
                android:id="@+id/predefined_icon"
                android:tint="?android:attr/colorAccent"
                android:gravity="end|center_vertical"
                android:gravity="end|center_vertical"
                android:paddingStart="6dp"
                android:paddingStart="6dp"
                android:layout_width="24dp"
                android:layout_width="24dp"
Loading