0
각 기기의 해상도마다 안드로이드 LinearLayout
을 사용합니다. 이 방법은 수직 레이아웃 문제 해결 다른 해상도.안드로이드 레이아웃 세로/가로 가중치
하지만 가로 레이아웃 문제를 해결할 수 없습니다. 내 레이아웃이야. 이런 레이아웃을 빌드하고 싶습니다. 내가 마진/오른쪽에서 왼쪽 그러나 이것은 다른 해상도에서 작동하지되어 사용이 경우
.TextView
는 해상도 관련 장소입니까?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<TextView
android:id="@+id/titleView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="9"
android:gravity="center"
android:text="TextView"
android:textColor="#5a5856"
android:textSize="35sp" />
<TextView
android:id="@+id/wordDafinitionView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:textSize="17sp"
android:layout_marginLeft="25dp"
android:layout_marginRight="30dp"
android:text="TextView"
android:textColor="#5a5856" />
<TextView
android:id="@+id/TextView01"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="9"
android:gravity="center"
android:text="TextView"
android:textColor="#5a5856"
android:textSize="35sp" />
</LinearLayout>
당신의'screenshot'은'Referral Denied'라고 말합니다 –