diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/activity_main.xml | 42 | ||||
-rw-r--r-- | res/values/strings.xml | 9 | ||||
-rw-r--r-- | res/values/styles.xml | 6 |
3 files changed, 57 insertions, 0 deletions
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml new file mode 100644 index 0000000..0807716 --- /dev/null +++ b/res/layout/activity_main.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="vertical" +> + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + > + <RadioButton + android:id="@+id/radio_post" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/POST" + /> + <RadioButton + android:id="@+id/radio_put" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/PUT" + /> + </RadioGroup> + <!--<Button--> + <!--android:id="@+id/button_choose_file"--> + <!--android:layout_width="match_parent"--> + <!--android:layout_height="wrap_content"--> + <!--android:text="@string/submit"--> + <!--/>--> + <Button + android:id="@+id/button_submit" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/submit" + /> +</LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..c215c34 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,9 @@ +<resources> + <string name="app_name">Paste</string> + <string name="menu_settings">Settings</string> + <string name="title_activity_main">MainActivity</string> + <string name="content_hint">Content</string> + <string name="submit">Submit</string> + <string name="PUT">PUT</string> + <string name="POST">POST</string> +</resources> diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..96fe7ee --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,6 @@ +<resources> + <style name="app_style" parent="@android:style/Theme.Light"> + <item name="android:windowActionBar">true</item> + <item name="android:windowNoTitle">true</item> + </style> +</resources> |