Change ripple in battery pages
1. Add ripple for battery header 2. Remove ripple for battery usage graph Bug: 35959227 Bug: 35957849 Test: Manual Change-Id: I7b9965304d0c79b59bdac92719e303931206b672
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingTop="24dp"
|
android:paddingTop="24dp"
|
||||||
android:paddingBottom="24dp"
|
android:paddingBottom="24dp"
|
||||||
|
android:background="@drawable/selectable_card_grey"
|
||||||
style="@style/EntityHeader">
|
style="@style/EntityHeader">
|
||||||
|
|
||||||
<com.android.settings.fuelgauge.BatteryMeterView
|
<com.android.settings.fuelgauge.BatteryMeterView
|
||||||
|
@@ -57,7 +57,6 @@ public class BatteryHistoryPreference extends Preference {
|
|||||||
if (mBatteryInfo == null) {
|
if (mBatteryInfo == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
view.itemView.setClickable(true);
|
|
||||||
view.setDividerAllowedAbove(true);
|
view.setDividerAllowedAbove(true);
|
||||||
((TextView) view.findViewById(R.id.charge)).setText(mBatteryInfo.batteryPercentString);
|
((TextView) view.findViewById(R.id.charge)).setText(mBatteryInfo.batteryPercentString);
|
||||||
((TextView) view.findViewById(R.id.estimation)).setText(
|
((TextView) view.findViewById(R.id.estimation)).setText(
|
||||||
|
Reference in New Issue
Block a user