Use WRAP_CONTENT for battery saver button
Change-Id: Id1d417021eff56c3733f6711f121085ad67ae3da Fixes: 79256447 Test: Screenshot
This commit is contained in:
@@ -27,19 +27,15 @@
|
||||
<Button
|
||||
android:id="@+id/state_on_button"
|
||||
style="@style/ActionPrimaryButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingEnd="8dp" />
|
||||
android:layout_gravity="center" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/state_off_button"
|
||||
style="@style/ActionSecondaryButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingEnd="8dp" />
|
||||
android:layout_gravity="center" />
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user