Tag Archives: focus

24,112 views

How set focus on View Android development example

Set focus on a View in Android application example source code for Button, EditText, View, TextView, isFocused(), requestFocus() . // set focus on Button Android example private Button mRightButton; mRightButton = (Button) a.findViewById(R.id.rightButton); mRightButton.requestFocus(); // boolean isFocused() boolean b = … Continue reading

Posted in Android Examples Code | Tagged , , | Comments Off on How set focus on View Android development example