add a shutter button to the preview

This commit is contained in:
tibbi 2016-04-15 19:29:30 +02:00
parent 08ac980ec8
commit 56d71a1dbb
2 changed files with 10 additions and 3 deletions

View File

@ -10,4 +10,12 @@
android:layout_width="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>

View File

@ -1,5 +1,4 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="activity_margin">16dp</dimen>
<dimen name="preview_btn_margin">32dp</dimen>
</resources>