diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java index 08b1078..4350307 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java @@ -197,11 +197,7 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig } else { difficultyBar.setRating(GameDifficulty.getValidDifficultyList().indexOf(lastChosenDifficulty) + 1); } - /*LayerDrawable stars = (LayerDrawable)difficultyBar.getProgressDrawable(); - stars.getDrawable(2).setColorFilter(getResources().getColor(R.color.colorPrimary), PorterDuff.Mode.SRC_ATOP);//Color for Stars fully selected - stars.getDrawable(1).setColorFilter(getResources().getColor(R.color.middleblue), PorterDuff.Mode.SRC_ATOP);//Color for Stars partially selected - stars.getDrawable(0).setColorFilter(getResources().getColor(R.color.lightblue), PorterDuff.Mode.SRC_ATOP);//color for stars not selected - */ + // on first create always check for loadable levels! SharedPreferences.Editor editor = settings.edit(); editor.putBoolean("savesChanged", true); diff --git a/app/src/main/res/drawable-v21/ratingbar.xml b/app/src/main/res/drawable-v21/ratingbar.xml index fe14f96..9429b0d 100644 --- a/app/src/main/res/drawable-v21/ratingbar.xml +++ b/app/src/main/res/drawable-v21/ratingbar.xml @@ -1,34 +1,14 @@ - - - - - + android:tint="@color/middlegrey" /> + android:tint="@color/colorAccent" /> diff --git a/app/src/main/res/drawable-xhdpi/ic_star_accent_48dp.png b/app/src/main/res/drawable-xhdpi/ic_star_accent_48dp.png deleted file mode 100644 index d8bbfa1..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_star_accent_48dp.png and /dev/null differ diff --git a/app/src/main/res/drawable/ic_circle_blue_36dp.xml b/app/src/main/res/drawable/ic_circle_blue_36dp.xml index 5cfcc8e..735ffcd 100644 --- a/app/src/main/res/drawable/ic_circle_blue_36dp.xml +++ b/app/src/main/res/drawable/ic_circle_blue_36dp.xml @@ -1,6 +1,6 @@ - - diff --git a/app/src/main/res/drawable/ic_star_blue_36dp.png b/app/src/main/res/drawable/ic_star_blue_36dp.png new file mode 100644 index 0000000..0386ef9 Binary files /dev/null and b/app/src/main/res/drawable/ic_star_blue_36dp.png differ diff --git a/app/src/main/res/drawable/ic_star_blue_36dp.xml b/app/src/main/res/drawable/ic_star_blue_36dp.xml deleted file mode 100644 index 7ae4899..0000000 --- a/app/src/main/res/drawable/ic_star_blue_36dp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_star_grey_36dp.png b/app/src/main/res/drawable/ic_star_grey_36dp.png new file mode 100644 index 0000000..4e4e358 Binary files /dev/null and b/app/src/main/res/drawable/ic_star_grey_36dp.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_star_grey_48dp.png b/app/src/main/res/drawable/ic_star_grey_48dp.png similarity index 100% rename from app/src/main/res/drawable-xhdpi/ic_star_grey_48dp.png rename to app/src/main/res/drawable/ic_star_grey_48dp.png diff --git a/app/src/main/res/drawable/ic_star_half_black_48dp.xml b/app/src/main/res/drawable/ic_star_half_black_48dp.xml deleted file mode 100644 index 1a29044..0000000 --- a/app/src/main/res/drawable/ic_star_half_black_48dp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ratingbar.xml b/app/src/main/res/drawable/ratingbar.xml index a461706..35805cf 100644 --- a/app/src/main/res/drawable/ratingbar.xml +++ b/app/src/main/res/drawable/ratingbar.xml @@ -1,12 +1,11 @@ - - - + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout-land/activity_main_menu.xml b/app/src/main/res/layout-land/activity_main_menu.xml index 96f4df7..b82f328 100644 --- a/app/src/main/res/layout-land/activity_main_menu.xml +++ b/app/src/main/res/layout-land/activity_main_menu.xml @@ -29,7 +29,6 @@ - + app:layout_constraintTop_toTopOf="@+id/difficultyBar" + app:layout_constraintVertical_bias="0.5" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -