以下のようにTextViewとButtonに透過で網掛け(amikakeLayoutの部分)を行うレイアウトを考えているのですが
特定の部品 たとえばButtonは網掛けの下にならず上に表示されるようにしたいのですが可能でしょうか
またはbuttonだけ網掛けがかかっていないように見えるようにしたいです
実際のレイアウトはかなり複雑でRelativeに変えるなどの改修は厳しいです
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:id="@+id/testText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="test"/> <Button android:id="@+id/testButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="test"/> </LinearLayout> <RelativeLayout android:id="@+id/dropLayout1" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#99a39c9c" android:visibility="visible"> <TextView android:layout_width="match_parent" android:layout_height="15pt" android:text="網掛けです" android:layout_centerInParent="true" android:layout_margin="5dp" android:gravity="center_vertical|center_horizontal" android:textColor="#ffffff" /> </RelativeLayout> </RelativeLayout>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。