Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="fill_parent"
  3. android:layout_height="fill_parent"
  4. android:fillViewport="true"
  5. android:background="#e2e2e2">
  6.  
  7. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. android:id="@+id/bgnLayout"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation="vertical">
  12.  
  13. <include
  14. layout="@layout/trElement"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_margin="16dp" />
  18.  
  19. <LinearLayout
  20. android:id="@+id/stopslayout"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:orientation="vertical"
  24. android:layout_margin="16dp"
  25. android:showDividers="middle"
  26. android:divider="@drawable/divider">
  27.  
  28. </LinearLayout>
  29.  
  30.  
  31. </LinearLayout>
  32.  
  33. </ScrollView>
  34.  
  35. Button mpbtn = ButtonFactory.makeButton(m, R.string.openMap, R.color.AndroidBlue);
  36. LinearLayout bgnLayout = (LinearLayout) rootView.findViewById(R.id.bgnLayout);
  37. bgnLayout.addView(mpbtn);
  38.  
  39. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  40. android:id="@+id/parentLayout"
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. >
  44. <ScrollView
  45. android:layout_width="fill_parent"
  46. android:layout_height="fill_parent"
  47. android:fillViewport="true"
  48. android:background="#e2e2e2">
  49. /////
  50.  
  51.  
  52.  
  53. </ScrollView>
  54.  
  55. <Button
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_alignParentBottom="true"
  59. />
  60. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement