[openintents] r4256 committed - OI Shopping List: patch by Alex Yaremenko: set cursor to end in "renam...

1 view
Skip to first unread message

openi...@googlecode.com

unread,
Apr 15, 2012, 4:50:28 AM4/15/12
to openintents...@googlegroups.com
Revision: 4256
Author: peli0101
Date: Sun Apr 15 01:50:14 2012
Log: OI Shopping List: patch by Alex Yaremenko: set cursor to end
in "rename list" dialog.
https://groups.google.com/forum/#!msg/openintents/9mT2IMWZYS8/uXMErX9jEuUJ

http://code.google.com/p/openintents/source/detail?r=4256

Modified:

/trunk/shoppinglist/ShoppingList/src/org/openintents/shopping/ui/dialog/RenameListDialog.java

=======================================
---
/trunk/shoppinglist/ShoppingList/src/org/openintents/shopping/ui/dialog/RenameListDialog.java
Mon Aug 15 04:48:57 2011
+++
/trunk/shoppinglist/ShoppingList/src/org/openintents/shopping/ui/dialog/RenameListDialog.java
Sun Apr 15 01:50:14 2012
@@ -59,6 +59,9 @@

public void setName(String name) {
mEditText.setText(name);
+
+ //To move cursor position to the end of list's name
+ mEditText.setSelection(name.length());
}

public void setDialogActionListener(DialogActionListener listener) {

Reply all
Reply to author
Forward
0 new messages