Merge "Update Settings to use DeviceDefault colored button"

This commit is contained in:
TreeHugger Robot
2017-11-28 21:23:49 +00:00
committed by Android (Google) Code Review
3 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -338,10 +338,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>
@@ -425,11 +425,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>