root/trunk/03.LayoutTest/res/layout/relativelayout.xml

리비전 11, 1.1 kB (mefour에 의해 체크인됨, 15 년 전)

--

Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout
3   xmlns:android="http://schemas.android.com/apk/res/android"
4   android:layout_width="wrap_content"
5   android:layout_height="wrap_content">
6  
7   <TextView
8         android:id="@+id/tv"
9         android:layout_width="wrap_content"
10         android:layout_height="wrap_content"
11         android:text="@string/hello"/>
12  
13   <EditText
14         android:id="@+id/et"
15         android:layout_width="wrap_content"
16         android:layout_height="wrap_content"
17         android:text="����������
18         android:layout_alignParentBottom="true"
19         android:layout_alignParentRight="true"
20         />
21        
22   <Button
23         android:id="@+id/b1"
24         android:layout_width="wrap_content"
25         android:layout_height="wrap_content"
26         android:text="���"
27         android:layout_toRightOf="@+id/tv"
28         android:layout_below="@+id/tv"
29         />
30        
31         <Button
32         android:id="@+id/b2"
33         android:layout_width="wrap_content"
34         android:layout_height="wrap_content"
35         android:text="�щ�遺�� 踰��" 
36         android:layout_toLeftOf="@+id/et"
37         android:layout_above="@+id/et"
38         /><!-- et瑜�湲곗��쇰� �몄そ/��� �ㅺ�湲����. -->
39   </RelativeLayout>
참고: 소스 브라우저를 사용하면서 도움이 필요하다면, TracBrowser를 참고하십시오.