Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <android.support.v4.widget.DrawerLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/drawer_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent" >
  6.  
  7. <RelativeLayout
  8. xmlns:android="http://schemas.android.com/apk/res/android"
  9. xmlns:tools="http://schemas.android.com/tools"
  10. android:id="@+id/mainContent"
  11. android:layout_width="fill_parent"
  12. android:layout_height="fill_parent"
  13. tools:context="com.example.app365.MainActivity" >
  14.  
  15.  
  16. <ScrollView
  17. android:id="@+id/scroll"
  18. android:fitsSystemWindows="true"
  19. android:clipToPadding="false"
  20. android:layout_width="fill_parent"
  21. android:layout_height="fill_parent"
  22. android:scrollbars="vertical"
  23. android:layout_above="@+id/bottomBar" >
  24. <com.example.app365.MyWebView
  25. android:id="@+id/webview"
  26. android:layout_width="fill_parent"
  27. android:layout_height="wrap_content" />
  28. </ScrollView>
  29.  
  30. <LinearLayout
  31. android:id="@+id/bottomBar"
  32. android:layout_height="wrap_content"
  33. android:layout_width="fill_parent"
  34. android:orientation="horizontal"
  35. android:layout_alignParentBottom="true"
  36. android:weightSum="3">
  37. <ImageButton
  38. android:src="@drawable/share"
  39. android:background="@null"
  40. android:layout_weight="1"
  41. android:layout_height="70dp"
  42. android:layout_width="40dp"
  43. android:layout_gravity="left"
  44. />
  45.  
  46. <ImageButton
  47. android:src="@drawable/home"
  48. android:background="@null"
  49. android:layout_weight="1"
  50. android:layout_height="70dp"
  51. android:layout_width="40dp"
  52. android:layout_gravity="center_vertical"
  53. />
  54. <ImageButton
  55. android:src="@drawable/social1"
  56. android:background="@null"
  57. android:layout_weight="1"
  58. android:layout_height="70dp"
  59. android:layout_width="40dp"
  60. android:layout_gravity="right"
  61.  
  62.  
  63. />
  64. </LinearLayout>
  65. </RelativeLayout>
  66. <ListView
  67. android:id="@+id/drawer"
  68. android:clipToPadding="false"
  69. android:layout_width="310dp"
  70. android:layout_height="match_parent"
  71. android:layout_gravity="start|bottom"
  72. android:background="#4B5264"
  73.  
  74. android:divider="@android:color/transparent"
  75. android:choiceMode="singleChoice"
  76. android:layout_marginTop="?android:attr/actionBarSize"
  77. android:dividerHeight="0dp" ></ListView>
  78.  
  79. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement