/androidsays/res/layout-port/widget_contents_2x2.xml

http://eyes-free.googlecode.com/ · XML · 57 lines · 42 code · 4 blank · 11 comment · 0 complexity · c21bc3e3d2effca6c8b4176f3fdd169d MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2009 The Android Open Source Project Licensed under the
  4. Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the
  6. License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
  7. by applicable law or agreed to in writing, software distributed under
  8. the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  9. CONDITIONS OF ANY KIND, either express or implied. See the License for
  10. the specific language governing permissions and limitations under the
  11. License.
  12. -->
  13. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  14. android:id="@+id/widget" android:layout_width="fill_parent"
  15. android:layout_height="wrap_content" android:focusable="true"
  16. android:orientation="vertical" style="@style/WidgetBackground">
  17. <LinearLayout android:id="@+id/row_0"
  18. android:orientation="horizontal" android:layout_width="fill_parent"
  19. android:layout_height="wrap_content"
  20. android:paddingTop="14dip"
  21. android:paddingBottom="4dip"
  22. android:paddingLeft="14dip"
  23. android:paddingRight="14dip"
  24. >
  25. <ImageButton android:id="@+id/button00"
  26. android:layout_width="wrap_content" android:layout_height="wrap_content"
  27. android:paddingLeft="13dip" android:paddingRight="13dip"
  28. android:paddingBottom="23dip" android:paddingTop="23dip"
  29. android:src="@drawable/mini_flash" />
  30. <ImageButton android:id="@+id/button01"
  31. android:layout_width="wrap_content" android:layout_height="wrap_content"
  32. android:paddingLeft="13dip" android:paddingRight="13dip"
  33. android:paddingBottom="23dip" android:paddingTop="23dip"
  34. android:src="@drawable/mini_flash" />
  35. </LinearLayout>
  36. <LinearLayout android:id="@+id/row_1"
  37. android:orientation="horizontal" android:layout_width="fill_parent"
  38. android:layout_height="wrap_content"
  39. android:paddingLeft="14dip"
  40. android:paddingRight="14dip"
  41. >
  42. <ImageButton android:id="@+id/button02"
  43. android:layout_width="wrap_content" android:layout_height="wrap_content"
  44. android:paddingLeft="13dip" android:paddingRight="13dip"
  45. android:paddingBottom="23dip" android:paddingTop="23dip"
  46. android:src="@drawable/mini_flash" />
  47. <ImageButton android:id="@+id/button03"
  48. android:layout_width="wrap_content" android:layout_height="wrap_content"
  49. android:paddingLeft="13dip" android:paddingRight="13dip"
  50. android:paddingBottom="23dip" android:paddingTop="23dip"
  51. android:src="@drawable/mini_flash" />
  52. </LinearLayout>
  53. </LinearLayout>