mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
Updated icon padding for all buttons
This commit is contained in:
parent
0a239c2fef
commit
afc3fb10c7
@ -499,7 +499,6 @@
|
||||
android:text="@string/update"
|
||||
app:icon="@drawable/ic_update_md2"
|
||||
app:iconGravity="textEnd"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:iconSize="18dp"
|
||||
tools:visibility="gone" />
|
||||
|
||||
@ -514,7 +513,6 @@
|
||||
android:text="@string/install"
|
||||
app:icon="@drawable/ic_install"
|
||||
app:iconGravity="textEnd"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:iconSize="18dp" />
|
||||
|
||||
</FrameLayout>
|
||||
@ -722,7 +720,6 @@
|
||||
android:text="@string/update"
|
||||
app:icon="@drawable/ic_update_md2"
|
||||
app:iconGravity="textEnd"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:iconSize="18dp" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@ -735,7 +732,6 @@
|
||||
android:text="@string/install"
|
||||
app:icon="@drawable/ic_install"
|
||||
app:iconGravity="textEnd"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:iconSize="18dp"
|
||||
tools:visibility="gone" />
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
android:textAllCaps="false"
|
||||
android:textSize="12sp"
|
||||
app:cornerRadius="@dimen/r1"
|
||||
app:icon="@drawable/ic_module_storage_md2"
|
||||
app:iconPadding="@dimen/l_50" />
|
||||
app:icon="@drawable/ic_module_storage_md2" />
|
||||
|
||||
</layout>
|
||||
|
@ -106,7 +106,6 @@
|
||||
android:textAllCaps="false"
|
||||
app:icon="@{item.removed ? R.drawable.ic_restart : R.drawable.ic_delete_md2}"
|
||||
app:iconGravity="textEnd"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/module_divider"
|
||||
tools:icon="@drawable/ic_delete_md2"
|
||||
|
@ -135,7 +135,6 @@
|
||||
android:textColor="?colorError"
|
||||
android:textSize="12sp"
|
||||
app:icon="@drawable/ic_delete_md2"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:iconTint="?colorError"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -46,7 +46,6 @@
|
||||
tools:text="@tools:sample/lorem"
|
||||
android:textAllCaps="false"
|
||||
app:icon="@{item.icon}"
|
||||
app:iconPadding="@dimen/l_50"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/module_title"
|
||||
|
@ -56,7 +56,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
|
||||
<style name="WidgetFoundation.Button" parent="Widget.MaterialComponents.Button">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="iconGravity">textStart</item>
|
||||
<item name="iconPadding">@dimen/l1</item>
|
||||
<item name="iconPadding">@dimen/l_50</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Button.OnPrimary">
|
||||
@ -69,7 +69,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
|
||||
<style name="WidgetFoundation.Button.Outlined" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="iconGravity">textStart</item>
|
||||
<item name="iconPadding">@dimen/l1</item>
|
||||
<item name="iconPadding">@dimen/l_50</item>
|
||||
<item name="strokeColor">?colorPrimary</item>
|
||||
<item name="android:textColor">?colorPrimary</item>
|
||||
</style>
|
||||
@ -84,7 +84,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
|
||||
<style name="WidgetFoundation.Button.Flat" parent="Widget.MaterialComponents.Button.UnelevatedButton">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="iconGravity">textStart</item>
|
||||
<item name="iconPadding">@dimen/l1</item>
|
||||
<item name="iconPadding">@dimen/l_50</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Button.Flat.OnPrimary">
|
||||
@ -97,7 +97,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
|
||||
<style name="WidgetFoundation.Button.Text" parent="Widget.MaterialComponents.Button.TextButton">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="iconGravity">textStart</item>
|
||||
<item name="iconPadding">@dimen/l1</item>
|
||||
<item name="iconPadding">@dimen/l_50</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetFoundation.Button.Text.Secondary">
|
||||
|
Loading…
Reference in New Issue
Block a user