안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요 ListView 쓰고 있는데..... 조금 이상한 질문을 해봅니다 >_<
XML 을 아래처럼 쓰고 있는데요 ListView 마지막선 색깔때문에...여쭤 봅니다...
LinearLayout 쓰고 그밑에 ... RelativeLayout 을써서... ListView 밑에 버튼을 쓰고있는데 버튼위에 ListView가...
선색깔좀 바꾸고 싶어서요.....사진보시면..확실히 이상하게 보입니다... 혹시....마지막 선색깔 바꾸는법을 알수있을까요??
참고로 divider 는 쓰고 있습니다 ㅡㅡ''
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="370dip"
android:background="#ffffff"
>
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="vertical"
android:divider="#eaeaea"
android:dividerHeight="1dip"
>
</ListView>
</LinearLayout>
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="50dip"
android:background="#ffffff">
<Button
android:text="Back"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:id="@+id/Backbtn01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Button
android:text="Next"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:id="@+id/Nextbtn01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>
</LinearLayout>
<RelativeLayout android:layout_width="fill_parent"
android:background="#A0A0A0"
android:id="@+id/xxx"
android:layout_height="54dip"
android:layout_alignParentBottom="true" android:visibility="gone">
<Button
android:id="@+id/xxx"
android:text="@string/Delete"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:textSize="22dp"
android:textColor="#000000"
android:layout_marginTop="10dp"
android:bufferType="normal"
android:layout_alignParentBottom="true">
</Button>
</RelativeLayout>
이런식으루요.