summaryrefslogtreecommitdiffstats
path: root/res/layout/add.xml
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-08-08 23:05:19 +0200
committerGravatar Tom Willemsen2012-08-08 23:05:19 +0200
commite8df341197ea79776a0376fbdcce9d4360561bb5 (patch)
treeafb9f563410a0039b92f8e08f4eafff01bb5711d /res/layout/add.xml
parentfa6291ef3149dbd77a1c2c326627e86c6fe6ef10 (diff)
downloaddvdroid-e8df341197ea79776a0376fbdcce9d4360561bb5.tar.gz
dvdroid-e8df341197ea79776a0376fbdcce9d4360561bb5.zip
Use actions instead of buttons
* res/layout/add.xml: Remove save_button. * res/layout/main.xml: Remove add_button. * res/menu/add_activity.xml: * res/menu/main_activity.xml: New menus. * res/values/strings.xml: Rename `add_button' to `main_menu_add' and `save_button' to `add_menu_save'. * src/ryuslash/org/dvdroid/AddDVDActivity.java (createDVD): Renamed from `saveDVD', no longer takes a `View' as an argument. Don't call finish in this function. (onCreateOptionsMenu): (onOptionsItemSelected): New overrides. * src/ryuslash/org/dvdroid/DVDroidActivity.java (onCreateOptionsMenu): (onOptionsItemsSelected): New overrides. (showAddDVD): Renamed from `addDVD', no longer takes a `View' as an argument.
Diffstat (limited to 'res/layout/add.xml')
-rw-r--r--res/layout/add.xml7
1 files changed, 0 insertions, 7 deletions
diff --git a/res/layout/add.xml b/res/layout/add.xml
index 22430f3..4ca4627 100644
--- a/res/layout/add.xml
+++ b/res/layout/add.xml
@@ -20,11 +20,4 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/watched_entry" />
-
- <Button
- android:id="@+id/save_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/save_button"
- android:onClick="saveDVD" />
</LinearLayout>