Loading QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -292,21 +292,21 @@ public class ThemeManager { mBackgroundColor = mResources.getColor(R.color.grey_light_mega_ultra); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_light_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_light_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent; mRippleBackgroundRes = R.drawable.ripple; break; case DARK: mBackgroundColor = mResources.getColor(R.color.grey_material); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_dark_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_dark_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent_light; mRippleBackgroundRes = R.drawable.ripple_light; break; case BLACK: mBackgroundColor = mResources.getColor(R.color.black); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_dark_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_dark_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent_light; mRippleBackgroundRes = R.drawable.ripple_light; break; } Loading QKSMS/src/main/java/com/moez/QKSMS/ui/messagelist/MessageListAdapter.java +1 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ public class MessageListAdapter extends RecyclerCursorAdapter<MessageListViewHol LiveViewManager.registerView(QKPreference.BACKGROUND, this, key -> { holder.mRoot.setBackgroundDrawable(ThemeManager.getRippleBackground()); holder.mSlideShowButton.setBackgroundDrawable(ThemeManager.getRippleBackground()); holder.mMmsView.getForeground().setColorFilter(ThemeManager.getBackgroundColor(), PorterDuff.Mode.SRC_ATOP); }); Loading QKSMS/src/main/res/drawable-v21/button_background_transparent.xml→QKSMS/src/main/res/drawable-v21/ripple.xml +0 −0 File moved. View file QKSMS/src/main/res/drawable-v21/button_background_transparent_light.xml→QKSMS/src/main/res/drawable-v21/ripple_light.xml +0 −0 File moved. View file QKSMS/src/main/res/drawable/button_background_transparent.xml→QKSMS/src/main/res/drawable/ripple.xml +0 −0 File moved. View file Loading
QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -292,21 +292,21 @@ public class ThemeManager { mBackgroundColor = mResources.getColor(R.color.grey_light_mega_ultra); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_light_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_light_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent; mRippleBackgroundRes = R.drawable.ripple; break; case DARK: mBackgroundColor = mResources.getColor(R.color.grey_material); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_dark_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_dark_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent_light; mRippleBackgroundRes = R.drawable.ripple_light; break; case BLACK: mBackgroundColor = mResources.getColor(R.color.black); mTextOnBackgroundPrimary = mResources.getColor(R.color.theme_dark_text_primary); mtextOnBackgroundSecondary = mResources.getColor(R.color.theme_dark_text_secondary); mRippleBackgroundRes = R.drawable.button_background_transparent_light; mRippleBackgroundRes = R.drawable.ripple_light; break; } Loading
QKSMS/src/main/java/com/moez/QKSMS/ui/messagelist/MessageListAdapter.java +1 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ public class MessageListAdapter extends RecyclerCursorAdapter<MessageListViewHol LiveViewManager.registerView(QKPreference.BACKGROUND, this, key -> { holder.mRoot.setBackgroundDrawable(ThemeManager.getRippleBackground()); holder.mSlideShowButton.setBackgroundDrawable(ThemeManager.getRippleBackground()); holder.mMmsView.getForeground().setColorFilter(ThemeManager.getBackgroundColor(), PorterDuff.Mode.SRC_ATOP); }); Loading
QKSMS/src/main/res/drawable-v21/button_background_transparent.xml→QKSMS/src/main/res/drawable-v21/ripple.xml +0 −0 File moved. View file
QKSMS/src/main/res/drawable-v21/button_background_transparent_light.xml→QKSMS/src/main/res/drawable-v21/ripple_light.xml +0 −0 File moved. View file
QKSMS/src/main/res/drawable/button_background_transparent.xml→QKSMS/src/main/res/drawable/ripple.xml +0 −0 File moved. View file