Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.46 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent"
  4. android:orientation="vertical"
  5. >
  6.  
  7. <ImageView
  8. android:id="@+id/imageView1"
  9. android:layout_width="fill_parent"
  10. android:layout_height="fill_parent"
  11. android:src="@drawable/bergsteiger2"
  12. android:layout_alignParentTop="true"
  13. android:adjustViewBounds="true"
  14. android:layout_above="@+id/start" />
  15.  
  16. <ImageButton
  17. android:id="@+id/start"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20.  
  21. android:layout_above="@+id/uebungen"
  22. android:background="?android:selectableItemBackground"
  23.  
  24. android:src="@drawable/start"
  25. />
  26.  
  27. <ImageButton
  28. android:id="@+id/anleitung"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_toRightOf="@+id/uebungen"
  32. android:layout_above="@+id/impressum"
  33. android:background="?android:selectableItemBackground"
  34.  
  35. android:src="@drawable/anleitung"
  36. />
  37. <ImageButton
  38. android:id="@+id/uebungen"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41.  
  42.  
  43. android:background="?android:selectableItemBackground"
  44. android:layout_above="@+id/impressum"
  45. android:src="@drawable/uebungen"
  46. />
  47.  
  48.  
  49.  
  50. <ImageButton
  51. android:id="@+id/impressum"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54.  
  55.  
  56. android:background="?android:selectableItemBackground"
  57. android:layout_alignParentBottom="true"
  58. android:layout_centerHorizontal="true"
  59. android:src="@drawable/impressum"
  60. />
  61.  
  62. </RelativeLayout>
  63.  
  64. <?xml version="1.0" encoding="utf-8"?>
  65. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  66. android:layout_width="match_parent"
  67. android:layout_height="match_parent"
  68. android:orientation="vertical" >
  69.  
  70. <ImageView
  71. android:id="@+id/imageView1"
  72. android:layout_width="fill_parent"
  73. android:layout_height="fill_parent"
  74. android:layout_above="@+id/start"
  75. android:layout_alignParentTop="true"
  76. android:adjustViewBounds="true"
  77. android:src="@drawable/bergsteiger2" />
  78.  
  79. <RelativeLayout
  80. android:id="@+id/relativeLayout1"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:layout_above="@+id/impressum"
  84. android:orientation="horizontal"
  85.  
  86.  
  87. android:layout_centerHorizontal="true"
  88. android:adjustViewBounds="true" >
  89.  
  90. <ImageButton
  91. android:id="@+id/anleitung"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:layout_toRightOf="@+id/uebungen"
  95. android:background="?android:selectableItemBackground"
  96. android:src="@drawable/anleitung" />
  97.  
  98. <ImageButton
  99. android:id="@+id/uebungen"
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102.  
  103. android:adjustViewBounds="true"
  104. android:background="?android:selectableItemBackground"
  105. android:scaleType="fitXY"
  106. android:src="@drawable/uebungen" />
  107. </RelativeLayout>
  108.  
  109. <ImageButton
  110. android:id="@+id/impressum"
  111. android:layout_width="match_parent"
  112. android:layout_height="wrap_content"
  113. android:layout_alignParentBottom="true"
  114. android:layout_centerHorizontal="true"
  115. android:adjustViewBounds="true"
  116. android:background="?android:selectableItemBackground"
  117. android:scaleType="fitXY"
  118. android:src="@drawable/impressum" />
  119.  
  120. <ImageButton
  121. android:id="@+id/start"
  122. android:layout_width="match_parent"
  123. android:layout_height="wrap_content"
  124. android:layout_above="@+id/relativeLayout1"
  125. android:layout_alignParentLeft="true"
  126. android:adjustViewBounds="true"
  127. android:background="?android:selectableItemBackground"
  128. android:scaleType="fitXY"
  129. android:src="@drawable/start" />
  130.  
  131. </RelativeLayout>
  132.  
  133. <LinearLayout
  134. android:id="@+id/relativeLayout1"
  135. android:layout_width="match_parent"
  136. android:layout_height="wrap_content"
  137. android:layout_above="@+id/impressum"
  138. android:orientation="horizontal"
  139. android:layout_centerHorizontal="true"
  140. android:adjustViewBounds="true"
  141. android:weightSum="2">
  142.  
  143. <ImageButton
  144. android:id="@+id/anleitung"
  145. android:layout_width="0dp"
  146. android:layout_weigth="1"
  147. android:layout_height="wrap_content"
  148. android:layout_toRightOf="@+id/uebungen"
  149. android:background="?android:selectableItemBackground"
  150. android:src="@drawable/anleitung" />
  151.  
  152. <ImageButton
  153. android:id="@+id/uebungen"
  154. android:layout_width="0dp"
  155. android:layout_weigth="1"
  156. android:layout_height="wrap_content"
  157. android:adjustViewBounds="true"
  158. android:background="?android:selectableItemBackground"
  159. android:scaleType="fitXY"
  160. android:src="@drawable/uebungen" />
  161. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement