0
나는 텍스트 항목의 목록보기가 있습니다. 목록보기의 불투명도 (알파)를 줄이려고합니다. 내가 알파를 설정하면 다음 텍스트 및 레이아웃 색상을 줄일 수 있지만, 내 requirment에 내 코드는 예를 여기 에 대한 .. 목록보기의 배경 색상을 줄일 수있다 ....android에서 사용자 정의 목록보기의 불투명도를 줄이는 방법
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:listSelector="@android:color/transparent"
android:background="@drawable/bg"
>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<!-- <EditText android:id="@+id/inputSearch"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Search Remedy.."
android:inputType="textVisiblePassword"/> android:listSelector="@drawable/list_selector"-->
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="#b5b5b5"
android:dividerHeight="0.5dp"
android:background="@drawable/list_selector"
/>
</LinearLayout>
</ScrollView>
</RelativeLayout>