Anda di halaman 1dari 2

<RelativeLayout xmlns:android= http://schemas.android.

com/apk/res/android&#8221;
xmlns:tools= http://schemas.android.com/tools&#8221;
android:layout_width= fill_parent
android:layout_height= fill_parent
tools:context= .CameraPhotoCapture

>

<Button
android:id= @+id/btn1?
android:layout_width= wrap_content
android:layout_height= wrap_content
android:layout_alignParentBottom= true
android:layout_centerHorizontal= true
android:layout_marginBottom= 42dp
android:text= Save As Wallpaper

/>

<Button
android:id= @+id/btn_pilih
android:layout_width= wrap_content
android:layout_height= wrap_content
android:layout_above= @+id/btn1?
android:layout_alignLeft= @+id/btn1?
android:layout_alignRight= @+id/btn1?
android:text= Ambil Photo />
<ImageView
android:id= @+id/imageView1?
android:layout_width= wrap_content
android:layout_height= wrap_content
android:layout_alignParentTop= true
android:layout_centerHorizontal= true
android:layout_marginTop= 144dp
android:src= @drawable/ic_launcher />
</RelativeLayout>
<! <RelativeLayout xmlns:android= http://schemas.android.com/apk/res/android&#8221;
xmlns:tools= http://schemas.android.com/tools&#8221;
android:layout_width= match_parent
android:layout_height= match_parent
android:padding= 10dp
tools:context= .MainActivity
<ImageView
android:id= @+id/img_set

>

android:layout_width= wrap_content
android:layout_height= wrap_content
android:background=
android:layout_marginTop= 10dp />
<Button
android:id= @+id/btn_pilih
android:layout_width= fill_parent
android:layout_height= wrap_content
android:layout_alignParentBottom= true
android:layout_alignParentLeft= true
android:layout_marginBottom= 80dp
android:text= Ambil Gambar
</RelativeLayout> >

/>

Anda mungkin juga menyukai