Merge "Add time unit into battery usage chart and refine some UI" into sc-v2-dev am: cb2ec5399c am: cdc43dfc73
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15530296 Change-Id: I6c7be98e5752bcdfffb00b94333ed052ac2f9f9e
This commit is contained in:
@@ -40,12 +40,14 @@
|
||||
android:contentDescription="@string/battery_usage_chart"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
settings:textColor="?android:attr/textColorSecondary" />
|
||||
<!-- Use non-scalable text size from text_size_small_material -->
|
||||
<TextView
|
||||
android:id="@+id/companion_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
<dimen name="chartview_text_padding">6dp</dimen>
|
||||
<dimen name="chartview_divider_width">1dp</dimen>
|
||||
<dimen name="chartview_divider_height">4dp</dimen>
|
||||
<dimen name="chartview_trapezoid_radius">3dp</dimen>
|
||||
<dimen name="chartview_trapezoid_radius">5dp</dimen>
|
||||
<dimen name="chartview_trapezoid_margin_start">1dp</dimen>
|
||||
<dimen name="chartview_trapezoid_margin_bottom">2dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -6659,10 +6659,6 @@
|
||||
<string name="battery_system_usage_for">System usage for <xliff:g id="slot">%s</xliff:g></string>
|
||||
<!-- [CHAR_LIMIT=NONE] Battery app usage section header -->
|
||||
<string name="battery_app_usage_for">App usage for <xliff:g id="slot">%s</xliff:g></string>
|
||||
<!-- [CHAR_LIMIT=NONE] Battery usage section header for a specific time slot -->
|
||||
<string name="battery_usage_time_am">am</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Battery usage section header for a specific time slot -->
|
||||
<string name="battery_usage_time_pm">pm</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Battery usage item for total usage time less than a minute -->
|
||||
<string name="battery_usage_total_less_than_one_minute">Total: less than a min</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Battery usage item for total background time less than a minute -->
|
||||
|
||||
Reference in New Issue
Block a user