android - Set opacity in framelayout or relativeLayout -


edit: can me please ?

i'm trying display button on supportmapfragment.

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >      <linearlayout         android:id="@+id/menu_model"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:orientation="vertical" >     </linearlayout>      <framelayout         android:id="@+id/content_parent"         android:layout_width="match_parent"         android:layout_height="match_parent" >          <imageview             android:layout_width="match_parent"             android:layout_height="match_parent"             android:contentdescription="n/a"             android:src="@drawable/spongebob" />          <linearlayout             android:layout_width="fill_parent"             android:layout_height="match_parent"             android:gravity="center_vertical|center_horizontal"             android:orientation="vertical" >              <button                 android:id="@+id/button4"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:text="i transparent" />         </linearlayout>      </framelayout>  </linearlayout> 

enter image description here

the first linearlayout used set supportmapfragment's area , second used set button's position.

but button transparent , want opaque.

what should it?

thanks in advance!


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -