diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-03-07 18:19:37 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2013-06-21 17:28:03 -0700 |
commit | 0fb6959ad364ee84e83c435d671228fb365f2084 (patch) | |
tree | c42238cf41c351aa7550599e13f308e7b9f0fae3 /PrintApp/res | |
parent | c861cbe15d3f6cf28aede372e81cb19fd46e3114 (diff) | |
download | experimental-0fb6959ad364ee84e83c435d671228fb365f2084.tar.gz |
Print - print services
Change-Id: Iaf7cd0b49797721420a28fbecfd3f6557c35e64d
Diffstat (limited to 'PrintApp/res')
-rw-r--r-- | PrintApp/res/drawable-hdpi/ic_launcher.png | bin | 0 -> 3014 bytes | |||
-rw-r--r-- | PrintApp/res/drawable-ldpi/ic_launcher.png | bin | 0 -> 1504 bytes | |||
-rw-r--r-- | PrintApp/res/drawable-mdpi/ic_launcher.png | bin | 0 -> 1969 bytes | |||
-rw-r--r-- | PrintApp/res/drawable-xhdpi/ic_launcher.png | bin | 0 -> 4006 bytes | |||
-rw-r--r-- | PrintApp/res/layout/activity_main.xml | 124 | ||||
-rw-r--r-- | PrintApp/res/menu/activity_main.xml | 10 | ||||
-rw-r--r-- | PrintApp/res/values/strings.xml | 11 |
7 files changed, 145 insertions, 0 deletions
diff --git a/PrintApp/res/drawable-hdpi/ic_launcher.png b/PrintApp/res/drawable-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..a301d57 --- /dev/null +++ b/PrintApp/res/drawable-hdpi/ic_launcher.png diff --git a/PrintApp/res/drawable-ldpi/ic_launcher.png b/PrintApp/res/drawable-ldpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..2c2a58b --- /dev/null +++ b/PrintApp/res/drawable-ldpi/ic_launcher.png diff --git a/PrintApp/res/drawable-mdpi/ic_launcher.png b/PrintApp/res/drawable-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..f91f736 --- /dev/null +++ b/PrintApp/res/drawable-mdpi/ic_launcher.png diff --git a/PrintApp/res/drawable-xhdpi/ic_launcher.png b/PrintApp/res/drawable-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..96095ec --- /dev/null +++ b/PrintApp/res/drawable-xhdpi/ic_launcher.png diff --git a/PrintApp/res/layout/activity_main.xml b/PrintApp/res/layout/activity_main.xml new file mode 100644 index 0000000..8a3c72a --- /dev/null +++ b/PrintApp/res/layout/activity_main.xml @@ -0,0 +1,124 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/content" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".MainActivity" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/name"> + </TextView> + + <EditText + android:layout_width="1150dip" + android:layout_height="wrap_content" + android:hint="@string/enter_name"> + </EditText> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/done"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/name"> + </TextView> + + <EditText + android:layout_width="1150dip" + android:layout_height="wrap_content" + android:hint="@string/enter_name"> + </EditText> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/done"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/name"> + </TextView> + + <EditText + android:layout_width="1150dip" + android:layout_height="wrap_content" + android:hint="@string/enter_name"> + </EditText> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/done"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/name"> + </TextView> + + <EditText + android:layout_width="1150dip" + android:layout_height="wrap_content" + android:hint="@string/enter_name"> + </EditText> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/done"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/name"> + </TextView> + + <EditText + android:layout_width="1150dip" + android:layout_height="wrap_content" + android:hint="@string/enter_name"> + </EditText> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/done"/> + + </LinearLayout> + +</LinearLayout> diff --git a/PrintApp/res/menu/activity_main.xml b/PrintApp/res/menu/activity_main.xml new file mode 100644 index 0000000..31bb883 --- /dev/null +++ b/PrintApp/res/menu/activity_main.xml @@ -0,0 +1,10 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/menu_settings" + android:title="@string/menu_settings" + android:orderInCategory="100" + android:showAsAction="never" /> + <item android:id="@+id/menu_print" + android:title="@string/print" + android:orderInCategory="100" + android:showAsAction="never" /> +</menu> diff --git a/PrintApp/res/values/strings.xml b/PrintApp/res/values/strings.xml new file mode 100644 index 0000000..352494a --- /dev/null +++ b/PrintApp/res/values/strings.xml @@ -0,0 +1,11 @@ +<resources> + + <string name="app_name">Print</string> + <string name="menu_settings">Settings</string> + <string name="title_activity_main">MainActivity</string> + <string name="print">Print</string> + <string name="name">Name</string> + <string name="enter_name">Enter your name</string> + <string name="done">Done</string> + +</resources>
\ No newline at end of file |