Use system checkboxes in reminder dialog, polish to sort dialog

pull/14/head
Sam Bosley 13 years ago
parent 3b5fca0d67
commit ca2ad740fc

@ -36,7 +36,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:button="@drawable/btn_check_small"
android:text="@string/TEA_reminder_due" />
<CheckBox
style="@style/TextAppearance.GEN_EditLabel.DLG_EditLabel"
@ -44,7 +43,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:button="@drawable/btn_check_small"
android:text="@string/TEA_reminder_overdue" />
<LinearLayout
android:orientation="horizontal"
@ -56,7 +54,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:button="@drawable/btn_check_small"
android:text="@string/TEA_reminder_randomly" />
<com.todoroo.astrid.ui.ErrorCatchingSpinner
android:id="@+id/reminder_random_interval"

@ -62,15 +62,19 @@
<!-- hidden task status -->
<View
android:id="@+id/TEA_Separator"
style="@style/TEA_Separator"
android:layout_width="fill_parent"
android:layout_height="1px" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="5dip"
android:gravity="center"
android:textSize="20sp"
android:textColor="#ffffff"
android:text="@string/SSD_hidden_title"
android:background="@drawable/edit_titlebar"/>
style="@style/TextAppearance.GEN_EditLabel.DLG_EditLabel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:paddingLeft="10dip"
android:text="@string/SSD_hidden_title" />
<CheckBox android:id="@+id/hidden"
android:layout_width="fill_parent"

@ -78,8 +78,7 @@ public class SortSelectionActivity {
});
AlertDialog dialog = new AlertDialog.Builder(activity).
setTitle(R.string.SSD_title).
setIcon(android.R.drawable.ic_menu_sort_by_size).
setTitle(R.string.TLA_menu_sort).
setView(body).
setPositiveButton(R.string.SSD_save_always,
new DialogOkListener(body, listener, true)).

Loading…
Cancel
Save