Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. <com.sothree.slidinguppanel.SlidingUpPanelLayout
  2. xmlns:sothree="http://schemas.android.com/apk/res-auto"
  3. android:id="@+id/sliding_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:gravity="bottom"
  7. sothree:panelHeight="68dp"
  8. sothree:shadowHeight="4dp">
  9.  
  10. <TextView
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:gravity="center"
  14. android:text="Main Content"
  15. android:textSize="16sp" />
  16.  
  17. <TextView
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:gravity="center|top"
  21. android:text="The Awesome Sliding Up Panel"
  22. android:textSize="16sp" />
  23. </com.sothree.slidinguppanel.SlidingUpPanelLayout>
  24.  
  25. xmlns:sothree="http://schemas.android.com/apk/res-auto"
  26.  
  27. xmlns:sothree="http://schemas.android.com/apk/res/yourpackagename"
  28.  
  29. <com.sothree.slidinguppanel.SlidingUpPanelLayout
  30. xmlns:android="http://schemas.android.com/apk/res/android"
  31. xmlns:sothree="http://schemas.android.com/apk/res/yourpackagename"
  32.  
  33. <?xml version="1.0" encoding="utf-8"?>
  34. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  35. xmlns:tools="http://schemas.android.com/tools"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. tools:context=".MainActivity" >
  39. <com.sothree.slidinguppanel.SlidingUpPanelLayout
  40. xmlns:sothree="http://schemas.android.com/apk/res-auto"
  41. android:id="@+id/sliding_layout"
  42. android:layout_width="match_parent"
  43. android:layout_height="match_parent"
  44. android:gravity="bottom"
  45. sothree:panelHeight="68dp"
  46. sothree:shadowHeight="4dp">
  47.  
  48. <TextView
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:gravity="center"
  52. android:text="Main Content"
  53. android:textSize="16sp" />
  54.  
  55. <TextView
  56. android:layout_width="match_parent"
  57. android:layout_height="match_parent"
  58. android:gravity="center|top"
  59. android:text="The Awesome Sliding Up Panel"
  60. android:textSize="16sp" />
  61. </com.sothree.slidinguppanel.SlidingUpPanelLayout>
  62. </RelativeLayout>
  63.  
  64. <com.sothree.slidinguppanel.SlidingUpPanelLayout
  65. xmlns:android="http://schemas.android.com/apk/res/android"
  66. xmlns:sothree="http://schemas.android.com/apk/res/com.example.slidinguppanel"
  67. android:id="@+id/sliding_layout"
  68. android:layout_width="match_parent"
  69. android:layout_height="match_parent"
  70. android:gravity="bottom"
  71. sothree:panelHeight="68dp"
  72. sothree:shadowHeight="4dp">
  73.  
  74. <TextView
  75. android:layout_width="match_parent"
  76. android:layout_height="match_parent"
  77. android:gravity="center"
  78. android:text="Main Content"
  79. android:textSize="16sp" />
  80.  
  81. <TextView
  82. android:layout_width="match_parent"
  83. android:layout_height="match_parent"
  84. android:gravity="center|top"
  85. android:text="The Awesome Sliding Up Panel"
  86. android:textSize="16sp" />
  87. </com.sothree.slidinguppanel.SlidingUpPanelLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement