안드로이드 개발 질문/답변
(글 수 45,052)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:id="@+id/hhh"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent">
<ImageButton android:id="@+id/sketchBtn1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn_palette"
android:background="#a0000000">
</ImageButton>
<ImageButton android:id="@+id/sketchBtn2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn_drawing_pen"
android:background="#a0000000">
</ImageButton>
<ImageButton android:id="@+id/sketchBtn3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn_clear"
android:background="#a0000000">
</ImageButton>
<ImageButton android:id="@+id/sketchBtn4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn_save"
android:background="#a0000000">
</ImageButton>
</LinearLayout>
<LinearLayout
android:id="@+id/ggg"
android:layout_width="wrap_content"
android:layout_height="fill_parent">
</LinearLayout>
</LinearLayout>
레이아웃을 위와 같이 만들었습니다.
그런데 이미지 버튼에 android:background="#a0000000" 를 넣으면 완전히 투명이 아니라 약간 어두운 투명이라고해야하나요?
그렇게 투명처리가 됩니다.
background 값이 잘못된걸까요?
어떤 부분을 제가 잘못하고 있는걸까요?



