Redesigned widget (#225)
* Changed widget layout, added vibrant color support for button * Added preview image. Show also albums name after artists name * Updated also small widget with vibrant color support. Added preview images for small and big widgets * Fixed wrong height * Revert classic widget padding, update preview image * Replaced dash with dot, changed background color, show the album name also on big widget. * Updated preview images, switched to jpg * Fixed dot instead of dash for small widget * Changed ripple color for white background * Dark ripple for big widget * Standardize layout * Fix image resizing * Improve image resizing * Fix for songs without album art * Set centerCrop for albums art * Card layout for small widget * Updated preview images * Fix incorrectly rounded corner
This commit is contained in:
parent
58069084d9
commit
0377e43475
19 changed files with 132 additions and 101 deletions
BIN
app/src/main/res/drawable/app_widget_big.jpg
Normal file
BIN
app/src/main/res/drawable/app_widget_big.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 162 KiB |
BIN
app/src/main/res/drawable/app_widget_card.jpg
Normal file
BIN
app/src/main/res/drawable/app_widget_card.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
app/src/main/res/drawable/app_widget_classic.jpg
Normal file
BIN
app/src/main/res/drawable/app_widget_classic.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
app/src/main/res/drawable/app_widget_small.jpg
Normal file
BIN
app/src/main/res/drawable/app_widget_small.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
|
|
@ -4,10 +4,10 @@
|
|||
<item>
|
||||
<shape>
|
||||
<padding
|
||||
android:top="8dp"
|
||||
android:right="8dp"
|
||||
android:bottom="5dp"
|
||||
android:left="8dp"/>
|
||||
android:top="0dp"
|
||||
android:right="0dp"
|
||||
android:bottom="0dp"
|
||||
android:left="0dp"/>
|
||||
<solid android:color="@android:color/transparent"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue