From a0d5b66934cd4b31432b9770c7e2fca3d729779a Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Sat, 20 Feb 2016 20:58:46 +0100 Subject: [PATCH] Fixed the dificulty stars on the main page for devices with an API level < 21. --- .../ui/MainActivity.java | 5 ----- .../main/res/drawable/ic_star_blue_48dp.png | Bin 1218 -> 1925 bytes .../main/res/drawable/ic_star_grey_48dp.png | Bin 1164 -> 1922 bytes app/src/main/res/drawable/ratingbar.xml | 9 ++------- .../main/res/layout/activity_main_menu.xml | 1 - app/src/main/res/values-v21/styles.xml | 8 ++++++++ app/src/main/res/values-xlarge/styles.xml | 1 + app/src/main/res/values/styles.xml | 5 +++-- 8 files changed, 14 insertions(+), 15 deletions(-) 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 a65c2b9..5e4764c 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java @@ -75,11 +75,6 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On editor.apply(); } - // TODO: remove this after testing - WelcomeDialog welcomeDialog = new WelcomeDialog(); - welcomeDialog.show(getFragmentManager(), "WelcomeDialog"); - - // check if we need to pre generate levels. newLevelManager.checkAndRestock(); diff --git a/app/src/main/res/drawable/ic_star_blue_48dp.png b/app/src/main/res/drawable/ic_star_blue_48dp.png index 872e2b324da895f3302533044b03b431b7703e66..cd0bd039afa62c4e899885a7fa47604d63cf38cf 100644 GIT binary patch literal 1925 zcmaJ?c~BE)9Nic$tq4c~iA8oIDpW}}At4YGAjyIRNC=lwyc&|#L`-(cE)ehl97PHh zQM46pYZ6fDp^l0uP^59RcpJ}YsTG1+5oNTB2cly)3fezPcV_oH=Dqj3XTMO$=eUof zjROF{T^bLkl54!I^|L%6;Y}Sb5A1z z0HA`}^h_dCmc&<~I)>7LVHkB7$p!#Hv=L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Pc&#D5q$80Q@%2;k&HSd$aDKo&v|ZGwmQD)l`>|Cyn!! zbHFTX^r@^mXmtTN0F!}LnRJklN&ts|TZ?@45OAk8+Gfo`OG|(Qa69m57DKF@1l*IU z5ED|h0sG51WdxXOjXsbS2X$BQkL=2XgM?I5fMY;QnSZCAab5mkqdVx?3g7@tp$2s# zk+OTL4VA8j4KX3rB;X0)^B89S-&>ln-k&})r;z0?z$%DQ@g-_BfX`$3n~n(7SB5b%sO`h&#B zK|-qgfvXqBVN!sC`R?RDVwb?^4=pdiibm#@7%l2hb3(0hpHu=gNF; zt8>#v;9{-vP}~kGH3w`5dWw}o-MUq;km^(5J>cQA^H46v{L=!QqHwY7DDbj1`pXLM z@f7e5(IVz}y67gZ=Y0#Y#RcG80^R`HDuv@5wZ#oY-*VR+OA~+&A9K)nv2Tcelz+0; z8vS3jH?c+!TBBbD76Lydorjte%s%~{vGA)juFT~}bg$~Y6qE&@`Y0fXK(Pw~{gj62` z?>h(02ln`qgYE!UTB9FG8%`dmJtx3@z;nQCf`WpAf`WpAf`XFLWv>)KXd2Yqj{pDw M07*qoM6N<$f>*RN@Bjb+ diff --git a/app/src/main/res/drawable/ic_star_grey_48dp.png b/app/src/main/res/drawable/ic_star_grey_48dp.png index 991abe138bfc50b5b1d21f57b61af418899a8a9c..91ea2da8035533f482761c8e677db57f34bfbad0 100644 GIT binary patch literal 1922 zcmaJ?X;c$u6ip_ITLiQZx_o@@*am692MCrT zpnWuzpily01cd-Doe`j61Tug?CY{OV@OZqL0E@w7fD9JMWCbvJd^U^EU;zCO4UdLu zlld_cS$`~iC7|gr%*Y2pv)N2Hv*`%B1Y`yW2Rk%atNjlDHx2OWMNbPG2sUWTGU36NoP1x8UQL3{|_}7KA}xm4D{LW ze+rx8tVRfoflNpms=*7FJjD^p$QPrK8bi=H1W6q@MWqhG5R(ou0^(RMFi#I_5wqz7 zTA|>}VH2i?HIQ5)py7PFUa#e|19@yQlP8q~F}O^olq=!{iKJ2vM=Ill1+kf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RIqY-x-s}A4|9xw%Z>P^fFr;Jcj`EBucRBnL6H{q zfdg ztAk!H0SDj~U_~w+WM+-PA>f_?K6(h4Ea~68IcPx{Z~*QHp2=f~Rg!=^a}{D{)&lIS z;F4Zos-%N?aZpDU|H$@SILORK04IRv3NP((UH-*-cYn~bD&PQ&AcHzlW6JIsY^b!? zZHSrKa9}?0RSYx#Et0Ny4an7SMgwC9IL5fY%`vzAB5Y{mMhk%UQE(apbhw`4&iJE+DgGGtDBe91I%;bRxkS0Ij1MqUd+t8fHgG?rWfdv z^mbz1yqUcOY#>_0swG_omPxY2$3bTHDDWLHvPR&X0TxR7EzN=A6yQfUR`OYYxqS0y zs&g?(2Y{KtPLJX20A^JSXV8;Xx53~^;9C#jY<~ovl5{%L*}SC7!1KWS9>IARcp;7n zZLD)CGg}3$2Zm$><_6F%=@W0u9cK0{@Fj3-%5W|KOC)XeqTDe6q#3S<88aZpP}v;47UHmMc>Wf5M9Jv#u(0MKA^!4-FSlZRpjWM<>3 zzJRtFnC6bnRo-KYnT?L~J2iP=@gu-1k~Z}@x4_Jv1J+UAHod|&eD7 - - - + android:src="@drawable/ic_star_grey_36dp" /> + android:src="@drawable/ic_star_blue_36dp" /> diff --git a/app/src/main/res/layout/activity_main_menu.xml b/app/src/main/res/layout/activity_main_menu.xml index 175c70f..c6dcc78 100644 --- a/app/src/main/res/layout/activity_main_menu.xml +++ b/app/src/main/res/layout/activity_main_menu.xml @@ -102,7 +102,6 @@ true @android:color/transparent + + + + diff --git a/app/src/main/res/values-xlarge/styles.xml b/app/src/main/res/values-xlarge/styles.xml index 30addb2..4d340b6 100644 --- a/app/src/main/res/values-xlarge/styles.xml +++ b/app/src/main/res/values-xlarge/styles.xml @@ -4,6 +4,7 @@ \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ab0d591..47d9de2 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -49,8 +49,9 @@