Android :: Set Focus On TextView When Activity Starts?Aug 16, 2010
There are an EditText and a TextView in my Activity. I want to set focus on the TextView when the Activity starts. I used the following code:
TextView myTextView = (TextView) findViewById(R.id.my_text_vew);
But the code doesn't work. The EditText always receives focus when the activity starts.