diff options
author | Teddy <[email protected]> | 2013-08-23 21:15:01 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-23 21:15:01 +0800 |
commit | 9f239db4b690e648db9c3a2df6b0ee7f26edb0c2 (patch) | |
tree | ea4f14c857608acb637ddd27f1251d55d244b231 /client/activity-demo/Piztor/res/layout | |
parent | 12b1d4bc7e56c7de8bf325f702cff1ae114c4db0 (diff) | |
parent | e76d8dc824fddada5912eb838a49d77e7f73641e (diff) |
Merge branch 'master' of github.com:Determinant/piztor
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 |