dvdroid/res/layout/add.xml
Tom Willemsen e8df341197 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.
2012-08-08 23:05:19 +02:00

23 lines
811 B
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText
android:id="@+id/name_entry"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/name_entry" />
<CheckBox
android:id="@+id/wishlist_entry"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/wishlist_entry" />
<CheckBox
android:id="@+id/watched_entry"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/watched_entry" />
</LinearLayout>