Applied, thanks<br><br><div class="gmail_quote">On Sat, Feb 11, 2012 at 7:59 PM, Edward Wang <span dir="ltr"><<a href="mailto:edward.c.wang@compdigitec.com">edward.c.wang@compdigitec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
vlc-android/res/drawable-hdpi/ic_menu_refresh.png | Bin 0 -> 3045 bytes<br>
vlc-android/res/drawable-ldpi/ic_menu_refresh.png | Bin 0 -> 1483 bytes<br>
vlc-android/res/menu/media_library.xml | 8 ++++++--<br>
vlc-android/res/values/strings.xml | 1 +<br>
.../src/org/videolan/vlc/android/MainActivity.java | 4 ++++<br>
5 files changed, 11 insertions(+), 2 deletions(-)<br>
create mode 100644 vlc-android/res/drawable-hdpi/ic_menu_refresh.png<br>
create mode 100644 vlc-android/res/drawable-ldpi/ic_menu_refresh.png<br>
<br>
diff --git a/vlc-android/res/drawable-hdpi/ic_menu_refresh.png b/vlc-android/res/drawable-hdpi/ic_menu_refresh.png<br>
new file mode 100644<br>
index 0000000000000000000000000000000000000000..1c64bbe9ea1f9d89449ad89342d5e0a49e0c11e2<br>
GIT binary patch<br>
literal 3045<br>
zcmV<B3mWu^P)<h;3K|Lk000e1NJLTq002k;002k`1ONa4|Kxkj00009c5p#w0000;<br>
z0000;0M2>v1poj50%A)?L;wJ)jUzGu000SaNLh0L002k;002k;M#*bF000YgNkl<Z<br>
zXx{Bv32+ou8h+h9lLR8DxQI}@E?$dSSgqYcU0rp(tyRONND#;cBoJ}{VUkH^GP&>j<br>
zB<F;%0bD>#xI&1Ek^s9D=z@v|(UJf`L<EI}WTyLl`*%+gPN|&<<yuzWS8t|Y_j|9u<br>
z{`<e)YsLo3Kp7|lWuW|`3ogOWhRUVw{|l9F$BhLhJ|Iof`RJ$V@0FNHZ7Sz}N?K=_<br>
zjqTKqLc}#Xh?h|nnspXQJz7isK48at&L1a&``LTfo94f0LP3=Z-55HmgX-?Lyt*(v<br>
zC^INK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OpiN^8N9k!P7FE5waYAKVHc2T~Ho<{dy0wvLMZuu`MpG*my;sS%+mcXxc4Z7@<br>
z31SE-d}F^iI;GB$iw_&g;g|1d84a=h*UPJm$;HLmWB3J97vmzTN*qP_@-Nm+hq&9#<br>
zi)Q<xzgwNlSds{R^8P|pwYL10lJgrCJ#N_Gvus-d`65*|Mv843&;zYy)D$|MR%I*7<br>
z-})oT#Z8@U$Mx6@zMH)xY<jpM>|@HM|49z-9dQ>aX8Xv^)9dz>$=T%YOb%j1O{Ec|<br>
zDRUBXQF&%n?Y6&wJb5J<dN<pCJ$9!@UzB`V$pySg|BG0<YAX_M-aEcAcKNRA&XUu4<br>
z-C0_ulg$gxEj?-NsNc3B?DM-ZSdICGqWb0I!1da@pG@^Gsy?KUhbRa9o(N83M#rZG<br>
zi6DGB=G_-J&ufTZm%A=&y>W|Q+mjffU88t)lTgmCwkgria)h-rh0yyNyXg3oc5D$^<br>
z^;dj+VV%0Sb!v1Q%+B_O+n?kE6{je#mPdsI$*QZ<FVk1(qQ%id?^Q7NQ+_$aH9z3}<br>
n%)TrRlz}o(2FgJBrI-H#DGW}pJcUC300000NkvXXu0mjfuz$P2<br>
<br>
literal 0<br>
HcmV?d00001<br>
<br>
diff --git a/vlc-android/res/drawable-ldpi/ic_menu_refresh.png b/vlc-android/res/drawable-ldpi/ic_menu_refresh.png<br>
new file mode 100644<br>
index 0000000000000000000000000000000000000000..33ca4c90bb111888cbcf7aa6a7458e543e5fd1cd<br>
GIT binary patch<br>
literal 1483<br>
zcmV;+1vL7JP)<h;3K|Lk000e1NJLTq001Na001Ni1ONa4O9@aD00009c5p#w0000a<br>
z0000a0C)!*j{pDw0%A)?L;wJ)jUzGu000SaNLh0L002k;002k;M#*bF000GANkl<Z<br>
zNXO;XYi!h28prYP`Txfkf*LO`BtZqQQQ|JUAt?ye7;Yt?h_IASi&T1n>7BN;bfz=o<br>
zbcSh}X*;EKI%TGvp_EHYi*#uXkcyyD5lC3F>n<DOHHu1zG11_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T`pA7@_7?rpy#h*iD70$`OXjZK?v;!iY)@7k-=I*F(o<br>
zW>k=R<s&x5@y|MOC7t3BThcC`!`&t!q)y^zjh>D9-n`3hsUP!7^T8Z4wL?5O5pq)n<br>
zSZ;Bg_lPIqF+7Rw(iIkkns1t;&(JfqVmwna1}nvzs7p3TM_L=r`oP2o30v^6O?BfK<br>
zafvJ8GU^P6<a8Cx6a`hx0n91s?-Wa2(iL}0%i(#vs1D=0@vqG%LY7v6qt7XhF?-UP<br>
zbQ-0Sb!}~5X7xIY*}3+_OFxu}GwFysrTLSAnIr7epqD2mn~$rt4LEn%q;AX`w@Yop<br>
zk*Jm;$(KCImlCNl9P!$?Ljqq6q(o@foD5NRBeRf8tkG9uuXjqQ>+th|&z(|ZSQEBU<br>
z+o*NSHfkHSCap%D?0WCmqcH+n20J*3XR^We20qP4;JHZXgDJ;(>;7m{)7NgX8&<K3<br>
zP3(q80-yG5yLkIIgf*DKySzIYWBRq+)Ztb&T9GQ|qiKEXqOI*iZKpy<_V@=@e|G0t<br>
zyjoD3%W6KQ{$@dRmKnf8^|IEhX49{gXu^MMH%s|5E`3mii7?3dn<v^Sh8g6qoJ2TE<br>
z7UvjJ5j|hOU7@C_Qa!4lP+wx@6hh>GrECTnWMC#6A3=n(T;@%Nd7G~|MjENWoxeT*<br>
l&CFpoE$qV&z|;Ir*Ut)>b)$UC#l!#r002ovPDHLkV1g!w$ru0t<br>
<br>
literal 0<br>
HcmV?d00001<br>
<br>
diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml<br>
index 8f34276..06c0166 100644<br>
--- a/vlc-android/res/menu/media_library.xml<br>
+++ b/vlc-android/res/menu/media_library.xml<br>
@@ -18,7 +18,11 @@<br>
android:icon="@android:drawable/ic_menu_info_details"<br>
android:title="@string/about" /><br>
<item<br>
- android:title="@string/preferences"<br>
+ android:id="@+id/ml_menu_preferences"<br>
android:icon="@android:drawable/ic_menu_preferences"<br>
- android:id="@+id/ml_menu_preferences" /><br>
+ android:title="@string/preferences" /><br>
+ <item<br>
+ android:id="@+id/ml_menu_refresh"<br>
+ android:icon="@drawable/ic_menu_refresh"<br>
+ android:title="@string/refresh" /><br>
</menu><br>
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml<br>
index 7427205..3160165 100644<br>
--- a/vlc-android/res/values/strings.xml<br>
+++ b/vlc-android/res/values/strings.xml<br>
@@ -65,4 +65,5 @@<br>
<string name="quit">Quit Application</string><br>
<string name="detect_headset">Detect headset</string><br>
<string name="detect_headset_detail">Pause on headset removed, Resume on headset inserted</string><br>
+ <string name="refresh">Refresh</string><br>
</resources><br>
diff --git a/vlc-android/src/org/videolan/vlc/android/MainActivity.java b/vlc-android/src/org/videolan/vlc/android/MainActivity.java<br>
index bb51e17..e4442c3 100644<br>
--- a/vlc-android/src/org/videolan/vlc/android/MainActivity.java<br>
+++ b/vlc-android/src/org/videolan/vlc/android/MainActivity.java<br>
@@ -207,6 +207,10 @@ public class MainActivity extends TabActivity {<br>
intent = new Intent(this, PreferencesActivity.class);<br>
startActivity(intent);<br>
break;<br>
+ // Refresh<br>
+ case R.id.ml_menu_refresh:<br>
+ MediaLibrary.getInstance(this).loadMediaItems();<br>
+ break;<br>
}<br>
return super.onOptionsItemSelected(item);<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.5.4<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br>