mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-01-23 03:50:09 +01:00
add a shutter button to the preview
This commit is contained in:
parent
08ac980ec8
commit
56d71a1dbb
@ -10,4 +10,12 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginRight="@dimen/preview_btn_margin"
|
||||||
|
android:src="@mipmap/ic_launcher"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
<dimen name="activity_margin">16dp</dimen>
|
||||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
<dimen name="preview_btn_margin">32dp</dimen>
|
||||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user