diff options
author | Marvin Borner | 2018-08-31 02:03:59 +0200 |
---|---|---|
committer | Marvin Borner | 2018-08-31 02:03:59 +0200 |
commit | df994e4fe077dc643658dbd4c65845b0e086fc8a (patch) | |
tree | 448e7f4265a50cd12c8689e33ca01c4afa2bbc2f /app/src/main/res/layout | |
parent | e9dcc2b88ec1cb4a09e5f82e6aa91ad46ca13037 (diff) |
Added video button and began preview after image
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_camera.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_media_preview.xml | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_camera.xml b/app/src/main/res/layout/activity_camera.xml index 527db7c..d9b7a35 100644 --- a/app/src/main/res/layout/activity_camera.xml +++ b/app/src/main/res/layout/activity_camera.xml @@ -7,7 +7,7 @@ tools:context=".CameraActivity"> <Button - android:id="@+id/photo_button" + android:id="@+id/camera_button" android:layout_width="100dp" android:layout_height="100dp" android:layout_marginBottom="48dp" diff --git a/app/src/main/res/layout/activity_media_preview.xml b/app/src/main/res/layout/activity_media_preview.xml new file mode 100644 index 0000000..4996725 --- /dev/null +++ b/app/src/main/res/layout/activity_media_preview.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.constraint.ConstraintLayout 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" + tools:context=".MediaPreviewActivity"> + + <ImageView + android:id="@+id/imagePreview" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:contentDescription="Kwel image" + app:srcCompat="@drawable/ic_camera_black_24dp" /> +</android.support.constraint.ConstraintLayout>
\ No newline at end of file |