왜 디자인상의 문제가 있는지 잘 모릅니다. 그게 내가 여기있는 이유입니다. 여기 이미지와 코드가 있습니다. 바라건대 너희들이 나를 도울 수 있기를 바랍니다.TableRow의 내용이 화면 크기를 넘어서고 있습니다.
는http://i60.tinypic.com/fwr8mh.jpg (이미지 링크)
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2:00 [Extended]"
android:textColor="#ffffff" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/light" />
</TableRow>
감사합니다. [현재 코드] 요청으로
: 당신이 자신의 위치를 제어 할 수
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#2f4f4f" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#36444e" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Brewing:"
android:textColor="#ffff00" />
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#36444e" >
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/ghasttear" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#36444e" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="32dp"
android:layout_weight="1"
android:src="@drawable/brewingarrow" />
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#36444e" >
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity=""
android:layout_weight="1"
android:src="@drawable/waterbottle" />
</TableRow>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#ffffff" />
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Potion Time"
android:textColor="#ffffff" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="0:45 [Non-Extended]"
android:textColor="#ffffff" />
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="2:00 [Extended]"
android:textColor="#ffffff"
android:ellipsize="end" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/light" />
</TableRow>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#ffffff" />
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Potion Description"
android:textColor="#ffffff" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_horizontal"
android:text="Poyion time lasts for 0:45 when not extended."
android:textColor="#ffffff" />
</TableRow>
</TableLayout>
</RelativeLayout>
</RelativeLayout>
이미지가 보이지 않습니다. 링크가 작동하지 않습니다. – joao2fast4u
가벼운 드로어 블이 너무 큽니까? – joao2fast4u
@ joao2fast4u : 그것은 단지 작습니다. 내가 더 크게 만들자. – RepeaterCreeper