From 69404c94c9da26e2a7ee2593f290c7b6845a3b74 Mon Sep 17 00:00:00 2001 From: zilmar Date: Wed, 23 Nov 2016 19:18:08 +1100 Subject: [PATCH] [Project64] Add game list setting page --- Android/res/drawable-hdpi/ic_storage.png | Bin 0 -> 1137 bytes Android/res/drawable-mdpi/ic_storage.png | Bin 0 -> 1213 bytes Android/res/drawable-xhdpi/ic_storage.png | Bin 0 -> 1360 bytes Android/res/values/strings.xml | 5 +++- Android/res/xml/setting_gamelist.xml | 16 ++++++++++ Android/res/xml/settings.xml | 6 ++++ .../settings/BaseSettingsFragment.java | 4 +++ .../project64/settings/GameListFragment.java | 28 ++++++++++++++++++ .../project64/settings/SettingsActivity.java | 2 ++ 9 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 Android/res/drawable-hdpi/ic_storage.png create mode 100644 Android/res/drawable-mdpi/ic_storage.png create mode 100644 Android/res/drawable-xhdpi/ic_storage.png create mode 100644 Android/res/xml/setting_gamelist.xml create mode 100644 Android/src/emu/project64/settings/GameListFragment.java diff --git a/Android/res/drawable-hdpi/ic_storage.png b/Android/res/drawable-hdpi/ic_storage.png new file mode 100644 index 0000000000000000000000000000000000000000..e00c51602ac4a41b7108aeace119922211e666cb GIT binary patch literal 1137 zcmb_bPfXKL9B#rONV3FuF#bu*v*2G?+qZRKD-+l{*b+L)w!|G*+Beof`%3$8gLr`( z#sdd0MvsP*F-GIbL;;CL1*7q%B*IM-6FnIYCi*%UcmPknq%rr$pXpY5~*k|V)_g`j6mAbMo<=M#^m@b)Xgvr zZDzhe3hJP&V~f*#3|F-r%4V4Eo~oniqlkcEG-BE@_WP4(EHI52dnKw0s*^xvGd1O+ z+*Bs7PmSu5!S-AN-BpmYRL9l>k10;bk}rOTw_l!HEwucFFZBF`&awdRo9Pb|M<(D#-*E`)<-t&cb7Kyuimo%EHXob`Q-2a zI_A3bNveE|WHULYSSpXr-MaI1VR7mCi`OfwZ{NND`04Zdm#?RnH^(VTPb+=-)Jwg1 zq_H*l;NhcTWs4@7ck5x2#|O{Vp}-wnvMs8CHtK7 z>;Jz0`_KQ$i|N!Ef6KEi7>4=zB$q)ea9^JneXVl&Pqeh!@ti%ZkJu&AgxH|07a-tO zaTI2tC{JDd3ie^x{w^h(vva~ZR?<~MbaMztH4qxZ`uZJ1l*XV93UE}>qWEv0e2xP} zj^Y<00wowRSX7c_6AqVCS*biGF*4qN8uU3VB2b|%0!JO!EY^wQJG?B~yI~RsJ1O>9 z6n`WtC!|44Hz9}+R8XRNXwVZT=rF~EnNuJ{(G*FCNUAqTQ*5M{rD(AG;Ha7@kFXgo zv0DqBqIl7^4VENJr4muavWGaTO=o)Yt z#ezOzM{%U|Q46ZEN2^)8*Mu&NbVP%s3CeA$o+t?apQ@^R*_NGwkM;g1v6Y=NAen)d zK4D5|a3h^=DT9rfP_%V3tLx+STTB;qTeph30b;`uf(C*pDViJEK?nlNYnCl)66Cok zjyMQKky$Rn#k*r%I5I>fXgW?aVVa4Dhhl??2;CbVqU%^rmnKxG*>$Y^7#nGbbQ&+)G)2z~1OQ<2=E>>==rMn@PL}EyHwEr4)J%s$@Zug9f4tv&z8uGh| zjGgvsA7Ge=mU=zd+&CE$=H!Q zZ{OQGam#!eJmfF$@A0hpzU`olqYLLTy7NE)`?)rEcKKpud*ACF`SXdnje9(J*tFTq z`#tIO+114d>noMt-=DoXFrIqNH}lG8#}?iLi>=t&Q;V1Lw^qh{aO0)ijcTa1x;~J? z`wnbgDK;HG7Eadgbhg~C1oD*+PtG6zqPpVWuEN@@Ex*n@&0UHSZFASQG;sP-m-kxR zscN7))g#Z}?q0n*+L8UTu=eI#SGbQn3&+3Nd}H}=lhf97_YaaDkU9VW literal 0 HcmV?d00001 diff --git a/Android/res/drawable-xhdpi/ic_storage.png b/Android/res/drawable-xhdpi/ic_storage.png new file mode 100644 index 0000000000000000000000000000000000000000..2caf74c9530c6682a81d35456a08d72cbf531143 GIT binary patch literal 1360 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7T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OH5!C|6?Dtp(YtVQGci9piE@EN3}4Ra!ABkx79;&!vfJ#;>Uo?TRnomu@?BIHXVD({KD0k;p_T!Tlk#4xx5u_8HCg-T%0u1;k2T} uTjtJ#^XE1kGxN~)VPJ7UM}0p86Bu^C`zW~fiPLdV8RzNh=d#Wzp$Pz~x6axC literal 0 HcmV?d00001 diff --git a/Android/res/values/strings.xml b/Android/res/values/strings.xml index 1f070a012..40f6c6c6d 100644 --- a/Android/res/values/strings.xml +++ b/Android/res/values/strings.xml @@ -107,6 +107,8 @@ Video Sound settings Audio + Game list settings + Game list advanced/debugging settings Advanced Restore default settings @@ -181,7 +183,8 @@ Gamepad settings Reset settings Reset all settings back to their defaults? - + Max # of games remembered + @string/DListPerSecond @string/PercentageOfSpeed diff --git a/Android/res/xml/setting_gamelist.xml b/Android/res/xml/setting_gamelist.xml new file mode 100644 index 000000000..508c363ee --- /dev/null +++ b/Android/res/xml/setting_gamelist.xml @@ -0,0 +1,16 @@ + + + + + + diff --git a/Android/res/xml/settings.xml b/Android/res/xml/settings.xml index 446a0d055..40d2e2649 100644 --- a/Android/res/xml/settings.xml +++ b/Android/res/xml/settings.xml @@ -21,6 +21,12 @@ android:key="settings_audio" android:icon="@drawable/ic_speaker" /> +