diff options
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 |