From 210feb7aece056714799d140b4880b0d9f4f7420 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Mon, 30 Jul 2018 00:38:12 +0530 Subject: [PATCH] Added material template --- .../ui/fragments/NowPlayingScreen.java | 45 +++++++++---------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/app/src/main/java/code/name/monkey/retromusic/ui/fragments/NowPlayingScreen.java b/app/src/main/java/code/name/monkey/retromusic/ui/fragments/NowPlayingScreen.java index 77483265..233437f2 100644 --- a/app/src/main/java/code/name/monkey/retromusic/ui/fragments/NowPlayingScreen.java +++ b/app/src/main/java/code/name/monkey/retromusic/ui/fragments/NowPlayingScreen.java @@ -2,33 +2,32 @@ package code.name.monkey.retromusic.ui.fragments; import android.support.annotation.DrawableRes; import android.support.annotation.StringRes; - import code.name.monkey.retromusic.R; public enum NowPlayingScreen { - NORMAL(R.string.normal, R.drawable.np_normal, 0), - FLAT(R.string.flat, R.drawable.np_flat, 1), - FULL(R.string.full, R.drawable.np_full, 2), - PLAIN(R.string.plain, R.drawable.np_plain, 3), - BLUR(R.string.blur, R.drawable.np_blur, 4), - COLOR(R.string.color, R.drawable.np_color, 5), - CARD(R.string.card, R.drawable.np_card, 6), - TINY(R.string.tiny, R.drawable.np_tiny, 7), - SIMPLE(R.string.simple, R.drawable.np_simple, 8), - BLUR_CARD(R.string.blur_card, R.drawable.np_blur_card, 9), - ADAPTIVE(R.string.adaptive, R.drawable.np_adaptive, 10), - MATERIAL(R.string.material, R.drawable.np_normal, 11); + NORMAL(R.string.normal, R.drawable.np_normal, 0), + FLAT(R.string.flat, R.drawable.np_flat, 1), + FULL(R.string.full, R.drawable.np_full, 2), + PLAIN(R.string.plain, R.drawable.np_plain, 3), + BLUR(R.string.blur, R.drawable.np_blur, 4), + COLOR(R.string.color, R.drawable.np_color, 5), + CARD(R.string.card, R.drawable.np_card, 6), + TINY(R.string.tiny, R.drawable.np_tiny, 7), + SIMPLE(R.string.simple, R.drawable.np_simple, 8), + BLUR_CARD(R.string.blur_card, R.drawable.np_blur_card, 9), + ADAPTIVE(R.string.adaptive, R.drawable.np_adaptive, 10), + MATERIAL(R.string.material, R.drawable.np_material, 11); - @StringRes - public final int titleRes; - @DrawableRes - public final int drawableResId; - public final int id; + @StringRes + public final int titleRes; + @DrawableRes + public final int drawableResId; + public final int id; - NowPlayingScreen(@StringRes int titleRes, @DrawableRes int drawableResId, int id) { - this.titleRes = titleRes; - this.drawableResId = drawableResId; - this.id = id; - } + NowPlayingScreen(@StringRes int titleRes, @DrawableRes int drawableResId, int id) { + this.titleRes = titleRes; + this.drawableResId = drawableResId; + this.id = id; + } }