Android中是否可能有重疊的視圖?我想有一個ImageView在前面有一個透明的png,在背景中有另一個視圖。編輯:這就是我目前所擁有的,問題是imageView中的圖像不透明,應該透明的部分只是黑色。<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/gallerylayout"><Gallery android:id="@+id/overview" android:layout_width="fill_parent" android:layout_height="wrap_content" /> <ImageView android:id="@+id/navigmaske" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/navigmask" /> </RelativeLayout>編輯:我開始使用它,它是團隊中另一個程序員的主題文件。剛剛改變了這個<item name="android:background">#FF000000</item>對此<item name="android:background">#00000000</item>
- 3 回答
- 0 關注
- 572 瀏覽
添加回答
舉報
0/150
提交
取消