나는이 레이아웃 XML로 레이아웃을합니다 와 나는 모든 화면에서 (2.7in, 3.2in, 3.7in, 4 인치 .....) 3 텍스트 뷰가 있다는 문제가있다 화면의 다른 위치에서 찾습니다.안드로이드 레이아웃 문제는 크기
<?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" android:background="@drawable/profile2">
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/uph"
android:layout_gravity="top|center" android:layout_marginTop="-10dp"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" android:layout_marginTop="315dp">
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/str_phone2"
android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/black" android:textSize="15dp" android:layout_marginLeft="10dp" android:onClick="onClick2"/>
<TextView
android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:onClick="onClick1"
android:text="@string/str_phone"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/black"
android:textSize="15dp" />
</LinearLayout>
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="80dp"
android:onClick="onClickEmail"
android:text="@string/str_email"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/black"
android:textSize="15dp" android:layout_marginTop="19dp"/>
</LinearLayout>
? 레이아웃을 원하는대로 표시 할 수 있다면 문제가 무엇인지 알 수 있습니다. 루트 레이아웃 인 – Mimminito
?? .. 내가 정의로 나는 배경 이미지 레이아웃을 갖고 싶어 –
, 3 텍스트 뷰, 제 1 및 서로 수평 두 번째 필요성과 컨트롤에 수정 크기를 제공하지 않습니다 그들 – MTA