res/layout/contactlistsettings.xml
author Philippe Lago <lago_p@epitech.net>
Tue, 21 Apr 2009 14:39:00 +0200
changeset 111 d0fab932cb6e
parent 110 f9be2a11c4c1
child 114 a40f65ceeb1a
permissions -rw-r--r--
Class et layout ChangeStatus pour bart + modification des layout pour gerer le mode paysage

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
        >
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
            >
        <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Host/Port:"
                android:minWidth="90dp"
                />
                
        <EditText android:id="@+id/host"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:singleLine="true"
                  android:textSize="16sp"
                  android:autoText="false"
                  android:capitalize="none"
                  android:layout_weight="2"
                  android:scrollHorizontally="true"/>
        <EditText android:id="@+id/port"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:singleLine="true"
                  android:textSize="16sp"
                  android:autoText="false"
                  android:capitalize="none"
                  android:layout_weight="3"
                  android:scrollHorizontally="true"/>
    </LinearLayout>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
            >
        <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Userid:"
                android:minWidth="90dp"
                />
        <EditText android:id="@+id/userid"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:singleLine="true"
                  android:textSize="16sp"
                  android:autoText="false"
                  android:capitalize="none"
                  android:scrollHorizontally="true"/>
    </LinearLayout>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
            >
        <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Password:"
                android:minWidth="90dp"
                />
        <EditText android:id="@+id/password"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:singleLine="true"
                  android:password="true"
                  android:textSize="16sp"
                  android:autoText="false"
                  android:capitalize="none"
                  android:scrollHorizontally="true"/>
    </LinearLayout>

    <Button android:id="@+id/ok"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:text="OK">
        <requestFocus/>
    </Button>
</LinearLayout>