复制代码 代码如下:
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gallerylayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:id="@+id/overview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
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"
/>


注意:
复制代码 代码如下:
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gallerylayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:id="@+id/overview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
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"
/>


android:background="#0000"
android:src="@drawable/a2"
注意这两个就行了图片是png透明的

更多相关文章

  1. Android(安卓)自定义Progress Bar
  2. Anko:Android(安卓)代码动态布局的新方案
  3. Android(安卓)4.4报错,Android(安卓)7.0运行正常 Window type can
  4. Android(安卓)编译提示R文件找不到
  5. Android(安卓)studio 签名 报错:Could not download groovy-all.j
  6. Android(安卓)获取系统权限的代码
  7. 解决Eclipse3.6中Android(安卓)代码自动补全卡死的问题
  8. 编译代码报出Android(安卓)library projects cannot be launched
  9. android:屏幕自适应

随机推荐

  1. appium主线分析
  2. android studio 报错Failed to save sett
  3. cocos2dx生成android时出错解决方法
  4. Eclipse3.7中搭建Android开发环境
  5. Android(安卓)有些机型不带tcpdump的解决
  6. Received status code 400 from server:
  7. android中使用OpenGL ES
  8. Android(安卓)Fragment生命周期
  9. android 游戏 实战打飞机游戏 怪物(敌机)
  10. Android(安卓)属性动画 源码解析 深入了