Simple Notepad Application for Android OS
Revision | 8e870967117adc3bb6370a1a5048fd77a8a79492 (tree) |
---|---|
Zeit | 2012-09-12 11:36:40 |
Autor | Masahiko, SAWAI <say@user...> |
Commiter | Masahiko, SAWAI |
notepad-app-level-11 にデバッグ用画面を実装
@@ -20,7 +20,10 @@ Title, Content, Focus | ||
20 | 20 | ############################# |
21 | 21 | !! notepad-app |
22 | 22 | |
23 | +* ノート一覧の ListView でファーストスクロールを有効化 | |
24 | + | |
23 | 25 | * デバッグ用機能 |
26 | +** デバッグ用画面を設定画面内に作成 | |
24 | 27 | ** データ大量作成機能 |
25 | 28 | |
26 | 29 | * NoteDetailActivity のリファクタリング |
@@ -182,6 +182,10 @@ | ||
182 | 182 | android:label="@string/about_app_title" |
183 | 183 | /> |
184 | 184 | |
185 | + <!-- Activity : Debug --> | |
186 | + <activity android:name=".debug.DebugFunctionActivity" /> | |
187 | + <service android:name=".debug.DummyNoteCreateService" /> | |
188 | + | |
185 | 189 | <!-- Service : data initialize service --> |
186 | 190 | <service android:name=".template.NoteTemplateInitializer" /> |
187 | 191 |
@@ -93,19 +93,19 @@ | ||
93 | 93 | </PreferenceCategory> |
94 | 94 | |
95 | 95 | |
96 | + <PreferenceCategory android:title="Debug" > | |
97 | + <PreferenceScreen | |
98 | + android:title="Debug" | |
99 | + android:summary="Debug functions" | |
100 | + > | |
101 | + <intent | |
102 | + android:action="android.intent.action.MAIN" | |
103 | + android:targetPackage="org.routine_work.notepad" | |
104 | + android:targetClass="org.routine_work.notepad.debug.DebugFunctionActivity" | |
105 | + /> | |
106 | + </PreferenceScreen> | |
107 | + </PreferenceCategory> | |
96 | 108 | <!-- |
97 | - <PreferenceCategory android:title="Debug" > | |
98 | - <PreferenceScreen | |
99 | - android:title="Debug" | |
100 | - android:summary="Debug functions" | |
101 | - > | |
102 | - <intent | |
103 | - android:action="android.intent.action.MAIN" | |
104 | - android:targetPackage="org.routine_work.android.battery_logger" | |
105 | - android:targetClass="org.routine_work.android.battery_logger.DebugActivity" | |
106 | - /> | |
107 | - </PreferenceScreen> | |
108 | - </PreferenceCategory> | |
109 | 109 | --> |
110 | 110 | |
111 | 111 | </PreferenceScreen> |
@@ -44,7 +44,7 @@ public class DebugFunctionActivity extends ListActivity | ||
44 | 44 | private static final int ITEM_ID_CREATE_NOTES = 0; |
45 | 45 | private static final String[] FUNCTION_NAMES = |
46 | 46 | { |
47 | - "Create Notes", | |
47 | + "Create Dummy Notes", | |
48 | 48 | }; |
49 | 49 | |
50 | 50 | @Override |
@@ -1,19 +1,6 @@ | ||
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > |
3 | 3 | |
4 | - <!-- | |
5 | - <PreferenceCategory android:title="@string/dashboard_category_title" > | |
6 | - <ListPreference | |
7 | - android:key="@string/dashboard_view_mode_key" | |
8 | - android:defaultValue="@string/dashboard_view_mode_default_value" | |
9 | - android:title="@string/dashboard_view_mode" | |
10 | - android:dialogTitle="@string/dashboard_view_mode_title" | |
11 | - android:entries="@array/dashboard_view_mode_entries" | |
12 | - android:entryValues="@array/dashboard_view_mode_values" | |
13 | - /> | |
14 | - </PreferenceCategory> | |
15 | - --> | |
16 | - | |
17 | 4 | <PreferenceCategory android:title="@string/theme_category_title" > |
18 | 5 | <ListPreference |
19 | 6 | android:key="@string/notepad_theme_key" |