/WebVox/res/layout-land/page_info.xml

http://eyes-free.googlecode.com/ · XML · 73 lines · 47 code · 10 blank · 16 comment · 0 complexity · 94f3e244450e21f2d38c813496b0e5b6 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2008 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <ScrollView
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:orientation="vertical" >
  18. <LinearLayout
  19. android:layout_width="fill_parent"
  20. android:layout_height="wrap_content"
  21. android:orientation="vertical" >
  22. <!-- Title: -->
  23. <TextView
  24. android:id="@+id/title"
  25. android:textStyle="bold"
  26. android:textSize="14sp"
  27. android:textColor="@color/white"
  28. android:layout_height="wrap_content"
  29. android:layout_width="wrap_content"
  30. android:layout_marginLeft="20dip"
  31. android:layout_marginRight="20dip"
  32. android:layout_marginTop="12dip"
  33. android:layout_marginBottom="12dip" />
  34. <!-- Address: -->
  35. <TableLayout
  36. android:layout_width="fill_parent"
  37. android:layout_height="wrap_content"
  38. android:shrinkColumns="1"
  39. android:orientation="vertical">
  40. <TableRow>
  41. <TextView
  42. android:id="@+id/address_header"
  43. android:text="@string/page_info_address"
  44. android:textSize="14sp"
  45. android:textColor="@color/white"
  46. android:gravity="left"
  47. android:layout_marginLeft="20dip"
  48. android:layout_marginRight="20dip" />
  49. <TextView
  50. android:id="@+id/address"
  51. android:textSize="14sp"
  52. android:textColor="@color/white"
  53. android:gravity="left"
  54. android:layout_marginLeft="10dip"
  55. android:layout_marginRight="20dip"
  56. android:layout_marginBottom="12dip" />
  57. </TableRow>
  58. </TableLayout>
  59. </LinearLayout>
  60. </ScrollView>