/magnify/res/layout/zoom.xml

http://eyes-free.googlecode.com/ · XML · 34 lines · 28 code · 6 blank · 0 comment · 0 complexity · 0c2cc4cc1da67323e175fa63dbb3bacf MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent">
  5. <com.google.marvin.magnify.ContrastView
  6. android:id="@+id/contrast"
  7. android:layout_width="fill_parent"
  8. android:layout_height="fill_parent"/>
  9. <LinearLayout
  10. android:orientation="horizontal"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_alignParentBottom="true"
  14. android:layout_margin="10sp" android:layout_centerHorizontal="true">
  15. <ZoomButton
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:id="@+id/btn_zoom_down"
  19. android:src="@drawable/btn_zoom_down"
  20. android:hapticFeedbackEnabled="true"/>
  21. <ZoomButton
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:id="@+id/btn_zoom_up"
  25. android:src="@drawable/btn_zoom_up"
  26. android:hapticFeedbackEnabled="true"/>
  27. </LinearLayout>
  28. </RelativeLayout>