Last active
February 15, 2018 15:14
-
-
Save adityajoshi12/99f411e02b37e32bdb227c7ea19f5962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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="?attr/actionBarSize" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
> | |
<Button | |
android:id="@+id/btnTakePicture" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:onClick="takePicture_Click" | |
android:text="Take Picture" /> | |
<ImageView | |
android:id="@+id/img_camera" | |
android:layout_width="200dip" | |
android:layout_height="200dip" | |
android:layout_below="@+id/btnTakePicture" | |
android:layout_centerHorizontal="true" | |
android:layout_margin="5dp" | |
tools:src="@mipmap/abc1" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment