Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FrameLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@drawable/flashlight_background"
- tools:context=".MainActivity" >
- <SurfaceView
- android:id="@+id/PREVIEW"
- android:layout_width="1dip"
- android:layout_height="1dip" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/power_button"
- android:background="@null"
- android:src="@drawable/flashlight_off"
- android:layout_gravity="center"
- android:adjustViewBounds="false" />
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement