Skip to content

Commit 16efc01

Browse files
author
Gary Hua
committed
fix the layout issue in larger screen
1 parent 15aa813 commit 16efc01

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

res/layout/main.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
android:orientation="vertical" >
2222

2323
<LinearLayout
24-
android:layout_width="wrap_content"
24+
android:layout_width="fill_parent"
2525
android:layout_height="0dip"
2626
android:layout_weight="1"
2727
android:background="@drawable/background"
@@ -164,15 +164,14 @@
164164
</LinearLayout>
165165

166166
<LinearLayout
167-
android:layout_width="wrap_content"
167+
android:layout_width="fill_parent"
168168
android:layout_height="wrap_content"
169-
android:background="@drawable/background_key"
170-
android:orientation="horizontal" >
169+
android:gravity="center"
170+
android:background="@drawable/background_key" >
171171

172172
<LinearLayout
173173
android:layout_width="wrap_content"
174174
android:layout_height="wrap_content"
175-
android:layout_gravity="center"
176175
android:orientation="horizontal" >
177176

178177
<ImageButton

0 commit comments

Comments
 (0)