Activity with transparent background
android, android-activity
Solution
After setting LinearLayout transparency try to set it's child transparency to the value that you want. This should make them have different transparency than LinearLayout. Try it.
Problem
what I want to achieve is activity with dialog-like transparency with 100% visibility of RelativeLayout content. This is activity's xml: ``` <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="50dip" android:layout_marginLeft="8dip" android:layout_marginRight="8dip" android:layout_marginTop="50dip"> (...) </RelativeLayout> </LinearLayout> ``` and this is manifest: ``` <activity android:name="com.acentic.rcontrol.activities.MyActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" > </activity> ``` Right now background is still visible, what am I doing wrong? --- EDIT: I added ``` android:background="#c0000000" ``` to LinearLayout. Now background is transparent as I wanted to, but also TextViews inside RelativeLayout are also transparent.. how to change it?