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
-
+