java - Overlap a transparent foreground of a Relative layout to make text views color gray transparent inside Relative layout -


i tried following:

created frame layout containing relative layout , made foreground /background color transparent. got transparent layout above relative layout cannot see textviews of relatives layout of dark black color.

also tried dynamically creating drawable transparent color setting foreground of frame layout containing relative layout. getting still same result.

any appreciated ?

i solved setting correct alpha.

view.setalpha(x); 

i had set value of x 90 has no effect on view. after setting value of x 0.9f (float/double), worked.


Comments