How can i m开发者_JAVA百科ake a Navigation Bar at the top of my application? I would like something like the top bar in the photo: link text
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.
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
精彩评论