开发者

Android Navigation Bar Top

开发者 https://www.devze.com 2022-12-18 15:58 出处:网络
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:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消