Advertisement
Guest User

layout

a guest
Oct 20th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  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. android:alignmentMode="alignBounds"
  6. android:background="#EFFFEF">
  7.  
  8. <ProgressBar
  9. android:id="@+id/pbHeaderProgress"
  10. android:layout_centerInParent="true"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"></ProgressBar>
  13.  
  14.  
  15. <TextView
  16. android:id="@+id/firstTitle"
  17. android:text="First title dasd as dasd asd as da dsa dasd asd asd asd sad dasd asdasd dad ada sda"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:maxWidth="@dimen/activity_offer_titles_max_width"
  21. android:paddingTop="5dp"
  22. android:paddingLeft="5dp"
  23. android:paddingRight="5dp"
  24. android:textColor="#114411"
  25. android:textSize="13dp"
  26. android:layout_alignParentTop="true"
  27. android:textIsSelectable="true"
  28. android:layout_alignParentLeft="true" />
  29.  
  30. <ImageView
  31. android:id="@+id/icon"
  32. android:layout_width="50dp"
  33. android:layout_height="50dp"
  34. android:layout_alignParentTop="true"
  35. android:layout_alignParentRight="true" />
  36.  
  37. <TextView
  38. android:id="@+id/secondTitle"
  39. android:text="Second title dasd as dasd asd as da dsa dasd asd asd asd sad dasd asdasd dad ada sda"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:maxWidth="@dimen/activity_offer_titles_max_width"
  43. android:paddingTop="5dp"
  44. android:paddingLeft="@dimen/activity_offer_normal_padding_left"
  45. android:paddingRight="3dp"
  46. android:textColor="#114411"
  47. android:textSize="18dp"
  48. android:textIsSelectable="true"
  49. android:layout_below="@+id/firstTitle" />
  50.  
  51.  
  52. <TextView
  53. android:id="@+id/description"
  54. android:text="Large description dsad asdsa das d asda sdas das das das das das asd asdasd asdasada dsd as dada"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:paddingTop="5dp"
  58. android:paddingLeft="@dimen/activity_offer_normal_padding_left"
  59. android:paddingRight="3dp"
  60. android:maxWidth="@dimen/activity_offer_other_max_width"
  61. android:textColor="#114411"
  62. android:textSize="16dp"
  63. android:textIsSelectable="true"
  64. android:layout_below="@+id/secondTitle" />
  65.  
  66. <!--
  67. <LinearLayout
  68. android:id="@+id/othersList"
  69. android:orientation="horizontal"
  70. android:layout_width="fill_parent"
  71. android:layout_height="30dp"
  72. android:paddingTop="5dp"
  73. android:paddingLeft="@dimen/activity_offer_normal_padding_left"
  74. android:paddingRight="3dp"
  75. android:layout_alignParentLeft="true"
  76. android:layout_alignParentStart="true"
  77. android:layout_below="@+id/description"></LinearLayout>
  78. -->
  79. <TableLayout
  80. android:id="@+id/othersList"
  81. android:orientation="horizontal"
  82. android:layout_width="fill_parent"
  83. android:layout_height="wrap_content"
  84. android:paddingTop="5dp"
  85. android:paddingLeft="@dimen/activity_offer_normal_padding_left"
  86. android:paddingRight="3dp"
  87. android:layout_alignParentLeft="true"
  88. android:layout_alignParentStart="true"
  89. android:layout_below="@+id/description"></TableLayout>
  90.  
  91. <Button
  92. android:id="@+id/goto_url"
  93. android:text="Go to the web"
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_marginTop="5dp"
  97. android:paddingTop="5dp"
  98. android:paddingLeft="@dimen/activity_offer_normal_padding_left"
  99. android:paddingRight="3dp"
  100. android:maxWidth="@dimen/activity_offer_other_max_width"
  101. android:textColor="#114411"
  102. android:textSize="16dp"
  103. android:layout_below="@+id/othersList" />
  104.  
  105. <!--<HorizontalScrollView
  106. android:id="@+id/horizontalScrollView1"
  107. android:layout_width="wrap_content"
  108. android:layout_height="wrap_content"
  109. android:layout_below="@+id/goto_url">
  110.  
  111. <LinearLayout
  112. android:id="@+id/images_layout"
  113. android:orientation="horizontal"
  114. android:layout_width="fill_parent"
  115. android:layout_height="200dp"
  116.  
  117. android:layout_alignParentLeft="true"
  118. android:layout_alignParentStart="true" />
  119. </HorizontalScrollView>
  120. -->
  121.  
  122. <LinearLayout
  123. android:id="@+id/images_layout"
  124. android:orientation="horizontal"
  125. android:layout_width="fill_parent"
  126. android:layout_height="200dp"
  127. android:layout_below="@+id/goto_url"
  128. android:layout_margin="0dp"
  129.  
  130. android:layout_alignParentLeft="true"
  131. android:layout_alignParentStart="true" />
  132.  
  133.  
  134. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement