안드로이드 개발 질문/답변
(글 수 45,052)
<-- img_borer.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line" >
<stroke android:width="0dp" android:color="#ff888888"/>
<solid android:color="#BCBCBC" />
<corners android:radius="10dp"/>
</shape>
따로 테두리를 xml 파일로 만들어서
<ScrollView
android:scrollbarStyle="insideOverlay"
android:layout_width="fill_parent"
android:layout_height="80dp"
android:layout_gravity="bottom"
android:background="@drawable/img_borer"
>
이렇게 넣어보니 스크롤 뷰의 테두리에 않칠해져욤..ㅠ.ㅠ 이게 이미지 화면위에 스크롤뷰를 띠워서 테두리를 치려고 하거든요..ㅠ.ㅠ
dip 크기를 조정해야 하나요...? 어떻게 방법점...ㅠ.ㅠㅋ
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line" >
<stroke android:width="0dp" android:color="#ff888888"/>
<solid android:color="#BCBCBC" />
<corners android:radius="10dp"/>
</shape>
따로 테두리를 xml 파일로 만들어서
<ScrollView
android:scrollbarStyle="insideOverlay"
android:layout_width="fill_parent"
android:layout_height="80dp"
android:layout_gravity="bottom"
android:background="@drawable/img_borer"
>
이렇게 넣어보니 스크롤 뷰의 테두리에 않칠해져욤..ㅠ.ㅠ 이게 이미지 화면위에 스크롤뷰를 띠워서 테두리를 치려고 하거든요..ㅠ.ㅠ
dip 크기를 조정해야 하나요...? 어떻게 방법점...ㅠ.ㅠㅋ




스크롤뷰에 뭐 넣으시면, 위 xml 처럼 모든 영역을 child 가 사용하기 때문에
스크롤뷰가 무슨색을 칠해도 안 보이겠죠.