안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요. 제가 올리는 질문이 너무 황당한가 답글이 잘 안올라 오더라구요..ㅠㅠ
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_centerHorizontal="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
android:padding="4dip"
>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/channel1"
android:orientation="vertical"
android:gravity="center"
android:layout_width="57px"
android:layout_height="fill_parent"
android:padding="5px">
<ToggleButton
android:id="@+id/group1"
android:layout_width="47px"
android:layout_height="47px"
android:textOn="Group"
android:textOff="Group"
/>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/faderchannel"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.ksnam.Maruta.MasterVerticalSeekBar
android:id="@+id/masterfader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#aaf3fc"
/>
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
위와같이 layout에는 Toogle버튼과 MasterVerticalSeekBar라는 이미지를 포함한 컨트롤을 투명효과 처리를 하고싶습니다.
LinearLayout를 투명효과를 주려고 하였으나 백그라운드 컬러 설정시에
그 안에 선언되어 있는 위젯들은 전혀 반응이 없는듯 합니다.
독립적이라는 소리인데..
LinearLayout 내부에 있는 컨트롤들도 같이 해당 부분만 투명효과를 줄수 있을까요?
의견이라도 듣고싶습니다.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_centerHorizontal="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
android:padding="4dip"
>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/channel1"
android:orientation="vertical"
android:gravity="center"
android:layout_width="57px"
android:layout_height="fill_parent"
android:padding="5px">
<ToggleButton
android:id="@+id/group1"
android:layout_width="47px"
android:layout_height="47px"
android:textOn="Group"
android:textOff="Group"
/>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/faderchannel"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.ksnam.Maruta.MasterVerticalSeekBar
android:id="@+id/masterfader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#aaf3fc"
/>
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
위와같이 layout에는 Toogle버튼과 MasterVerticalSeekBar라는 이미지를 포함한 컨트롤을 투명효과 처리를 하고싶습니다.
LinearLayout를 투명효과를 주려고 하였으나 백그라운드 컬러 설정시에
그 안에 선언되어 있는 위젯들은 전혀 반응이 없는듯 합니다.
독립적이라는 소리인데..
LinearLayout 내부에 있는 컨트롤들도 같이 해당 부분만 투명효과를 줄수 있을까요?
의견이라도 듣고싶습니다.
칼라값은 AARRGGBB 랍니다. AA 위치에 투명도 설정하시면 됩니다.