Button to activate flash
Adding button to activate/deactivate flash during the capturing the phase.
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user