Button to activate flash

Adding button to activate/deactivate flash during the capturing the phase.
This commit is contained in:
micaTewe
2015-09-15 00:50:42 +02:00
committed by Daniel Cousens
parent c80f254496
commit 9a365ce13c
4 changed files with 169 additions and 23 deletions

View File

@@ -48,6 +48,15 @@
android:gravity="center_vertical"
android:background="#ff0000" />
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:onClick ="toggleFlash"
android:text="Flash" />
</RelativeLayout>
</FrameLayout>