Ayush Goyal
Ayush Goyal

Reputation: 2079

What to choose between Action bar or TabLayout?

I'm developing for ICS. In a test activity, I need to display a top bar which has the number of questions. User can jump to any question by clicking on any question number in top bar. Now after a considerable research, I was going for horizontal listview but I guess thats not gonna work for me. I have two options now, either use Action bar or tablayout. Now which one to choose, I'll be developing in both of them for the first time.

See image below to get an idea of what I am looking for - enter image description here

Upvotes: 0

Views: 238

Answers (2)

Neha.R
Neha.R

Reputation: 513

I think the TableLayout will be the best option. So that you can additionally insert Views and can constomize it as you want

Upvotes: 2

Gan
Gan

Reputation: 1399

Table layout if you are looking for backward compatibility or else actionbar.

Upvotes: 0

Related Questions