1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 android:orientation="vertical" |
3 android:orientation="vertical" |
4 android:layout_width="fill_parent" |
4 android:layout_width="fill_parent" |
5 android:layout_height="fill_parent" |
5 android:layout_height="fill_parent"> |
6 > |
6 |
7 <TextView |
7 <ImageView android:id="@+id/logo" |
8 android:layout_width="fill_parent" |
8 android:src="@drawable/logo" |
9 android:layout_height="wrap_content" |
9 android:adjustViewBounds="true" |
10 android:text="Hello World, Beem" |
10 android:layout_width="wrap_content" |
11 /> |
11 android:layout_height="wrap_content"/> |
|
12 |
|
13 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
14 android:orientation="horizontal" |
|
15 android:layout_width="fill_parent" |
|
16 android:layout_height="wrap_content"> |
|
17 <TextView android:text=" JID : " |
|
18 android:layout_width="wrap_content" |
|
19 android:layout_height="wrap_content" /> |
|
20 <EditText android:id="@+id/jid" |
|
21 android:minWidth="300dp" |
|
22 android:layout_width="wrap_content" |
|
23 android:layout_height="wrap_content" |
|
24 android:singleLine="true" |
|
25 android:scrollHorizontally="true" /> |
|
26 </LinearLayout> |
|
27 |
|
28 <EditText android:id="@+id/server" |
|
29 android:layout_width="fill_parent" |
|
30 android:layout_height="wrap_content" |
|
31 android:password="true" |
|
32 android:text="_password_" /> |
|
33 |
|
34 <Button android:id="@+id/Connection" |
|
35 android:layout_width="fill_parent" |
|
36 android:layout_height="wrap_content" |
|
37 android:text="Connection" /> |
|
38 |
12 </LinearLayout> |
39 </LinearLayout> |
13 |
40 |