diff --git a/QKSMS/src/main/AndroidManifest.xml b/QKSMS/src/main/AndroidManifest.xml index 0aa4c12a..cc5654fb 100644 --- a/QKSMS/src/main/AndroidManifest.xml +++ b/QKSMS/src/main/AndroidManifest.xml @@ -137,7 +137,7 @@ @@ -149,7 +149,7 @@ @@ -161,7 +161,7 @@ @@ -173,7 +173,7 @@ @@ -185,7 +185,7 @@ @@ -197,7 +197,7 @@ @@ -209,7 +209,7 @@ @@ -221,7 +221,7 @@ @@ -233,7 +233,7 @@ @@ -245,7 +245,7 @@ @@ -257,7 +257,7 @@ @@ -269,7 +269,7 @@ @@ -281,7 +281,7 @@ @@ -293,7 +293,7 @@ @@ -305,7 +305,7 @@ @@ -317,7 +317,7 @@ @@ -329,7 +329,7 @@ @@ -341,7 +341,7 @@ @@ -353,7 +353,7 @@ diff --git a/QKSMS/src/main/java/com/moez/QKSMS/QKSMSAppBase.java b/QKSMS/src/main/java/com/moez/QKSMS/QKSMSAppBase.java index 6f602499..19a1a49b 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/QKSMSAppBase.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/QKSMSAppBase.java @@ -94,7 +94,6 @@ public class QKSMSAppBase extends MultiDexApplication { registerActivityLifecycleCallbacks(new LifecycleHandler()); ThemeManager.init(this); - ThemeManager.migrateIcon(this); // TODO a few versions after 2.7, we can phase this out along with the old alias MmsConfig.init(this); Contact.init(this); DraftCache.init(this); diff --git a/QKSMS/src/main/java/com/moez/QKSMS/enums/QKPreference.java b/QKSMS/src/main/java/com/moez/QKSMS/enums/QKPreference.java index 92987148..1d5803aa 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/enums/QKPreference.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/enums/QKPreference.java @@ -100,8 +100,7 @@ public enum QKPreference { // Storage COMPOSE_DRAFT("compose_draft", ""), - LAST_AUTO_DELETE_CHECK("last_auto_delete_check", 0), - MIGRATED_ICON("migrated_icon", false); + LAST_AUTO_DELETE_CHECK("last_auto_delete_check", 0); private String mKey; private Object mDefaultValue; diff --git a/QKSMS/src/main/java/com/moez/QKSMS/theme/IconAdapter.java b/QKSMS/src/main/java/com/moez/QKSMS/theme/IconAdapter.java new file mode 100644 index 00000000..19b0fdbd --- /dev/null +++ b/QKSMS/src/main/java/com/moez/QKSMS/theme/IconAdapter.java @@ -0,0 +1,50 @@ +package com.moez.QKSMS.theme; + +import android.content.Context; +import android.support.v7.internal.widget.AdapterViewCompat; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import com.moez.QKSMS.R; + +public class IconAdapter extends RecyclerView.Adapter { + + private Context mContext; + private AdapterViewCompat.OnItemClickListener mOnItemClickListener; + private int[] mIconIds = new int[]{ + R.mipmap.ic_launcher, R.mipmap.ic_launcher_dark, R.mipmap.ic_launcher_red, R.mipmap.ic_launcher_pink, + R.mipmap.ic_launcher_purple, R.mipmap.ic_launcher_deep_purple, R.mipmap.ic_launcher_indigo, + R.mipmap.ic_launcher_blue, R.mipmap.ic_launcher_light_blue, R.mipmap.ic_launcher_cyan, + R.mipmap.ic_launcher_teal, R.mipmap.ic_launcher_green, R.mipmap.ic_launcher_light_green, + R.mipmap.ic_launcher_lime, R.mipmap.ic_launcher_yellow, R.mipmap.ic_launcher_amber, + R.mipmap.ic_launcher_orange, R.mipmap.ic_launcher_deep_orange, R.mipmap.ic_launcher_brown, + R.mipmap.ic_launcher_grey, R.mipmap.ic_launcher_blue_grey + }; + + public IconAdapter(Context context, AdapterViewCompat.OnItemClickListener onItemClickListener) { + mContext = context; + mOnItemClickListener = onItemClickListener; + } + + @Override + public IconViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { + View view = LayoutInflater.from(mContext).inflate(R.layout.list_item_icon, parent, false); + return new IconViewHolder(this, view); + } + + @Override + public void onBindViewHolder(IconViewHolder holder, int position) { + holder.bind(position); + holder.itemView.setOnClickListener(v -> mOnItemClickListener.onItemClick(null, holder.itemView, position, 0)); + } + + public Integer getItem(int position) { + return mIconIds[position]; + } + + @Override + public int getItemCount() { + return mIconIds.length; + } +} diff --git a/QKSMS/src/main/java/com/moez/QKSMS/theme/IconViewHolder.java b/QKSMS/src/main/java/com/moez/QKSMS/theme/IconViewHolder.java new file mode 100644 index 00000000..a17d4762 --- /dev/null +++ b/QKSMS/src/main/java/com/moez/QKSMS/theme/IconViewHolder.java @@ -0,0 +1,27 @@ +package com.moez.QKSMS.theme; + +import android.support.v7.widget.RecyclerView; +import android.view.View; +import android.widget.ImageView; +import butterknife.Bind; +import butterknife.ButterKnife; +import com.moez.QKSMS.R; + +public class IconViewHolder extends RecyclerView.ViewHolder { + + @Bind(R.id.icon) protected ImageView mIcon; + + protected IconAdapter mIconAdapter; + + public IconViewHolder(IconAdapter iconAdapter, View view) { + super(view); + mIconAdapter = iconAdapter; + ButterKnife.bind(this, view); + } + + public void bind(int position) { + int iconRes = mIconAdapter.getItem(position); + mIcon.setImageResource(iconRes); + } + +} diff --git a/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java b/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java index 1ef3120d..b97eab08 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java @@ -20,6 +20,8 @@ import android.support.annotation.ColorInt; import android.support.annotation.DrawableRes; import android.support.v4.content.ContextCompat; import android.support.v4.view.ViewPager; +import android.support.v7.widget.GridLayoutManager; +import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; @@ -37,8 +39,10 @@ import com.moez.QKSMS.common.ConversationPrefsHelper; import com.moez.QKSMS.common.LiveViewManager; import com.moez.QKSMS.common.utils.ColorUtils; import com.moez.QKSMS.common.utils.KeyboardUtils; +import com.moez.QKSMS.common.utils.Units; import com.moez.QKSMS.enums.QKPreference; import com.moez.QKSMS.receiver.IconColorReceiver; +import com.moez.QKSMS.theme.IconAdapter; import com.moez.QKSMS.ui.base.QKActivity; import com.moez.QKSMS.ui.dialog.ColorPickerPagerAdapter; import com.moez.QKSMS.ui.dialog.QKDialog; @@ -326,20 +330,34 @@ public class ThemeManager { LiveViewManager.refreshViews(QKPreference.BACKGROUND); } - public static void setIcon(final QKActivity context, boolean dark) { - new QKDialog() - .setContext(context) - .setTitle(R.string.update_icon_title) - .setMessage(R.string.update_icon_message) - .setButtonBarOrientation(LinearLayout.VERTICAL) - .setPositiveButton(R.string.okay, v -> { - PackageManager packageManager = context.getPackageManager(); + public static void setIcon(final QKActivity context) { - String defaultComponent = "com.moez.QKSMS.ui.MainActivity-Default"; - String darkComponent = "com.moez.QKSMS.ui.MainActivity-Dark"; + String[] colors = { + "Default", "Dark", "Red", "Pink", "Purple", "DeepPurple", + "Indigo", "Blue", "LightBlue", "Cyan", "Teal", "Green", + "LightGreen", "Lime", "Yellow", "Amber", "Orange", "DeepOrange", + "Brown", "Grey", "BlueGrey" + }; + RecyclerView recyclerView = new RecyclerView(context); + recyclerView.setLayoutParams(new LinearLayout.LayoutParams(-1, Units.dpToPx(context, 200))); + recyclerView.setLayoutManager(new GridLayoutManager(context, 4)); + recyclerView.setAdapter(new IconAdapter(context, (parent, view, position, id) -> { + PackageManager packageManager = context.getPackageManager(); + + // Disable all of the color aliases, except for the alias with the current + // color. + String enabledComponent = null; + for (int i = 0; i < colors.length; i++) { + String componentClassName = String.format("com.moez.QKSMS.ui.MainActivity-%s", colors[i]); + + // Save the enabled component so we can kill the app with this one when + // it's all done. + if (i == position) { + enabledComponent = componentClassName; + } else { packageManager.setComponentEnabledSetting( - new ComponentName(context, dark ? defaultComponent : darkComponent), + new ComponentName(context, componentClassName), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, // Don't kill the app while we're in the loop! This will // prevent the other component enabled settings from @@ -347,53 +365,26 @@ public class ThemeManager { // won't show up to the user. PackageManager.DONT_KILL_APP ); + } + } - // Broadcast an intent to a receiver that will: - // 1) enable the last component; and - // 2) relaunch QKSMS with the new component name. - Intent intent = new Intent(IconColorReceiver.ACTION_ICON_COLOR_CHANGED); - intent.putExtra(IconColorReceiver.EXTRA_COMPONENT_NAME, dark ? darkComponent : defaultComponent); - context.sendBroadcast(intent); - }) - .setCancelOnTouchOutside(false) + // Broadcast an intent to a receiver that will: + // 1) enable the last component; and + // 2) relaunch QKSMS with the new component name. + Intent intent = new Intent(IconColorReceiver.ACTION_ICON_COLOR_CHANGED); + intent.putExtra(IconColorReceiver.EXTRA_COMPONENT_NAME, enabledComponent); + context.sendBroadcast(intent); + })); + + new QKDialog() + .setContext(context) + .setTitle(R.string.update_icon_title) + .setMessage(R.string.update_icon_message) + .setCustomView(recyclerView) + .setNegativeButton(R.string.cancel, null) .show(); } - public static void migrateIcon(Context context) { - PackageManager packageManager = context.getPackageManager(); - - // If we've already migrated to use the MainActivity-Default component, we don't need to do anything - if (mPrefs.getBoolean(QKPreference.MIGRATED_ICON.getKey(), (Boolean) QKPreference.MIGRATED_ICON.getDefaultValue())) { - return; - } - - mPrefs.edit().putBoolean(QKPreference.MIGRATED_ICON.getKey(), true).apply(); - - String[] colors = { - "Red", "Pink", "Purple", "DeepPurple", "Indigo", "Blue", - "LightBlue", "Cyan", "Teal", "Green", "LightGreen", "Lime", - "Yellow", "Amber", "Orange", "DeepOrange", "Brown", "Grey", - "BlueGrey" - }; - - // Disable all of the old components - for (String color : colors) { - String componentClassName = String.format("com.moez.QKSMS.ui.MainActivity-%s", color); - packageManager.setComponentEnabledSetting( - new ComponentName(context, componentClassName), - PackageManager.COMPONENT_ENABLED_STATE_DISABLED, - PackageManager.DONT_KILL_APP - ); - } - - // Enable the new component - ComponentName componentName = new ComponentName(context, "com.moez.QKSMS.ui.MainActivity-Default"); - packageManager.setComponentEnabledSetting(componentName, - PackageManager.COMPONENT_ENABLED_STATE_ENABLED, - PackageManager.DONT_KILL_APP - ); - } - @ColorInt public static int getBackgroundColor() { return mBackgroundColor; diff --git a/QKSMS/src/main/java/com/moez/QKSMS/ui/dialog/QKDialog.java b/QKSMS/src/main/java/com/moez/QKSMS/ui/dialog/QKDialog.java index 24c97785..0f35ff1f 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/ui/dialog/QKDialog.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/ui/dialog/QKDialog.java @@ -9,6 +9,7 @@ import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.annotation.StringRes; +import android.support.v7.widget.RecyclerView; import android.util.DisplayMetrics; import android.util.Log; import android.view.LayoutInflater; @@ -113,7 +114,7 @@ public class QKDialog extends DialogFragment { mCustomPanel = (LinearLayout) view.findViewById(R.id.customPanel); mCustomPanel.setVisibility(View.VISIBLE); - if (mCustomView instanceof ListView) { + if (mCustomView instanceof ListView || mCustomView instanceof RecyclerView) { mCustomPanel.addView(mCustomView); } else { ScrollView scrollView = new ScrollView(mContext); diff --git a/QKSMS/src/main/java/com/moez/QKSMS/ui/settings/SettingsFragment.java b/QKSMS/src/main/java/com/moez/QKSMS/ui/settings/SettingsFragment.java index 06238cfd..a8bb5434 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/ui/settings/SettingsFragment.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/ui/settings/SettingsFragment.java @@ -82,7 +82,7 @@ public class SettingsFragment extends PreferenceFragment implements Preference.O public static final String CATEGORY_APPEARANCE_SYSTEM_BARS = "pref_key_category_appearance_system_bars"; public static final String THEME = "pref_key_theme"; - public static final String ICON = "pref_key_icon_dark"; + public static final String ICON = "pref_key_icon"; public static final String STATUS_TINT = "pref_key_status_tint"; public static final String NAVIGATION_TINT = "pref_key_navigation_tint"; public static final String BACKGROUND = "pref_key_background"; @@ -425,9 +425,6 @@ public class SettingsFragment extends PreferenceFragment implements Preference.O case BACKGROUND: ThemeManager.setTheme(ThemeManager.Theme.fromString((String) newValue)); break; - case ICON: - ThemeManager.setIcon(mContext, (Boolean) newValue); - break; case STATUS_TINT: ThemeManager.setStatusBarTintEnabled(mContext, (Boolean) newValue); break; @@ -579,6 +576,9 @@ public class SettingsFragment extends PreferenceFragment implements Preference.O case THEME: ThemeManager.showColorPickerDialog(mContext); break; + case ICON: + ThemeManager.setIcon(mContext); + break; case BUBBLES: new BubblePreferenceDialog().setContext(mContext).show(); break; diff --git a/QKSMS/src/main/res/layout/list_item_icon.xml b/QKSMS/src/main/res/layout/list_item_icon.xml new file mode 100644 index 00000000..b42eb810 --- /dev/null +++ b/QKSMS/src/main/res/layout/list_item_icon.xml @@ -0,0 +1,17 @@ + + + + + + \ No newline at end of file diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher.png index b220561c..958987bb 100644 Binary files a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_amber.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_amber.png new file mode 100644 index 00000000..9c53ec41 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_amber.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue.png new file mode 100644 index 00000000..0c94bc72 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue_grey.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue_grey.png new file mode 100644 index 00000000..c56420a3 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_blue_grey.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_brown.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_brown.png new file mode 100644 index 00000000..8002e011 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_brown.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_cyan.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_cyan.png new file mode 100644 index 00000000..896d441a Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_cyan.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_dark.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_dark.png index 6f481929..311bf650 100644 Binary files a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_dark.png and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_dark.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_orange.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_orange.png new file mode 100644 index 00000000..62329762 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_orange.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_purple.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_purple.png new file mode 100644 index 00000000..0a9e2e65 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_deep_purple.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_green.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_green.png new file mode 100644 index 00000000..3a04b24b Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_green.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_grey.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_grey.png new file mode 100644 index 00000000..83eeb972 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_grey.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_indigo.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_indigo.png new file mode 100644 index 00000000..836204e6 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_indigo.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_blue.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_blue.png new file mode 100644 index 00000000..48e45e59 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_blue.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_green.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_green.png new file mode 100644 index 00000000..043bcf84 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_light_green.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_lime.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_lime.png new file mode 100644 index 00000000..cd70c4ae Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_lime.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_orange.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_orange.png new file mode 100644 index 00000000..d1566e18 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_orange.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_pink.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_pink.png new file mode 100644 index 00000000..78e0ef19 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_pink.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_purple.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_purple.png new file mode 100644 index 00000000..e2fe4576 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_purple.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_red.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_red.png new file mode 100644 index 00000000..4d7a25eb Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_red.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_teal.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_teal.png new file mode 100644 index 00000000..bdc3c608 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_teal.png differ diff --git a/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_yellow.png b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_yellow.png new file mode 100644 index 00000000..2bf1fab9 Binary files /dev/null and b/QKSMS/src/main/res/mipmap-xxxhdpi/ic_launcher_yellow.png differ diff --git a/QKSMS/src/main/res/values-bn/strings.xml b/QKSMS/src/main/res/values-bn/strings.xml index 8753a82d..0d61d123 100644 --- a/QKSMS/src/main/res/values-bn/strings.xml +++ b/QKSMS/src/main/res/values-bn/strings.xml @@ -119,8 +119,8 @@ সংস্করণ, পরিবর্তনসূচী, লেখক, ধন্যবাদ থিমের রঙ থিম পরিবর্তন করতে হালকা টোকা দিন - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper রঞ্জিত স্থিতি দণ্ড রঞ্জিত নেভিগেশন বার প্রেক্ষাপট রঙ diff --git a/QKSMS/src/main/res/values-cs/strings.xml b/QKSMS/src/main/res/values-cs/strings.xml index 605ee708..cfc6bd83 100644 --- a/QKSMS/src/main/res/values-cs/strings.xml +++ b/QKSMS/src/main/res/values-cs/strings.xml @@ -119,8 +119,8 @@ Verze, seznam změn, autoři, poděkování Barva motivu Nastavení hlavní barvy - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Transparentní stavový panel Transparentní navigační panel Barva pozadí diff --git a/QKSMS/src/main/res/values-da/strings.xml b/QKSMS/src/main/res/values-da/strings.xml index c64bd923..d43f3201 100644 --- a/QKSMS/src/main/res/values-da/strings.xml +++ b/QKSMS/src/main/res/values-da/strings.xml @@ -119,8 +119,8 @@ Version, ændringslog, forfattere, tak Temafarve Tryk for at ændre tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Tonet statusbjælke Tonet navigationslinje Baggrundsfarve diff --git a/QKSMS/src/main/res/values-de/strings.xml b/QKSMS/src/main/res/values-de/strings.xml index 49f13506..cbe7685d 100644 --- a/QKSMS/src/main/res/values-de/strings.xml +++ b/QKSMS/src/main/res/values-de/strings.xml @@ -119,8 +119,8 @@ Version, letzte Änderungen, Autoren, Danke Farbschema Tippen um das Schema zu wechseln - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Getönte Statusleiste Getönte Navigationsleiste Hintergrundfarbe diff --git a/QKSMS/src/main/res/values-es/strings.xml b/QKSMS/src/main/res/values-es/strings.xml index b6aa7656..9f101d03 100644 --- a/QKSMS/src/main/res/values-es/strings.xml +++ b/QKSMS/src/main/res/values-es/strings.xml @@ -119,8 +119,8 @@ Versión, registro de cambios, autores, gracias Color del tema Toque para cambiar el tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Barra de estado coloreada Barra de navegación coloreada Color de fondo diff --git a/QKSMS/src/main/res/values-fa/strings.xml b/QKSMS/src/main/res/values-fa/strings.xml index 438e2c74..807e99a2 100644 --- a/QKSMS/src/main/res/values-fa/strings.xml +++ b/QKSMS/src/main/res/values-fa/strings.xml @@ -119,8 +119,8 @@ نسخه، تغییرات، نویسندگان، تشکرها Theme color برای تغییر تم لمس کنید - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper نوار وضعیت رنگی نوار راهبری رنگی رنگ پس زمینه diff --git a/QKSMS/src/main/res/values-fi/strings.xml b/QKSMS/src/main/res/values-fi/strings.xml index f4e73f17..902d9ac1 100644 --- a/QKSMS/src/main/res/values-fi/strings.xml +++ b/QKSMS/src/main/res/values-fi/strings.xml @@ -119,8 +119,8 @@ Versio, muutosloki, tekijät, kiitokset Theme color Napauta teeman vaihtamiseksi - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Sävytetty tilapalkki Sävytetty navigointipalkki Taustaväri diff --git a/QKSMS/src/main/res/values-fr/strings.xml b/QKSMS/src/main/res/values-fr/strings.xml index c8f2b813..309db2d5 100644 --- a/QKSMS/src/main/res/values-fr/strings.xml +++ b/QKSMS/src/main/res/values-fr/strings.xml @@ -119,8 +119,8 @@ Version, modifications, auteurs, remerciements Couleur du thème Appuyer pour changer le thème - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Barre d\'état colorée Barre de navigation colorée Couleur d\'arrière-plan diff --git a/QKSMS/src/main/res/values-hi/strings.xml b/QKSMS/src/main/res/values-hi/strings.xml index 96a97cbe..e1bfa819 100644 --- a/QKSMS/src/main/res/values-hi/strings.xml +++ b/QKSMS/src/main/res/values-hi/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper टिंटेड स्टेटस बार टिंटेड नेवीगेशन बार Background color diff --git a/QKSMS/src/main/res/values-hu/strings.xml b/QKSMS/src/main/res/values-hu/strings.xml index ec597d6d..7e32e71e 100644 --- a/QKSMS/src/main/res/values-hu/strings.xml +++ b/QKSMS/src/main/res/values-hu/strings.xml @@ -119,8 +119,8 @@ Verzió, változási napló, szerzők, köszönetnyilvánítás Színséma Érintse meg a téma módosításához - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Színezett állapotsor Színezett navigációs sáv Háttérszín diff --git a/QKSMS/src/main/res/values-in/strings.xml b/QKSMS/src/main/res/values-in/strings.xml index 6242853f..29f879d9 100644 --- a/QKSMS/src/main/res/values-in/strings.xml +++ b/QKSMS/src/main/res/values-in/strings.xml @@ -119,8 +119,8 @@ Versi, catatan perubahan, pengembang, kontributor Warna tema Ketuk untuk mengubah tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Bilah status berwarna Bilah navigasi berwarna Warna latar belakang diff --git a/QKSMS/src/main/res/values-it/strings.xml b/QKSMS/src/main/res/values-it/strings.xml index b2accab6..54af0440 100644 --- a/QKSMS/src/main/res/values-it/strings.xml +++ b/QKSMS/src/main/res/values-it/strings.xml @@ -119,8 +119,8 @@ Versione, changelog, autori, ringraziamenti Colore del tema Tocca per cambiare tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Barra di stato colorata Barra di navigazione colorata Colore di sfondo diff --git a/QKSMS/src/main/res/values-iw/strings.xml b/QKSMS/src/main/res/values-iw/strings.xml index 8b31439f..44ecb641 100644 --- a/QKSMS/src/main/res/values-iw/strings.xml +++ b/QKSMS/src/main/res/values-iw/strings.xml @@ -123,8 +123,8 @@ גירסה, רשימת שינויים, מחברים, תודות Theme color לחץ כדי לשנות ערכת צבעים - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper צביעה של שורת המצב צביעה של סרגל הניווט בצבעי האפליקציה צבע הרקע diff --git a/QKSMS/src/main/res/values-ja/strings.xml b/QKSMS/src/main/res/values-ja/strings.xml index b8bbadbc..7e2e5226 100644 --- a/QKSMS/src/main/res/values-ja/strings.xml +++ b/QKSMS/src/main/res/values-ja/strings.xml @@ -119,8 +119,8 @@ バージョン、変更履歴、作者、謝辞 テーマ色 タップするとテーマを変更します - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper 彩色のステータス バー 彩色のナビゲーション バー 背景色 diff --git a/QKSMS/src/main/res/values-ko/strings.xml b/QKSMS/src/main/res/values-ko/strings.xml index 51f474d7..ccca77fb 100644 --- a/QKSMS/src/main/res/values-ko/strings.xml +++ b/QKSMS/src/main/res/values-ko/strings.xml @@ -119,8 +119,8 @@ 버전, 변경이력, 제작자, 감사의 말 테마 색상 테마를 변경하려면 탭하기 - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper 상단바 색상표시(투명화) 소프트키 색상표시(투명화) 배경 색상 diff --git a/QKSMS/src/main/res/values-lt/strings.xml b/QKSMS/src/main/res/values-lt/strings.xml index 7a4ccdd2..4c710d3d 100644 --- a/QKSMS/src/main/res/values-lt/strings.xml +++ b/QKSMS/src/main/res/values-lt/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Pranešimų juostos spalvos efektas Navigacijos juostos spalvos efektas Background color diff --git a/QKSMS/src/main/res/values-ne/strings.xml b/QKSMS/src/main/res/values-ne/strings.xml index ca4e9ffe..4a3ed6c1 100644 --- a/QKSMS/src/main/res/values-ne/strings.xml +++ b/QKSMS/src/main/res/values-ne/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper तिन्तेद स्त्याटस बार तिन्तेद न्याभिगेसन बार Background color diff --git a/QKSMS/src/main/res/values-nl/strings.xml b/QKSMS/src/main/res/values-nl/strings.xml index a0312230..8ebf5dff 100644 --- a/QKSMS/src/main/res/values-nl/strings.xml +++ b/QKSMS/src/main/res/values-nl/strings.xml @@ -119,8 +119,8 @@ Versie, changelog, auteurs, bedankingen Themakleur Klik om thema te veranderen - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Gekleurde statusbalk Gekleurde navigatiebalk Achtergrondkleur diff --git a/QKSMS/src/main/res/values-no/strings.xml b/QKSMS/src/main/res/values-no/strings.xml index 562fc7d7..f5c07161 100644 --- a/QKSMS/src/main/res/values-no/strings.xml +++ b/QKSMS/src/main/res/values-no/strings.xml @@ -119,8 +119,8 @@ Versjon, endringslogg, forfattere, takk Theme color Trykk for å endre tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Gjennomsiktig status linje Gjennomsiktig navigasjons linje Bakgrunnsfarge diff --git a/QKSMS/src/main/res/values-pl/strings.xml b/QKSMS/src/main/res/values-pl/strings.xml index 03b0758d..9d6d4d1f 100644 --- a/QKSMS/src/main/res/values-pl/strings.xml +++ b/QKSMS/src/main/res/values-pl/strings.xml @@ -119,8 +119,8 @@ Wersja, lista zmian, autorzy, podziękowania Kolor motywu Dotknij, aby zmienić motyw - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Kolorowy pasek powiadomień Kolorowy pasek nawigacyjny Kolor tła diff --git a/QKSMS/src/main/res/values-pt-rBR/strings.xml b/QKSMS/src/main/res/values-pt-rBR/strings.xml index 54b704d7..8ed7fa6d 100644 --- a/QKSMS/src/main/res/values-pt-rBR/strings.xml +++ b/QKSMS/src/main/res/values-pt-rBR/strings.xml @@ -119,8 +119,8 @@ Versão, changelog, autores, obrigado Cor do tema Toque para mudar o tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Barra de status matizada Barra de navegação matizada Cor do fundo diff --git a/QKSMS/src/main/res/values-pt/strings.xml b/QKSMS/src/main/res/values-pt/strings.xml index 12ac0d77..a7513ce6 100644 --- a/QKSMS/src/main/res/values-pt/strings.xml +++ b/QKSMS/src/main/res/values-pt/strings.xml @@ -119,8 +119,8 @@ Versão, alterações, autores e agradecimentos Cor do tema Toque para mudar de tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Barra de estado colorida Barra de navegação colorida Cor de fundo diff --git a/QKSMS/src/main/res/values-ro/strings.xml b/QKSMS/src/main/res/values-ro/strings.xml index 22f60921..3a71ce92 100644 --- a/QKSMS/src/main/res/values-ro/strings.xml +++ b/QKSMS/src/main/res/values-ro/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Nuanțați bara de stare Nuanțați bara de navigare Background color diff --git a/QKSMS/src/main/res/values-ru/strings.xml b/QKSMS/src/main/res/values-ru/strings.xml index 73b83667..213e18ec 100644 --- a/QKSMS/src/main/res/values-ru/strings.xml +++ b/QKSMS/src/main/res/values-ru/strings.xml @@ -119,8 +119,8 @@ Версия, список изменений, авторы, благодарности Цвет темы Нажмите, чтобы изменить тему - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Прозрачная строка состояния Прозрачная панель навигации Цвет фона diff --git a/QKSMS/src/main/res/values-sk/strings.xml b/QKSMS/src/main/res/values-sk/strings.xml index 88b0a04a..5abcec82 100644 --- a/QKSMS/src/main/res/values-sk/strings.xml +++ b/QKSMS/src/main/res/values-sk/strings.xml @@ -119,8 +119,8 @@ Verzia, zoznam zmien, autori, poďakovanie Farba motívu Dotykom zmeniť motív - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Farebný stavový riadok Farebný navigačný panel Farba pozadia diff --git a/QKSMS/src/main/res/values-sr/strings.xml b/QKSMS/src/main/res/values-sr/strings.xml index a4c536ad..a2612622 100644 --- a/QKSMS/src/main/res/values-sr/strings.xml +++ b/QKSMS/src/main/res/values-sr/strings.xml @@ -119,8 +119,8 @@ Верзија, измене, аутори, захвале Боја теме Додирните да бисте променили тему - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Обојена статусна трака Обојена навигациона трака Боја позадине diff --git a/QKSMS/src/main/res/values-sv/strings.xml b/QKSMS/src/main/res/values-sv/strings.xml index 9576d535..78061ab7 100644 --- a/QKSMS/src/main/res/values-sv/strings.xml +++ b/QKSMS/src/main/res/values-sv/strings.xml @@ -119,8 +119,8 @@ Version, ändringslogg, upphovsmän, tack Theme color Tryck för att ändra tema - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Tonat statusfält Tonat navigeringsfält Bakgrundsfärg diff --git a/QKSMS/src/main/res/values-tl/strings.xml b/QKSMS/src/main/res/values-tl/strings.xml index 77af5264..955a5e2f 100644 --- a/QKSMS/src/main/res/values-tl/strings.xml +++ b/QKSMS/src/main/res/values-tl/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Kulayan ang status bar Kulayan ang navigation bar Background color diff --git a/QKSMS/src/main/res/values-tr/strings.xml b/QKSMS/src/main/res/values-tr/strings.xml index 7b80b7f5..8eccffc4 100644 --- a/QKSMS/src/main/res/values-tr/strings.xml +++ b/QKSMS/src/main/res/values-tr/strings.xml @@ -119,8 +119,8 @@ Sürüm, değişenler, yazarlar, teşekkürler Tema rengi Temayı değiştirmek için dokunun - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Renkli bildirim çubuğu Renkli sistem çubuğu Arkaplan rengi diff --git a/QKSMS/src/main/res/values-vi/strings.xml b/QKSMS/src/main/res/values-vi/strings.xml index 55577e1b..c62790c2 100644 --- a/QKSMS/src/main/res/values-vi/strings.xml +++ b/QKSMS/src/main/res/values-vi/strings.xml @@ -119,8 +119,8 @@ Phiên bản, thay đổi, tác giả, cảm ơn Màu chủ đề Bấm để thay đổi chủ đề - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper Nhuộm thanh trạng thái Nhuộm thanh điều hướng Màu nền diff --git a/QKSMS/src/main/res/values-zh-rCN/strings.xml b/QKSMS/src/main/res/values-zh-rCN/strings.xml index e96eec46..b9ea5659 100644 --- a/QKSMS/src/main/res/values-zh-rCN/strings.xml +++ b/QKSMS/src/main/res/values-zh-rCN/strings.xml @@ -119,8 +119,8 @@ 版本,更新日志,作者,致谢 Theme color 点击以更改主题 - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper 彩色状态栏 彩色导航栏 背景色 diff --git a/QKSMS/src/main/res/values-zh/strings.xml b/QKSMS/src/main/res/values-zh/strings.xml index f9e7a9e9..ca54a39d 100644 --- a/QKSMS/src/main/res/values-zh/strings.xml +++ b/QKSMS/src/main/res/values-zh/strings.xml @@ -119,8 +119,8 @@ Version, changelog, authors, thanks Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Use dark icon + Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper 沉浸式狀態欄 沉浸式虛擬鍵 Background color diff --git a/QKSMS/src/main/res/values/strings.xml b/QKSMS/src/main/res/values/strings.xml index 38f7eb15..884cfc20 100644 --- a/QKSMS/src/main/res/values/strings.xml +++ b/QKSMS/src/main/res/values/strings.xml @@ -125,8 +125,8 @@ Theme color Tap to change theme - Use dark icon - Use the dark version of the QKSMS icon on your homescreen, to better match your wallpaper + Icon color + Tap to change the QKSMS icon color Tinted status bar Tinted navigation bar Background color diff --git a/QKSMS/src/main/res/xml/settings.xml b/QKSMS/src/main/res/xml/settings.xml index 1ab095da..4e0c11ac 100644 --- a/QKSMS/src/main/res/xml/settings.xml +++ b/QKSMS/src/main/res/xml/settings.xml @@ -3,8 +3,6 @@ - diff --git a/QKSMS/src/main/res/xml/settings_appearance.xml b/QKSMS/src/main/res/xml/settings_appearance.xml index 3d326e22..333edc8a 100644 --- a/QKSMS/src/main/res/xml/settings_appearance.xml +++ b/QKSMS/src/main/res/xml/settings_appearance.xml @@ -10,13 +10,12 @@ android:layout="@layout/list_item_preference" android:summary="@string/pref_theme_summary_alt" android:title="@string/pref_theme" /> - + android:summary="@string/pref_icon_summary" + android:title="@string/pref_icon" />