summaryrefslogtreecommitdiff
path: root/src/res/layout/activity_auto_art.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/res/layout/activity_auto_art.xml')
-rw-r--r--src/res/layout/activity_auto_art.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/res/layout/activity_auto_art.xml b/src/res/layout/activity_auto_art.xml
new file mode 100644
index 0000000..760a1df
--- /dev/null
+++ b/src/res/layout/activity_auto_art.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ tools:context="org.neocities.autoart.autoart.AutoArt">
+
+ <TextView
+ android:text="@string/width_text"
+ android:textSize="20sp"
+ android:textColor="#000000"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="number"
+ android:id="@+id/image_width_edit"
+ android:layout_marginTop="20sp"
+ />
+ <TextView
+ android:text="@string/height_text"
+ android:textSize="20sp"
+ android:textColor="#000000"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/image_width_edit"
+ android:id="@+id/image_height_text"
+ />
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="number"
+ android:id="@+id/image_height_edit"
+ android:layout_below="@id/image_height_text"
+ />
+ <Button
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/create_button"
+ android:text="@string/create_button_text"
+ android:layout_below="@id/image_height_edit"
+ android:background="#beffbe"
+ />
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/create_button"
+ android:id="@+id/image_view"
+ />
+
+</RelativeLayout>