diff options
author | goblin911 <[email protected]> | 2013-08-23 16:00:07 +0800 |
---|---|---|
committer | goblin911 <[email protected]> | 2013-08-23 16:00:07 +0800 |
commit | a33ed0eabe94748b7ff6604af58dd25a0024bf04 (patch) | |
tree | 4ac529d124af56eaa689d498a32c52663e845267 /client/activity-demo/Piztor/res/layout | |
parent | 40592c2ae7506bfb4694f59f3b4825099acdcd0e (diff) |
asdf
Diffstat (limited to 'client/activity-demo/Piztor/res/layout')
-rw-r--r-- | client/activity-demo/Piztor/res/layout/activity_main.xml | 44 | ||||
-rw-r--r-- | client/activity-demo/Piztor/res/layout/activity_running.xml | 14 |
2 files changed, 58 insertions, 0 deletions
diff --git a/client/activity-demo/Piztor/res/layout/activity_main.xml b/client/activity-demo/Piztor/res/layout/activity_main.xml new file mode 100644 index 0000000..075a1f6 --- /dev/null +++ b/client/activity-demo/Piztor/res/layout/activity_main.xml @@ -0,0 +1,44 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + + <EditText + android:id="@+id/username" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ems="10" + android:inputType="textPersonName" > + + <requestFocus /> + </EditText> + + <EditText + android:id="@+id/password" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ems="10" + android:inputType="textPassword" /> + + <Button + android:id="@+id/login" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="login" /> + + <EditText + android:id="@+id/ip" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ems="10" /> + + <EditText + android:id="@+id/port" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ems="10" /> + +</LinearLayout> diff --git a/client/activity-demo/Piztor/res/layout/activity_running.xml b/client/activity-demo/Piztor/res/layout/activity_running.xml new file mode 100644 index 0000000..f52531a --- /dev/null +++ b/client/activity-demo/Piztor/res/layout/activity_running.xml @@ -0,0 +1,14 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + + <com.example.piztor.MyView + android:id="@+id/view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + +</LinearLayout>
\ No newline at end of file |