Advertisement
Guest User

activity_main.xml

a guest
Apr 30th, 2014
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. <FrameLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:background="@drawable/flashlight_background"
  7. tools:context=".MainActivity" >
  8.  
  9. <SurfaceView
  10. android:id="@+id/PREVIEW"
  11. android:layout_width="1dip"
  12. android:layout_height="1dip" />
  13.  
  14. <ImageButton
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:id="@+id/power_button"
  18. android:background="@null"
  19. android:src="@drawable/flashlight_off"
  20. android:layout_gravity="center"
  21. android:adjustViewBounds="false" />
  22.  
  23. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement