解决方案 »
- google map在模拟器上显示正常,在真机上显示不出来是什么情况
- android编写的MP3播放器,点击开始时候报错,请各位帮忙解答一下
- 这个问题真是难缠啊,ViewPager中的gridview无法获得OnItemLongClickListener.....
- android手机为什么那么贵,以后会怎样
- 大神进,菜鸟 SOS!!!!
- android的ViewFlipper的触屏事件无法获得响应
- 控制
- 这个是怎么回事,求指教
- android中控制ListView宽度和高度
- android中px,dp,dip和sp有什么不同?
- android多语言切换的问题
- 一个蓝牙通信的产品,为什么可以设置成只有IOS设备才能连接上
下面的布局可以使用listview,也可以使用tablelayout
接下来的每一项我是这样设计的:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" > <ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/ic_launcher" /> <RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" > <TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:paddingLeft="30dp"
android:background="#44000000"
android:gravity="center_vertical"
android:text="小机器人" /> </RelativeLayout></FrameLayout>
仅供参考。