Fixed NumberPickerDialog
This commit is contained in:
parent
eee7cacd71
commit
56cd6f109b
3 changed files with 6 additions and 3 deletions
app/src/main
java/info/nerull7/mysqlbrowser
res
|
@ -66,7 +66,7 @@ public class NumberPickerDialog extends AlertDialog implements DialogInterface.O
|
|||
setTitle(title);
|
||||
|
||||
setButton(DialogInterface.BUTTON_POSITIVE, context.getText(R.string.set), this);
|
||||
setButton(DialogInterface.BUTTON_NEGATIVE, context.getText(R.string.no),
|
||||
setButton(DialogInterface.BUTTON_NEGATIVE, context.getText(R.string.cancel),
|
||||
(OnClickListener) null);
|
||||
|
||||
LayoutInflater inflater =
|
||||
|
|
|
@ -32,7 +32,7 @@ This layout file is used by the AlertDialog when displaying a list of items.
|
|||
android:gravity="center_horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pref_messages_to_save"
|
||||
android:text="@string/pref_entries_per_page"
|
||||
android:padding="1dip" />
|
||||
|
||||
<NumberPicker
|
||||
|
|
|
@ -17,7 +17,10 @@
|
|||
<string name="title_activity_entries">EntriesActivity</string>
|
||||
<string name="general_category">General</string>
|
||||
<string name="entries_limit">Entries per page limit</string>
|
||||
<string name="entries_summary">20 FIXME entries per page</string>
|
||||
<string name="entries_summary">%s entries per page</string><!--<xliff:g id="count"></xliff:g>-->
|
||||
<string name="title_activity_setting">Settings</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="set">Set</string>
|
||||
<string name="pref_entries_per_page">Set number of entries per page</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue