pedro
pedro

Reputation: 17

Kind of android menu with border-bottom when selected

I'm new in this android world...I would like to have this menu (I don't think if I can call it like that):

Image:

enter image description here

It has "Speed Dial", "Recents", etc. When one of them is selected, it got a border-bottom. What is the easiest way to get this system?

Upvotes: 0

Views: 243

Answers (1)

O_o
O_o

Reputation: 1103

  • The menu bar is called ActionBar and you have to custom make it. (Google it).(It's like normal layout! Just horizontal ALWAYS, instead of vertical)
  • The layout is called Tab Layout. It's pretty messy and easy at the same time depending on how you write codes!
  • When the user hit the keypad button at the bottom, the menu bar/action-bar disappear. use the following code to achieve that

    getActionbar().hide();
    getActionbar().show();
    

The following tutorials would be helpful

Cheers! Happy Coding!

Upvotes: 1

Related Questions