Updated previews for Album cover style
|
@ -10,9 +10,9 @@ enum class AlbumCoverStyle(@param:StringRes @field:StringRes
|
|||
@param:DrawableRes @field:DrawableRes
|
||||
val drawableResId: Int, val id: Int) {
|
||||
NORMAL(R.string.normal, R.drawable.album_cover_normal, 0),
|
||||
FLAT(R.string.flat, R.drawable.album_cover_square, 1),
|
||||
FLAT(R.string.flat, R.drawable.album_cover_flat, 1),
|
||||
CIRCLE(R.string.circular, R.drawable.album_cover_circle, 2),
|
||||
MATERIAL(R.string.material, R.drawable.album_cover_normal, 3),
|
||||
MATERIAL(R.string.material, R.drawable.album_cover_material, 3),
|
||||
CARD(R.string.card, R.drawable.album_cover_card, 4),
|
||||
FULL(R.string.full, R.drawable.album_cover_full, 5),
|
||||
FULL_CARD(R.string.full_card, R.drawable.album_cover_full_card, 6)
|
||||
|
|
|
@ -29,6 +29,7 @@ public class StatusBarMarginFrameLayout extends FrameLayout {
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
MarginLayoutParams lp = (MarginLayoutParams) getLayoutParams();
|
||||
lp.topMargin = insets.getSystemWindowInsetTop();
|
||||
lp.bottomMargin = insets.getSystemWindowInsetBottom();
|
||||
setLayoutParams(lp);
|
||||
}
|
||||
return super.onApplyWindowInsets(insets);
|
||||
|
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 90 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/album_cover_flat.webp
Normal file
After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 144 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/album_cover_material.webp
Normal file
After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.6 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_adaptive.webp
Normal file
After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 2.6 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_blur.webp
Normal file
After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 2.9 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_blur_card.webp
Normal file
After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 3.8 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_card.webp
Normal file
After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 2.3 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_color.webp
Normal file
After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 3.8 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_fit.webp
Normal file
After Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 2.4 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_flat.webp
Normal file
After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 3.2 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_full.webp
Normal file
After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 2.4 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_material.webp
Normal file
After Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 2.5 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_normal.webp
Normal file
After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 2.4 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_plain.webp
Normal file
After Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 2.4 MiB |
BIN
app/src/main/res/drawable-xxxhdpi/np_simple.webp
Normal file
After Width: | Height: | Size: 107 KiB |
|
@ -20,9 +20,8 @@
|
|||
|
||||
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
||||
android:id="@+id/sectionTitle"
|
||||
android:text="@string/for_you"
|
||||
style="@style/SubTitleTextAppearance"
|
||||
android:textStyle="bold" />
|
||||
android:text="@string/for_you" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
||||
android:id="@+id/sectionTitle"
|
||||
style="@style/SubTitleTextAppearance"
|
||||
android:text="@string/for_you"
|
||||
/>
|
||||
android:text="@string/for_you" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<include layout="@layout/shadow_statusbar_toolbar" />
|
||||
|
||||
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
|
||||
<code.name.monkey.retromusic.views.StatusBarMarginFrameLayout
|
||||
android:id="@+id/safeArea"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
@ -29,13 +29,6 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<include layout="@layout/status_bar" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/playerAlbumCoverContainer"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -76,5 +69,5 @@
|
|||
app:navigationIcon="@drawable/ic_close_white_24dp" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
|
||||
</code.name.monkey.retromusic.views.StatusBarMarginFrameLayout>
|
||||
</FrameLayout>
|