Advertisement
ms_olin

Untitled

May 8th, 2017
1,449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.19 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:id="@+id/activity_main"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:paddingBottom="0dp"
  8.    android:paddingLeft="0dp"
  9.    android:paddingRight="0dp"
  10.    android:paddingTop="0dp"
  11.    tools:context="com.panelic.belajarkamera.MainActivity">
  12.     <Button
  13.        android:layout_width="wrap_content"
  14.        android:layout_height="wrap_content"
  15.        android:text="Take Picture"
  16.        android:id="@+id/take_picture"
  17.        android:layout_alignParentBottom="true"
  18.        android:layout_alignParentEnd="true"
  19.        android:layout_alignParentStart="true" />
  20.     <ImageView
  21.        android:layout_width="match_parent"
  22.        android:layout_height="match_parent"
  23.        android:id="@+id/captured_photo"
  24.        android:layout_above="@id/take_picture"
  25.        android:layout_alignParentTop="true"
  26.        android:layout_alignParentLeft="true"
  27.        android:contentDescription="captured image"
  28.        android:layout_alignParentStart="true" />
  29. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement