Tweak UI of UsageProgressBarPreference
- Change paddingTop from 16dp to 0dp. - Change android:scaleY from 4 to 1 because Settings APP apply a new progressDrawable. Bug: 177617478 Test: manual visual Change-Id: I2e32918e2d4589921d6d36c37a128acb01c4286c
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
@@ -64,8 +63,8 @@
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleY="4"
|
||||
android:max="100"/>
|
||||
android:max="100"
|
||||
android:scaleY="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_summary"
|
||||
|
||||
Reference in New Issue
Block a user