Update Settings to use DeviceDefault colored button
Uses new Widget.DeviceDefault.Button.Colored style. Also updates some of the styles to use DeviceDefault instead of Material styles for a bunch of button styles. Bug: 64122537 Bug: 69314526 Test: ag/3228846 Change-Id: I478dfdb5ea67ae1882cfee66050ed44fcda3d80d
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@android:id/summary"
|
||||
android:text="@string/storage_menu_free"
|
||||
style="@android:style/@Widget.Material.Button.Colored" />
|
||||
style="@style/ActionPrimaryButton" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.android.settings.widget.DonutView
|
||||
|
@@ -61,7 +61,7 @@
|
||||
|
||||
<Button
|
||||
android:id="@android:id/primary"
|
||||
style="@style/SuwGlifButton.Primary"
|
||||
style="@style/ActionPrimaryButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
|
@@ -337,10 +337,10 @@
|
||||
|
||||
<style name="TextAppearance.SupportSummary" parent="TextAppearance.CategoryTitle"/>
|
||||
|
||||
<style name="SupportPrimaryButton" parent="android:Widget.Material.Button.Colored"/>
|
||||
<style name="SupportPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored"/>
|
||||
|
||||
<style name="SupportSecondaryButton"
|
||||
parent="android:Widget.Material.Button.Borderless.Colored">
|
||||
parent="android:Widget.DeviceDefault.Button.Borderless.Colored">
|
||||
<item name="android:textSize">12sp</item>
|
||||
</style>
|
||||
|
||||
@@ -424,11 +424,11 @@
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="ActionPrimaryButton" parent="android:Widget.Material.Button.Colored"/>
|
||||
<style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored"/>
|
||||
|
||||
<style name="ActionSecondaryButton" parent="android:Widget.Material.Button"/>
|
||||
<style name="ActionSecondaryButton" parent="android:Widget.DeviceDefault.Button"/>
|
||||
|
||||
<style name="DreamStartButton" parent="android:Widget.Material.Button" />
|
||||
<style name="DreamStartButton" parent="android:Widget.DeviceDefault.Button" />
|
||||
|
||||
<style name="LockPatternContainerStyle">
|
||||
<item name="android:maxHeight">400dp</item>
|
||||
|
Reference in New Issue
Block a user