手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >android Imageview 图片覆盖具体实现
android Imageview 图片覆盖具体实现
摘要:复制代码代码如下:注意:复制代码代码如下:android:background="#0000"android:src="@drawable/...

复制代码 代码如下:

<RelativeLayout

xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/gallerylayout"

android:layout_width="fill_parent"

android:layout_height="fill_parent">

<Gallery

android:id="@+id/overview"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

/>

<ImageView

android:id="@+id/navigmaske"

android:background="#0000"

android:src="@drawable/a2"

android:scaleType="fitXY"

android:layout_alignTop="@id/overview"

android:layout_alignBottom="@id/overview"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

/>

</RelativeLayout>

注意:

复制代码 代码如下:

<SPAN><RelativeLayout

xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/gallerylayout"

android:layout_width="fill_parent"

android:layout_height="fill_parent">

<Gallery

android:id="@+id/overview"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

/>

<ImageView

android:id="@+id/navigmaske"

android:background="#0000"

android:src="@drawable/a2"

android:scaleType="fitXY"

android:layout_alignTop="@id/overview"

android:layout_alignBottom="@id/overview"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

/>

</RelativeLayout></SPAN>

android:background="#0000"

android:src="@drawable/a2"

注意这两个就行了图片是png透明的

【android Imageview 图片覆盖具体实现】相关文章:

android 设置圆角图片实现代码

Android图片处理实例介绍(图)

Android 异步加载图片的实例代码

android 仿微信聊天气泡效果实现思路

Android 加载大图片时内存溢出怎么办

Android Intent启动别的应用实现方法

android imageview图片居中技巧应用

android WebView组件使用总结

android ListView深入理解

android textview 显示html方法解析

精品推荐
分类导航