diff --git a/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java b/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java index 6a4aafb..5e6833b 100644 --- a/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java +++ b/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java @@ -90,7 +90,7 @@ public class MainActivity extends SimpleActivity implements MyCanvas.PathsChange mMyCanvas.clearCanvas(); return true; case R.id.change_background: - int oldColor = ((ColorDrawable)mMyCanvas.getBackground()).getColor(); + int oldColor = ((ColorDrawable) mMyCanvas.getBackground()).getColor(); AmbilWarnaDialog dialog = new AmbilWarnaDialog(this, oldColor, new AmbilWarnaDialog.OnAmbilWarnaListener() { @Override @@ -100,9 +100,9 @@ public class MainActivity extends SimpleActivity implements MyCanvas.PathsChange @Override public void onOk(AmbilWarnaDialog dialog, int pickedColor) { if (Utils.shouldUseWhite(pickedColor)) { - ((ImageView)mUndoBtn).setImageResource(R.mipmap.undo_white); + ((ImageView) mUndoBtn).setImageResource(R.mipmap.undo_white); } else { - ((ImageView)mUndoBtn).setImageResource(R.mipmap.undo_black); + ((ImageView) mUndoBtn).setImageResource(R.mipmap.undo_black); } mMyCanvas.setBackgroundColor(pickedColor); } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 070d45c..2e137ab 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -17,6 +17,7 @@ Einstellungen Dunkles Design Leeren + Change background Über diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index bc1edd1..e739b75 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -17,6 +17,7 @@ Impostazioni Tema scuro Clear + Change background Informazioni diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 198a6df..4db33f5 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -17,6 +17,7 @@ 設定 ダークテーマ クリア + Change background アプリについて diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 215eed8..914a4ab 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -17,6 +17,7 @@ Definições Tema escuro Limpar + Change background Acerca diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 4abe2fb..ee2e161 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -17,6 +17,7 @@ Inställningar Mörkt tema Clear + Change background Om