/CVox/res/layout/item_script.xml

http://eyes-free.googlecode.com/ · XML · 52 lines · 31 code · 5 blank · 16 comment · 0 complexity · 51c5c64f72c7b6eb7c64408602224000 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2008 Jeffrey Sharkey, http://jsharkey.org/
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  16. android:layout_width="fill_parent"
  17. android:layout_height="wrap_content"
  18. android:paddingLeft="15dip" android:paddingRight="10dip"
  19. android:paddingTop="8dip" android:paddingBottom="8dip">
  20. <TextView
  21. android:id="@+id/script_title"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:paddingRight="40dip"
  25. android:textAppearance="?android:attr/textAppearanceMedium"
  26. />
  27. <TextView
  28. android:id="@+id/script_descrip"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_below="@id/script_title"
  32. android:paddingRight="40dip"
  33. android:textAppearance="?android:attr/textAppearanceSmall"
  34. />
  35. <CheckBox
  36. android:id="@+id/script_enabled"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_alignTop="@id/script_title"
  40. android:layout_alignParentRight="true"
  41. android:clickable="false"
  42. android:focusable="false"
  43. />
  44. </RelativeLayout>