diff --git a/app/src/main/java/com/zeevox/octo/core/Ocquarium.java b/app/src/main/java/com/zeevox/octo/core/Ocquarium.java index 7a31ef3..3cb1666 100644 --- a/app/src/main/java/com/zeevox/octo/core/Ocquarium.java +++ b/app/src/main/java/com/zeevox/octo/core/Ocquarium.java @@ -55,7 +55,7 @@ public static void start( final float dp = resources.getDisplayMetrics().density; // Set the background to be the gradient with user defined colors - // See bgGradient(ContextWrapper, Resources) for more info about this + // See bgGradient(ContextWrapper, Resources) for more information about this window.setBackgroundDrawable(bgGradient(context, resources)); // Hide the navigation bar if set by the user @@ -89,8 +89,8 @@ public static void start( /* START Settings button */ if (showSettingsButton) { - ImageButton mImageButton = new ImageButton(context); - mImageButton = + new ImageButton(context); + ImageButton mImageButton = (ImageButton) LayoutInflater.from(context).inflate(R.layout.ocquarium_settings_button, bg, false); // Set a transparent icon if user set in preferences @@ -155,7 +155,7 @@ public static GradientDrawable bgGradient(ContextWrapper context, Resources reso SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); // Recreate octo_bg.xml programmatically GradientDrawable backgroundGradient = new GradientDrawable(); - // Set the background colors / fetch them from the preferences menu + // Set the background colors / fetch them from the user's preferences backgroundGradient.setColors( new int[] { preferences.getInt( diff --git a/app/src/main/java/com/zeevox/octo/core/OctopusDrawable.java b/app/src/main/java/com/zeevox/octo/core/OctopusDrawable.java index 26c6753..35adbfa 100644 --- a/app/src/main/java/com/zeevox/octo/core/OctopusDrawable.java +++ b/app/src/main/java/com/zeevox/octo/core/OctopusDrawable.java @@ -317,7 +317,7 @@ public int getOpacity() { return PixelFormat.TRANSLUCENT; } - private class Link // he come to town + private class Link // he comes to town implements DynamicAnimation.OnAnimationUpdateListener { final FloatValueHolder[] coords = new FloatValueHolder[2]; diff --git a/app/src/main/java/com/zeevox/octo/settings/SettingsActivityV2.java b/app/src/main/java/com/zeevox/octo/settings/SettingsActivityV2.java index 78d565f..c6217bf 100644 --- a/app/src/main/java/com/zeevox/octo/settings/SettingsActivityV2.java +++ b/app/src/main/java/com/zeevox/octo/settings/SettingsActivityV2.java @@ -65,7 +65,7 @@ /** * A {@link PreferenceActivity} that presents a set of application settings. On handset devices, * settings are presented as a single list. On tablets, settings are split by category, with - * category headers shown to the left of the list of settings. + * category headers shown in a panel on the left. * *

See Android Design: * Settings for design guidelines and the - + Test alpha builds Send an email There are no email clients installed. - Hello there, I\'d like to… + To the Ocquarium developers,\n\n Ocquarium question Write a review View source code @@ -122,7 +122,7 @@ Restarting live wallpaper… Allow moving the octopus by touch during screensaver mode Enable touch - Your device doesn\'t support setting a screensaver, sorry. + Unfortunately, our device does not support setting a screensaver. Click me to set Ocquarium as your live wallpaper. Set live wallpaper Click me to set Ocquarium as your device\'s screensaver. @@ -131,7 +131,7 @@ Show system navbar Display the Android Oreo logo before the octopus. Show platform logo - Apply gradient called %s?\n\nIf you would like to try a different gradient, press cancel and select \"Random gradient\" again. + Apply gradient called %s?\n\nIf you would like to try a different gradient, press \"cancel\" and select \"Random gradient\" again. Random gradient Random gradient Pick a random set of colors from uigradients.com