Merge "Make the Next key navigate between TextViews" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
aa4a5713aa
@@ -5514,7 +5514,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
* call performClick(), but that won't do anything in
|
* call performClick(), but that won't do anything in
|
||||||
* this case.)
|
* this case.)
|
||||||
*/
|
*/
|
||||||
if (hasOnClickListeners()) {
|
if (!hasOnClickListeners()) {
|
||||||
if (mMovement != null && mText instanceof Editable
|
if (mMovement != null && mText instanceof Editable
|
||||||
&& mLayout != null && onCheckIsTextEditor()) {
|
&& mLayout != null && onCheckIsTextEditor()) {
|
||||||
InputMethodManager imm = InputMethodManager.peekInstance();
|
InputMethodManager imm = InputMethodManager.peekInstance();
|
||||||
@@ -5551,7 +5551,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
* call performClick(), but that won't do anything in
|
* call performClick(), but that won't do anything in
|
||||||
* this case.)
|
* this case.)
|
||||||
*/
|
*/
|
||||||
if (hasOnClickListeners()) {
|
if (!hasOnClickListeners()) {
|
||||||
View v = focusSearch(FOCUS_DOWN);
|
View v = focusSearch(FOCUS_DOWN);
|
||||||
|
|
||||||
if (v != null) {
|
if (v != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user