这种titlebar怎么写? 随便用个relativelayout不就能搞定了吗 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" > <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:text="HOME" /> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:text="Application Title" /> <ImageView android:id="@+id/imageView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_launcher" android:layout_alignParentRight="true"/> </RelativeLayout> 实在不会在eclipse里图形界面搞,可以直接拖动控件的位置。 已经用relativelayout 写好 多谢 关于安卓模拟器的GPS地理位置功能 android 4.0如何模拟鼠标移动? 不用XML来进行布局的开发真吐血,无法把摁钮放到我想放的地方 set mAudioSourceType = MediaRecorder.AudioSource 在模拟器中,怎么给gallery中添加图片 View的DrawingCache相关方法怎么用 android蓝牙配对问题 有关Android蓝牙开发的问题,求大神解救。。 关于使用Fragment遇到的问题 刚学习Android,希望大家帮忙改下错误 VLC播放网络摄像机的rtsp实时流没有画面 android中如何根据已知的多点画出弧度曲线
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" > <Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="HOME" /> <TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="Application Title" /> <ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher"
android:layout_alignParentRight="true"/> </RelativeLayout>