3
환경 설정 화면을 시작하기위한 신청서를 작성 중입니다. 첫 번째 항목은 단지 환경 설정입니다. 두 번째 항목은 오른쪽에 아이콘이있는 환경 설정입니다. 두 번째 항목을 수행하기 위해, 내가 한 것은 텍스트보기와 이미지보기가있는 레이아웃을 호출하는 것입니다.환경 설정 화면에서 문자 크기 문제
<Preference
android:key="advanced_settings"
android:persistent="false"
android:layout="@layout/main"
메인 레이아웃은 다음과 같습니다
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="Advanced settings"
/>
<ImageView android:id="@+id/imageview1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:src="@drawable/ic_bt_config"
/>
</RelativeLayout>
그러나 그것은 텍스트 디스플레이를 볼 수 있습니다 응용 프로그램의 출시 후
텍스트 크기가 작다이고, 공간은 다른 공간과 호환되지 않습니다. 나는 하드 코딩을하고 싶지 않다.기본 설정 화면의 두 번째 항목을 첫 번째 항목과 동일한 형식으로 만들려면 어떻게 도와주십시오.