내 활동을 대화 상자의 큰 형태처럼 보이게하려면 투명하고 무언가 4면 모두에 4 분의 1을 말하고 중간 부분은 견해를 배치 할 수있는 단색이어야합니다. 프레임 레이아웃을 사용하는 것이 프레임 레이아웃을 다른 프레임 안에 배치하여 답이 될 것이라고 생각했지만 첫 번째 프레임을 투명하게 만들 수 없습니다.FrameLayout을 투명하게 만들기
내 XML 파일 : -
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00000000" >
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:layout_marginLeft="75dp"
android:layout_marginRight="75dp"
android:layout_marginTop="50dp" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="Search" />
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/button1"
android:layout_alignParentLeft="true"
android:layout_marginBottom="30dp"
android:gravity="center"
android:hint="Enter Movie Name!" />
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/editText1"
android:layout_centerHorizontal="true" />
</RelativeLayout>
</FrameLayout>
</FrameLayout>
그것이 작동하지 않습니다. 어떤 아이디어?
이 같은 것을 찾고 계십니까? http://imgur.com/dBCM9WR – aProperFox
네, 그게 내가 원하는 것입니다. – Mohit