<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/back1920x1080"
tools:context=".NtilDisplay" > <ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="11dp"
android:src="@drawable/noti_icon1" /> <TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginLeft="11dp"
android:layout_marginTop="14dp"
android:layout_toRightOf="@+id/imageView1"
android:text="@string/app_name"
android:textColor="@color/encode_view"
android:textSize="@dimen/test_size_25" /> <ImageButton
android:id="@+id/imageButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/imageButton1"
android:src="@drawable/btn_02_monitor_n" /> <ImageButton
android:id="@+id/imageButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/imageView1"
android:layout_marginTop="20dp"
android:src="@drawable/btn_01_call_n" /></RelativeLayout>
解决方案 »
- Android 安卓 TabView 选项卡被覆盖 问题
- 真的求高手们忙里偷闲的看看,这程序没有报错,可是运行不出来效果。
- 关于android中ListView使用的问题
- android真机连接pc机,提示连接正常,但是adb命令执行不了
- 如何让listview移动到底部
- 一个Android项目,Ubuntu中配置hudson,其中的ant的build.xml不会写,求教
- 求高手 为什么会出现这错误?
- 我按google的教程做的项目怎么点了运行只见android字上光在移动不见helloworld几个字呢?
- 百度推送问题
- Fragment必须要有Activity来进行调用吗?
- android http 报java.io.EOFException
- 左右滑动菜单问题
用 LinearLayout 吧
肯定可以的。
你的textview也可以指定一个宽带试试