From 9fc77db21845e2a89c03cea43228f95545c0b639 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 8 Aug 2012 22:11:12 +0200 Subject: Separate adding of DVDs * AndroidManifest.xml: Add `AddDVDActivity' as an activity. * res/layout/add.xml: Layout for `AddDVDActivity'. * res/layout/main.xml: Remove the nested `LinearLayout' and `EditText' widgets. * res/values/strings.xml: Change the `name_entry' hint text, add captions for `wishlist_entry', `watched_entry' and `save_button'. * src/ryuslash/org/dvdroid/AddDVDActivity.java: New activity. * src/ryuslash/org/dvdroid/DVDDataSource.java (createDVD): Accept WATCHED and WISHLIST parameters and send these to the database instead of `0' and `1'. * src/ryuslash/org/dvdroid/DVDroidActivity.java (addDVD): Call `AddDVDActivity' to add a new DVD to the collection. (onActivityResult): New override. --- res/values/strings.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'res/values') diff --git a/res/values/strings.xml b/res/values/strings.xml index 0c49385..40f4d6e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,6 +1,9 @@ DVDroid - Enter A DVD title + Title... + On wishlist + Watched Add + Save -- cgit v1.3-2-g0d8e