1

How can i make a Navigation Bar at the top of my application? I would like something like the top bar in the photo: link text

Gerardo
  • 5,800
  • 11
  • 66
  • 94

2 Answers2

4

This question is pretty similar, and might be what you're looking for: Android / layout: how to create a header-content layout.

As far as creating the header, simply create a RelativeLayout with two Buttons: one attached to the parent's left and one to the parent's right.

Community
  • 1
  • 1
Erich Douglass
  • 51,744
  • 11
  • 75
  • 60
0

if you want to make a customized header place this code in your application tag in manifest file to hide default tab bar

<Application
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" <!--
other parameters of application tag-->
>

and the then

Adeel
  • 859
  • 6
  • 9