안녕하세요. 다음 그림중 처음 2개는 안드로이드 OS 설정화면에서 소리설정 부분인데요...
제가 만들고 있는 앱에서 이 설정화면과 똑같이 UI 를 구현해서 카메라 선택설정 기능을 구현하고 싶은데
잘되지 않습니다. 이와 똑같은 UI를 구성하려면 어떻게 해야하나요?
안드로이드 프로그램 책에 나와 있는데로 Spinner 만을 이용하니까 이렇게 나오지 않고
제일 마지막에 있는 화면처럼 나타납니다. 현재 설정되어 있는 값도 나오지 않고, 팝업창에 취소 바튼도 나타나지 않습니다.
스피너 만을 사용해서는 앞의 2개 그림과 같은 UI를 만들수 없는건가요? 여러개의 화면구성 요소를 짜집기해서
이런 화면을 만드들어야 하는 건가요??
* 워낙 초보이다 보니까 질문드립니다. 고수분이나 경험자의 너그러운 답변 부탁드립니다.


참고로 화면레이아웃 파일은 다음과 같습니다.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<Spinner
android:id="@+id/Spinner01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:entries="@array/cameras"
android:prompt="@string/camera_select_prompt"
android:contentDescription="@string/camera_select_desc"
/>
<Spinner
android:id="@+id/Spinner02"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:entries="@array/run_modes"
android:prompt="@string/run_mode_prompt"
android:contentDescription="@string/run_mode_desc"
/>
</LinearLayout>




preferenceactivity 를 공부하시면 저위의 화면 그대로 표현하실수 있을 것 같습니다.