Android的导航栏顶部 [英] Android Navigation Bar Top

查看:151
本文介绍了Android的导航栏顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能使一个导航栏,在我的应用程序的顶部?我想是这样的照片在顶栏: 链接文本

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

推荐答案

这个问题是类似pretty的,而且可能是你在找什么:<一href="http://stackoverflow.com/questions/2002920/android-layout-how-to-create-a-header-content-layout">Android /布局:如何创建一个标题,内容布局

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

至于创建头,只需创建一个 RelativeLayout的有两个按钮:一头连着父母的左一对父母的​​权利。

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.

这篇关于Android的导航栏顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆