ui: rework custom ui components
Refactor the package structure and implementation of custom UI components.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user