diff --git a/res/drawable/selectable_card_grey.xml b/res/drawable/selectable_card_grey.xml
deleted file mode 100644
index e74ae8d7eeb..00000000000
--- a/res/drawable/selectable_card_grey.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/res/layout/battery_header.xml b/res/layout/battery_header.xml
index db90e2e0fc8..df45d15fd6d 100644
--- a/res/layout/battery_header.xml
+++ b/res/layout/battery_header.xml
@@ -24,7 +24,6 @@
android:orientation="horizontal"
android:paddingTop="24dp"
android:paddingBottom="24dp"
- android:background="@drawable/selectable_card_grey"
style="@style/EntityHeader">
@@ -31,7 +30,7 @@
android:id="@+id/usage_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textColor="?android:attr/colorAccent"
+ android:textColor="?android:attr/textColorPrimary"
android:text="@string/data_usage_title" />
+ android:background="?android:attr/listDivider" />
+ android:background="?android:attr/listDivider" />
+ android:background="?android:attr/listDivider" />
+ android:background="?android:attr/listDivider" />
@@ -229,7 +229,7 @@
+ android:background="?android:attr/listDivider" />
@@ -253,7 +253,7 @@
+ android:background="?android:attr/listDivider" />
@@ -290,7 +290,7 @@
+ android:background="?android:attr/listDivider" />
diff --git a/src/com/android/settings/widget/EntityHeaderController.java b/src/com/android/settings/widget/EntityHeaderController.java
index 6f46f1d155f..3e724fa44b2 100644
--- a/src/com/android/settings/widget/EntityHeaderController.java
+++ b/src/com/android/settings/widget/EntityHeaderController.java
@@ -31,9 +31,11 @@ import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.UserHandle;
+
import androidx.annotation.IntDef;
import androidx.annotation.VisibleForTesting;
import androidx.recyclerview.widget.RecyclerView;
+
import android.text.TextUtils;
import android.util.IconDrawableFactory;
import android.util.Log;
diff --git a/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResources.java b/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResources.java
index 167abc47112..0350f9a4304 100644
--- a/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResources.java
+++ b/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResources.java
@@ -1,7 +1,6 @@
package com.android.settings.testutils.shadow;
import static android.util.TypedValue.TYPE_REFERENCE;
-
import static org.robolectric.RuntimeEnvironment.application;
import static org.robolectric.Shadows.shadowOf;
import static org.robolectric.shadow.api.Shadow.directlyOn;
@@ -122,8 +121,6 @@ public class SettingsShadowResources extends ShadowResources {
id = R.drawable.ic_settings_wireless;
} else if (id == R.drawable.app_filter_spinner_background) {
id = R.drawable.ic_expand_more_inverse;
- } else if (id == R.drawable.selectable_card_grey) {
- id = R.drawable.ic_expand_more_inverse;
}
return super.loadDrawable(value, id, theme);
}
diff --git a/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResourcesImpl.java b/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResourcesImpl.java
index 3fb8e2decb5..e9c7b5855d2 100644
--- a/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResourcesImpl.java
+++ b/tests/robotests/src/com/android/settings/testutils/shadow/SettingsShadowResourcesImpl.java
@@ -50,8 +50,6 @@ public class SettingsShadowResourcesImpl extends ShadowResourcesImpl {
id = R.drawable.ic_settings_wireless;
} else if (id == R.drawable.app_filter_spinner_background) {
id = R.drawable.ic_expand_more_inverse;
- } else if (id == R.drawable.selectable_card_grey) {
- id = R.drawable.ic_expand_more_inverse;
} else if (id == R.drawable.color_bar_progress
|| id == R.drawable.ring_progress) {
// color_bar_progress and ring_progress use hidden resources, so just use the regular