From 9f85ab4ac4c25ffd6f6e9ce5673bad0aa58c51e1 Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Sun, 19 May 2019 10:47:36 -0700 Subject: [PATCH] Fix theme-related bugs --- app/build.gradle | 4 +- .../main/res/drawable-hdpi/ic_action_save.png | Bin 561 -> 0 bytes .../res/drawable-hdpi/ic_action_share.png | Bin 793 -> 0 bytes .../main/res/drawable-mdpi/ic_action_save.png | Bin 304 -> 0 bytes .../res/drawable-mdpi/ic_action_share.png | Bin 458 -> 0 bytes .../res/drawable-xhdpi/ic_action_save.png | Bin 593 -> 0 bytes .../res/drawable-xhdpi/ic_action_share.png | Bin 993 -> 0 bytes .../res/drawable-xxhdpi/ic_action_save.png | Bin 994 -> 0 bytes .../res/drawable-xxhdpi/ic_action_share.png | Bin 1693 -> 0 bytes .../res/drawable-xxxhdpi/ic_action_save.png | Bin 1259 -> 0 bytes .../res/drawable-xxxhdpi/ic_action_share.png | Bin 2092 -> 0 bytes app/src/main/res/drawable/ic_share.xml | 9 +++ .../main/res/layout-land/activity_main.xml | 75 ++++++++++++++++++ app/src/main/res/layout/activity_main.xml | 1 - app/src/main/res/menu/menu_edit.xml | 6 +- app/src/main/res/values-night/colors.xml | 1 + app/src/main/res/values-night/styles.xml | 10 +++ app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/styles.xml | 2 +- 19 files changed, 101 insertions(+), 8 deletions(-) delete mode 100644 app/src/main/res/drawable-hdpi/ic_action_save.png delete mode 100644 app/src/main/res/drawable-hdpi/ic_action_share.png delete mode 100644 app/src/main/res/drawable-mdpi/ic_action_save.png delete mode 100644 app/src/main/res/drawable-mdpi/ic_action_share.png delete mode 100644 app/src/main/res/drawable-xhdpi/ic_action_save.png delete mode 100644 app/src/main/res/drawable-xhdpi/ic_action_share.png delete mode 100644 app/src/main/res/drawable-xxhdpi/ic_action_save.png delete mode 100644 app/src/main/res/drawable-xxhdpi/ic_action_share.png delete mode 100644 app/src/main/res/drawable-xxxhdpi/ic_action_save.png delete mode 100644 app/src/main/res/drawable-xxxhdpi/ic_action_share.png create mode 100644 app/src/main/res/drawable/ic_share.xml create mode 100644 app/src/main/res/layout-land/activity_main.xml create mode 100644 app/src/main/res/values-night/styles.xml diff --git a/app/build.gradle b/app/build.gradle index c877b71..fdfbd5c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -74,7 +74,7 @@ dependencies { androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test:rules:1.1.1' androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0' - implementation 'androidx.appcompat:appcompat:1.0.2' + implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.legacy:legacy-support-v13:1.0.0' @@ -92,7 +92,7 @@ dependencies { implementation 'com.crashlytics.sdk.android:crashlytics:2.10.0' implementation 'androidx.multidex:multidex:2.0.1' implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" - kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version" + implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation "androidx.core:core-ktx:1.0.2" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' diff --git a/app/src/main/res/drawable-hdpi/ic_action_save.png b/app/src/main/res/drawable-hdpi/ic_action_save.png deleted file mode 100644 index 36b43605ec9fdcc78c25b29e6c6bca89f4c6b3e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 561 zcmV-10?z%3P)e}J~u1{fVAyZw3CULPb^9s*V z2H1Q%^3#qqbrsXSpt^w0<6M*Fa`XM?06>{zCeK``p5?0nUBcOjShS&1O8dsT?x(YS z{}L$6cPb)owrT$*P;y*|h%`AH{~gc^JR9IZ=aL=RSy{ViLj$t(y=)9rQ#Cd;azmf- z6mOcHw_rE2W9TP_TC(>zjMqr8j0D+=yV%$V(a?at;9x|goq178NlOo~W>oK?hd3S) zAA10;Z<@RVqXN2u$%yD|OG+urke$MrQ2|Y3q5_n?)ag+HJ;t$!_|T(d8*r-`6c%C{ z+M&+r;ZQ_8=>fD4_nIMLBtW^zCmh8~gP~3}^LmCv@d#0H*o9FLDL?l>mL%&`A z8KpO4d97}Xy#51k@n|kg<{AI{QL{NVR5SDoG@tDy8Qf3W00000NkvXXu0mjfo<;?S diff --git a/app/src/main/res/drawable-hdpi/ic_action_share.png b/app/src/main/res/drawable-hdpi/ic_action_share.png deleted file mode 100644 index 521874c14247331e2bc005933d32ab8587b70d42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 793 zcmV+!1LpjRP)Zw@nKC3q8A~Una3|xf>B3kzBv*u@ z43WapTOV!P-rG6b|DR4-H@m(6{_lJCyVkqb_lXu3YGFM5UqBJj8W;gA1IDLpTmp6g zwh-e3F1nK}6cB!yJb&~ey1{4t;fWZl7QU!I)@C>Mt zbUPQIh;R|lPR{BDI3+IFet^Fh#v5P-a7@zoOo1YzE3g=t2lNHn0H1+FLGTHK#*As>M|z;a2~3O7rANyUmZ8Ym(<1LJ@p>7@q1|Lzko zHl?Qq=#-w{01gAEB)zY8MwV=h5zzyv2gU$SiRKP2TlO5OO1o3 z!2JP~lsN_1C6&S|Tut?HuXqGB1)^e6N5oX%IMBV!qIShiU@vf1k_$MqD5a1cvAIGI zG0=MVnygg$n?fxPsIe(?pK;3Uy3FEVi`rIS1>DLieT}uf6|k#p`-jQ)9tWP}?|@yv z5#VL!w*RSpg~n)C6*k6>=^b}yL!Ff5Syfe3ePT?bV>GZ07@0&XhP0WMUN#;Sn| zl7Ng`s8wJ=5<#H+zr%MfrOI zER=My(ZjWx0*DCL(@2tvFGC;1O$&y|) z3s6d%@AIB{1B;*@Cztu2|6AmivIOMy2LbbeiD~Eaz(JrP*FKbmJH1A(3RMHy;(&et X9OCCCRG~f?1&w^?6ON@yV;!cfAgQr z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%qjMI3pM1VY$Jl@* z-#!~|4>drwA+$u2_i3ordJ%U4pG&&ZD2gnAM}gm}SjZ*Kw}3B09`jGVL27Z3{T@YV+nc3sO7l5DS?!Bb>3B4(l45L%#ERdQ5BtT{WyMg5? z0#1fR@3?<6vt=P6^xCLv^4e&(q$7D=s2e~6#Kn0|^<0@4Ps=^k_RD?Rt<9Tz%Kna| zyOlud4iIM8L&-~t9zIXx&1%_q_k^#lRBH%8!W&b7tv;(M_lGR5g_69E^gnATKmx>X zaDFeI7U_*nNvoO$AcR#P@Jb{=ucXvBghD(J0Q~VH?`@#O*CQ$IzFpiSpP97-t0O(o zA<3Vinqv(F56lOSMFK34G<0T^TVWv-AUea2l*Q2{$*Xq7Z=>Z3%*@XRF9dj5Ce03c zm`SRbmKW-Q#J0LLtOtKLaPy+B$NkZ~5Nis6Jds)7#{fn$d$s60>OJrucSR9EOWf6Q P00000NkvXXu0mjfKr_m~ diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_save.png b/app/src/main/res/drawable-xxhdpi/ic_action_save.png deleted file mode 100644 index eccedc3a919edfe9ffb195156e38cc327dc18adf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 994 zcmV<810DQ{P)lhfOVAf)Tql-Y{;iu z0#vltlN^*!C^;xO$n%3^Pr2PFq32Za$x4hrL!YEW`e za!?q7t}5MP1Y|X58*rt_IfLP4PFe??&T5hm-yvgT1k?v~i^%sf z>QuE8xCX2&(|&N97y)e;5pzK4OI6K*w%aZEiV@Hp5qTM+OjTzCFGBigw2cu^hlu

;j&K^bvE4^@zxc5OJ!y z3pgIqN6dik1FJ>kOBsQxYCHR{153)ZuS1G`0D6E6BJ$fuq^jBm_Klf)Ci=8(78_%c zwoi>Gzc4y8h((Ltn?0_uYY>%})vM&O6fLEEqS-|qF=GbF>d{t>RkYJU7>UtC* z&r$s%V&HQxr)5l4y`9ZyQGa#%{icW%t_rvUvVwZHX2+rOChHflNklFe&8RD&IvuDh z(rj=HjJ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{xIcpg6qX3HqYtuBpj>YlWxHQgn>FBxW)t;FsOrYv&MM zv>8isVq3bZJ}7m5t^0Af>Kwp-RmbrTmGpG#1serWn?^Yzc`l&JvWdBcJ~$fG29Spv z#;1f!>^n2}VCX;sd zAp}pznz?jg+sS&~g>7y<)>wdyNC?4&t-B&7-BRCvxx{$Q{F5Zpx>>8y07Z~o$eQjr zDM5F5lFf8SM}wh_2PlGM?J;5IPZ>OE@2Oj_FJh;}6@0S^vn+k@!9@e1L8FP=5THTK ngGN(hMxH&?prHm;)3<*B_V3nMhe82-00000NkvXXu0mjfz)T-2 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_action_save.png b/app/src/main/res/drawable-xxxhdpi/ic_action_save.png deleted file mode 100644 index f23bd7f004419d41c6cf62ede4ebcf2530aa3f33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1259 zcmVeFqo?+JGsf>-Ywf+>^?TQT_U-%Z=h^G?*=y~0pVk(!G$o*>)uT8epz%%+ z0zyDz0*%W@4+sH`2{bMrJs<=$CeXNi^nei1m_Xz5(F4|9fSFwk+zwm?oCh4&xJ_fr zAC$CbY?9RVi+g~XZ2=AdcLK+x7F?6Kl}RWPU}g^dMd1210a~(|E0Itt;6dQtl2)zR zI@Kj)3ox?_fDZs4g66PPl~5w!;4tpb0sf+m)g+V%I1F4gC;CHMt4Jsj@EdT#37woNLbhJaHf{WP+X)mAsNWjjzx?a3sBfE3(EkC{Y52q+gY z$uS`Wj1w?gLI@ZyV3dRqFpYp>2_axQ0Ywr*z_bF8l*KeF*ta#|fAk#A1O8WA2w1X5 zC+t9@`a}o_0mKlL(TCy~kO36e^ll~ z;6mU^;1=N03OjdF%3cM03ha^eY6=B2yAF61I6ozR%9tJnJPX_=X))X+@iH?XmYxE3 zCao}0P;UYr2kw$o^j3?R`7Kv}tMiVD_%2P;lYke1n@iy@NDUI618!PMZ-Rhc1bhKp zBI%b2nD{~ZWZ-?^+$r*Hl%p2`J0!g_B`h<$0eE@JoJY&mgMd$fZDWU?BjF4~(MNz! zwNP#8LBM`V_tzj~X8VBsHF7U<_8{PLN$=KxWM-EE@6^cMlYlcNeOm*PnVkWAQzLgz z0=7u{rv{{9qN%@Y1*{Oz+3z_aIK_2)0_X_NHg=PlwSv~7?US; z-JS$^oBitL&Qb{je7~c%BNgD-xZVUf55IQfH)gWV4b1E;;CaBW|Ez53QGmny0k{u1 zBhF^L8KvZ<;4(5W$+#PXTWQ~6S-slk;z93ShltC z`^E%9K;u0m1cZRb1R9r*9uNW=6KGsMdO!$hOrUZ3=m8<1F@eVAqX&e5#snId{})9~ V7Js*#-jo0U002ovPDHLkV1kDBKXU*8 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_action_share.png b/app/src/main/res/drawable-xxxhdpi/ic_action_share.png deleted file mode 100644 index 995514d208ac1577aa2cb8cf9d76e0c38d38cb9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2092 zcmV+{2-Ek8P)0?useXw!=Jwe@E(9? z06a)?NnTIg%m4spwkd$C0h|Y5ofhCO1uzZ31d=~wC8G8OnAyPqW&zmR3Fg-TP9?d} z*=_~(S`%PqCj{`69Z7!a z>9>vqTmoRK2PB8?r6jL+=+|!(HnVvE275qq=*}Z~ghRiU1bhWx8xKeh-Nhugb?DcU z0GW+zc|daLE+gqOYwNfN$d%v%$w9z!k}h)VNWe$3Rve&uRF{x+oh|A}z>@%u@}TO_ zT}bi}hkkwb05j8D+w?&MYC=MaHJQINc~>`^e6eLw|!R;U}hTwxDvnx z1={*6W2~iTD9PDg@TK1s1elpNRe3kB1)#WYT9HY*LxxRR;9o@YwzLDTtXFvg%-&*LeMnfw=ky8(jr7O??`GL**9S8HVnY@6kmOB82#*Y z6D#}dGM!#Y{#|A8_3Y6EgfIWmjNp6lTMpoM024|6=xJDH-6#UWny=hSkA;#22Ng!h z>GgJ&PRiIemVlW6PH)2t$-h2^5YS;NVhCuKpd3kyA)wiWJ4`^)W~gdzb@=)u$M-C4 zS1~g{KL4T*V)B$KoH(V-;lw;xbrYaL&8%In2nE!~g-irjKs^s|+R;ZW0jjZjtBuaM z7lSkIrFMYQ&M~402(#d50FM>y6G~zs-@l??>1Khw00{IR;egTOL?HTG9ELNH&jII=3qhL$~!{1 zGV?7~j&U=q=1M^3rwJWosOu8ZN;|)cq%xsPFQp_PF{4!3I0b+UTCD^y#XYDis_`Q2uKjIU#J}( z5Ccj?8=dY|;_8;JBp@tHdN<{-%4~Jr4k-XBp0+|Y30Ayl7K*hVgL$p<{>jko)yzkoe7YSNcYI?9RpmVjqZ;- zFgA_8wgiM(pg@d%(xhJ`35pNP3#y;7ijrCr5J*r2O{Zi1s-8!b@^VgWAf{)a+7r+N zgqa<$)JEL_-GYTTLJH&~9=2Ae+Yqo4GG?Y|nyyV#dP?%=Y*mn=UrBm758#^_kSB^6 z`f6rC2JrG|+7OTjiW&N72*?0l9!(np@<1^|9}NK+z{{g)LqHxVX6U0KAOm=LH2nv& WeJFojU}J6o0000 + + diff --git a/app/src/main/res/layout-land/activity_main.xml b/app/src/main/res/layout-land/activity_main.xml new file mode 100644 index 0000000..95ed776 --- /dev/null +++ b/app/src/main/res/layout-land/activity_main.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 0ac7899..e96d18d 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -70,5 +70,4 @@ - \ No newline at end of file diff --git a/app/src/main/res/menu/menu_edit.xml b/app/src/main/res/menu/menu_edit.xml index cc51625..f2f4a2f 100644 --- a/app/src/main/res/menu/menu_edit.xml +++ b/app/src/main/res/menu/menu_edit.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> + android:title="@string/action_save" /> #000000 + #FFFFFF diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000..6882c81 --- /dev/null +++ b/app/src/main/res/values-night/styles.xml @@ -0,0 +1,10 @@ + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 8f521e5..776578d 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -4,4 +4,5 @@ #b71c1c #d32f2f #FFFFFF + #000000 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 97bf018..b9ff7bc 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,7 +1,7 @@ -