Niki
Niki

Reputation: 1181

Current View Identification

There are views like grid view and text views which are in same activity. I want to get the focus to text view from grid view when i press the back button as i need to select another text view. All the text views are put in a linear layout.How is it possible?

Upvotes: 0

Views: 1388

Answers (1)

Aman Aalam
Aman Aalam

Reputation: 11251

will it help?

View.getId() == R.id.your_required_view

Upvotes: 1

Related Questions