ui: rework custom ui components

Refactor the package structure and implementation of custom UI
components.
This commit is contained in:
OxygenCobalt
2022-05-21 14:52:08 -06:00
parent 61839405ce
commit 2d7dbd19cd
65 changed files with 342 additions and 324 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
<attr name="cornerRadius" format="dimension" />
</declare-styleable>
<declare-styleable name="PlaybackButton">
<declare-styleable name="StyledImageButton">
<attr name="iconSize" format="dimension" />
<attr name="hasIndicator" format="boolean" />
</declare-styleable>
+2 -1
View File
@@ -21,7 +21,8 @@
<dimen name="size_corners_small">8dp</dimen>
<dimen name="size_corners_large">16dp</dimen>
<dimen name="size_playback_icon">32dp</dimen>
<dimen name="size_icon_normal">24dp</dimen>
<dimen name="size_icon_large">32dp</dimen>
<dimen name="text_size_ext_label_larger">16sp</dimen>
<dimen name="text_size_ext_title_mid_large">18sp</dimen>
+1 -1
View File
@@ -174,7 +174,7 @@
-->
<item name="fabSize">normal</item>
<item name="fabCustomSize">@dimen/size_btn_large</item>
<item name="maxImageSize">@dimen/size_playback_icon</item>
<item name="maxImageSize">@dimen/size_icon_large</item>
<item name="android:elevation">0dp</item>
<item name="elevation">0dp</item>
</style>