总共有3个View,布局如下图,找了半天也没有找到应该用什么样的布局来布局,多谢!
解决方案 »
- Android获取基站信息,高手请进
- android 如何关闭另一个应用程序activity
- Android触摸屏和按键处理代码
- onKeyListener 软键盘不起作用?--讨论
- 安装SDK报错.....
- 在Android上要实现播放音频到指定的网络设备
- 关于android中路径获取的问题
- listview 使用Android-Universal-Image-Loader 加载图片,滑动时图片有闪烁替换的情况
- 求助求助,报错start called in state 0,求指错改正,可能是mediaplayer中prepare问题,但是不知道怎么改?
- Android Studio编译失败:对findViewById的引用不明确
- 用什么方法可以画出简单的excel表格的效果,每个单元格都有边框
- 寻北京的朋友
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/house_info_popup_rel"
android:background="#80000000"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/house_info_popup_text_rel"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:orientation="vertical">
<TextView
android:id="@+id/house_info_pop_text_view_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="6pt"
android:text="This is Title"
/>
<TextView android:id="@+id/house_info_pop_text_view_detail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/house_info_pop_text_view_title"
android:textSize="6pt"
android:text="This is detail info"
/>
</LinearLayout>
<ImageView android:id="@+id/house_info_pop_iamge_view_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:baselineAlignBottom="true"
android:layout_centerVertical="true"
android:layout_alignParentRight="true" >
</ImageView>
</LinearLayout>
你是动态加载的图源吗?我看你ImageView里面属性没设置 ,我这面给你试了一下 , 可以啊
真是多谢!