Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/drawer_layout"
  4. android:background="#000000ff"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <!-- As the main content view, the view below consumes the entire
  8. space available using match_parent in both dimensions. -->
  9. <!--
  10. <RelativeLayout xmlns:p1="http://schemas.android.com/apk/res/android"
  11. p1:layout_width="match_parent"
  12. p1:layout_height="match_parent"
  13. p1:id="@+id/relativeLayout1">
  14. <ImageView
  15. p1:layout_width="0dp"
  16. p1:layout_height="100dp"
  17. android:layout_alignParentTop="true"
  18. android:layout_alignParentLeft="true"
  19. android:layout_alignParentRight="true"
  20. p1:id="@+id/imageView1"
  21. p1:layout_marginBottom="2.5dp" />
  22. <LinearLayout
  23. p1:orientation="horizontal"
  24. p1:layout_width="match_parent"
  25. p1:layout_height="152.8dp"
  26. p1:layout_below="@id/imageView1"
  27. android:gravity="left"
  28. p1:id="@+id/linearLayout1">
  29. <Button
  30. p1:text="Procurar"
  31. p1:layout_width="0dp"
  32. p1:layout_height="match_parent"
  33. android:layout_weight="1"
  34. p1:id="@+id/button1" />
  35. <Button
  36. p1:text="Agendar"
  37. p1:layout_width="0dp"
  38. p1:layout_height="match_parent"
  39. android:layout_weight="1"
  40. p1:id="@+id/button2" />
  41. </LinearLayout>
  42.  
  43. </RelativeLayout>-->
  44.  
  45. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  46. android:layout_width="fill_parent"
  47. android:layout_height="fill_parent"
  48. android:id="@+id/sdgfswdg">
  49. <LinearLayout
  50. android:orientation="vertical"
  51. android:layout_width="match_parent"
  52. android:layout_height="match_parent"
  53. android:id="@+id/mainLayout"
  54. android:weightSum="4"
  55. android:layout_margin="0dp">
  56.  
  57. <LinearLayout
  58. android:layout_weight="3"
  59. android:orientation="vertical"
  60. android:layout_width="match_parent"
  61. android:layout_height="0dp"
  62. android:id="@+id/topLayout">
  63. <RelativeLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="match_parent"
  66. android:id="@+id/relativeLayout1">
  67. <ImageView
  68. android:adjustViewBounds="true"
  69. android:scaleType="centerCrop"
  70. android:src="@drawable/church"
  71. android:layout_width="fill_parent"
  72. android:layout_height="fill_parent"
  73. android:id="@+id/imageView1"/>
  74.  
  75. <TextView
  76. android:text="São Roque"
  77. android:id="@+id/textIgreja"
  78. android:textAppearance="?android:attr/textAppearanceLarge"
  79. android:layout_width="230.5dp"
  80. android:layout_height="wrap_content"
  81. android:paddingLeft="55dp"
  82. android:textColor="#ffffff"
  83. android:paddingBottom="80dp"
  84. android:layout_alignParentBottom="true"/>
  85.  
  86. <TextView
  87. android:text="Lisboa"
  88. android:id="@+id/textCity"
  89. android:textAppearance="?android:attr/textAppearanceSmall"
  90. android:layout_width="230.5dp"
  91. android:layout_height="wrap_content"
  92. android:textColor="#ffffff"
  93. android:paddingLeft="55dp"
  94. android:paddingBottom="60dp"
  95. android:layout_alignParentBottom="true" />
  96. </RelativeLayout>
  97.  
  98. </LinearLayout>
  99.  
  100. <FrameLayout
  101. android:layout_weight="1"
  102. android:layout_width="match_parent"
  103. android:layout_height="0dp"
  104. android:id="@+id/bottomLayout"
  105. android:padding="0dp">
  106.  
  107. <LinearLayout
  108. android:orientation="horizontal"
  109. android:layout_width="match_parent"
  110. android:layout_height="match_parent"
  111. android:id="@+id/layoutButtons"
  112. android:weightSum="2"
  113. android:padding="0dp">
  114.  
  115. <Button
  116. android:text="Procurar"
  117. android:layout_width="fill_parent"
  118. android:layout_height="fill_parent"
  119. android:layout_weight="1"
  120. android:id="@+id/btnSearch"/>
  121. <Button
  122. android:text="Agendar"
  123. android:layout_width="fill_parent"
  124. android:layout_height="fill_parent"
  125. android:layout_weight="1"
  126. android:id="@+id/btnAgendar" />
  127. </LinearLayout>
  128. <Button
  129. android:id="@+id/cenas123"
  130. android:layout_width="wrap_content"
  131. android:layout_height="150dp"
  132. android:layout_gravity="center_horizontal"
  133. android:layout_weight="0"
  134. android:layout_marginTop="-10dp"
  135. android:padding="12dip"
  136.  
  137. android:background="#AA000000"
  138. android:textColor="#ffffffff"
  139.  
  140. android:text="Golden Gate" />
  141. </FrameLayout>
  142.  
  143.  
  144.  
  145. </LinearLayout>
  146.  
  147.  
  148. </RelativeLayout>
  149.  
  150.  
  151.  
  152. <android.support.v7.widget.RecyclerView
  153. android:id="@+id/left_drawer"
  154. android:scrollbars="vertical"
  155. android:layout_width="240dp"
  156. android:layout_height="match_parent"
  157. android:layout_gravity="left|start"
  158. android:choiceMode="singleChoice"
  159. android:divider="@null" />
  160. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement