Commit a9fb9749d406b9d0fa3af0ce92f7a812c5861c1c

Authored by Imanol-Mikel Barba Sabariego
1 parent 77b620f4

--no commit message

res/values/strings.xml
... ... @@ -30,5 +30,17 @@
30 30 <string name="alertLogoDescription">Alerta!</string>
31 31 <string name="itemType">Item type</string>
32 32 <string name="buffering_text">Buffering...</string>
  33 + <string-array name="selectorEntries">
  34 + <item >High Quality</item>
  35 + <item >Medium Quality</item>
  36 + <item >Low Quality</item>
  37 + </string-array>
  38 + <string-array name="selectorValues">
  39 + <item >0</item>
  40 + <item >1</item>
  41 + <item >2</item>
  42 + </string-array>
  43 + <string name="selectorTitle">Qualitat inicial</string>
  44 + <string name="selectorSummary">Sel·lecciona la qualitat inicial de reproducció</string>
33 45  
34 46 </resources>
35 47 \ No newline at end of file
... ...
res/xml/prefs.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3 3 <EditTextPreference android:key="server" android:title="@string/url" android:summary="@string/urlhint" android:defaultValue="@string/defaultURL"/>
  4 + <ListPreference android:key="@string/selectorTitle" android:dialogTitle="@string/selectorTitle" android:entries="@array/selectorEntries" android:dialogMessage="@string/selectorSummary" android:entryValues="@array/selectorValues" android:title="@string/selectorTitle" android:summary="@string/selectorSummary"/>
4 5 </PreferenceScreen>
5 6 \ No newline at end of file
... ...