<RelativeLayout        android:layout_width="fill_parent"        android:layout_height="wrap_content" >        <ImageView            android:id="@+id/gift_exchanged_item_Photo"            android:layout_width="fill_parent"            android:layout_height="wrap_content"            android:scaleType="fitCenter"            android:contentDescription="@string/gift_image"            android:src="@drawable/gift1" />        <TextView            android:id="@+id/gift_exchanged_item_exchangecode"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_alignLeft="@id/gift_exchanged_item_Photo"            android:layout_alignTop="@id/gift_exchanged_item_Photo"            android:textColor="#fff" />        <ImageView            android:id="@+id/gift_exchanged_item_isused"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_alignBottom="@id/gift_exchanged_item_Photo"            android:layout_alignRight="@id/gift_exchanged_item_Photo"            android:contentDescription="@string/gift_image"            android:src="@drawable/consumed" />    </RelativeLayout>

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 导入android工程没有R文件的解决办法
  2. android 事件分发机制(转载)
  3. build/envsetup.sh简记
  4. Android系列之SQLite与Android(安卓)Stud
  5. Android(安卓)SQLite插入优化
  6. Android(安卓)编译环境配置搭建(Ubuntu 1
  7. Android中应用享元全局变量
  8. 解决Android模拟器不能上网的问题
  9. Android偶遇问题处理
  10. 我怎么能不使用GPS得到我的Android设备的