mirror of
https://github.com/alesimula/Murine-launcher.git
synced 2026-10-28 09:43:42 +00:00
THEME - use the Launcher3's dialogCornerRadius instead of Android's
This commit is contained in:
1 parent
e8cfac52ce
commit
857d775d8e
2 files changed
+2
-3
No files matched your search
@@ -15,5 +15,5 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="dialogCornerRadius">?android:attr/dialogCornerRadius</dimen>
|
||||
<dimen name="dialogCornerRadius">@dimen/default_dialog_corner_radius</dimen>
|
||||
</resources>
|
||||
@@ -68,8 +68,7 @@ public class Themes {
|
||||
}
|
||||
|
||||
public static float getDialogCornerRadius(Context context) {
|
||||
return getDimension(context, android.R.attr.dialogCornerRadius,
|
||||
context.getResources().getDimension(R.dimen.default_dialog_corner_radius));
|
||||
return context.getResources().getDimension(R.dimen.dialogCornerRadius);
|
||||
}
|
||||
|
||||
public static float getDimension(Context context, int attr, float defaultValue) {
|
||||
|
||||
Reference in new issue
Block a user