문제

How do I create a transparent textview on click at the bottom of the running screen?

도움이 되었습니까?

해결책

If you mean make the textview invisible and being able to turn it visible, you can use this attribute in your xml textview :

android:visibility="invisible"

and then you can turn it visible with setvisibility().

now if you just want the background of your textview to be transparent, you have to define it's background color has #ffffffff

다른 팁

Defining #00000000 the background, whereas the first 2 are it's alpha state (Transparency), and then the other 6 are RGB. Alpha is 00-FF.

Hope this helps!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top