summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-08-25 08:03:05 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-08-25 08:03:05 +0200
commitbf24af1ed9808dc918dc81f0383103b6c51600a6 (patch)
treed899dae5a08c94b5184a558c16c9f743aee0c3c7 /res/menu
parent8a8dc0a2ac4f3552568d9e14bf5ae121394b055c (diff)
downloadAndMAL-master.tar.gz
AndMAL-master.tar.xz
AndMAL-master.zip
refactoring, mangalist, settings (current problem: refresh other list after changing the settings)HEADmaster
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/menu.xml7
-rw-r--r--res/menu/settings.xml14
2 files changed, 21 insertions, 0 deletions
diff --git a/res/menu/menu.xml b/res/menu/menu.xml
new file mode 100644
index 0000000..5dd2311
--- /dev/null
+++ b/res/menu/menu.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"><item android:title="Refresh" android:id="@+id/menu_refresh" android:icon="@drawable/ic_menu_refresh"></item><item android:visible="false" android:enabled="true" android:id="@+id/menu_switch_anime" android:title="Animes">
+</item>
+<item android:visible="true" android:enabled="true" android:title="Mangas" android:id="@+id/menu_switch_manga"></item>
+<item android:visible="true" android:enabled="true" android:icon="@drawable/ic_menu_preferences" android:alphabeticShortcut="S" android:title="Settings..." android:id="@+id/menu_settings"></item>
+<item android:visible="true" android:enabled="true" android:icon="@drawable/ic_menu_close_clear_cancel" android:alphabeticShortcut="E" android:title="Exit" android:id="@+id/menu_exit"></item>
+</menu>
diff --git a/res/menu/settings.xml b/res/menu/settings.xml
new file mode 100644
index 0000000..8c646a7
--- /dev/null
+++ b/res/menu/settings.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+<PreferenceCategory android:title="myanimelist.net Account">
+ <EditTextPreference android:title="Username" android:key="MAL_USERNAME" android:summary="Please enter your myanimelist.net Username.">
+ </EditTextPreference>
+ <EditTextPreference android:title="Password" android:key="MAL_PASSWORD" android:password="true" android:summary="Please enter your myanimelist.net Password.">
+ </EditTextPreference>
+</PreferenceCategory>
+<!-- <PreferenceCategory android:title="Application">
+ <ListPreference android:title="Startscreen" android:key="STARTSCREEN" android:entries="@array/screen_names" android:entryValues="@array/screen_values" android:defaultValue="@raw/screen_anime">
+ </ListPreference>
+</PreferenceCategory>-->
+</PreferenceScreen>