Advertisement
minafaw3

activity_main xml

Jan 28th, 2016
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. <android.support.design.widget.CoordinatorLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6.  
  7.  
  8. <!--<ImageView
  9. android:id="@+id/logo"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_centerHorizontal="true"
  13. android:layout_marginTop="45dp"
  14. android:src="@drawable/logo" />-->
  15.  
  16.  
  17.  
  18. <android.support.v4.view.ViewPager
  19. android:id="@+id/pager"
  20. android:layout_width="fill_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_gravity="bottom" >
  23. </android.support.v4.view.ViewPager>
  24.  
  25. <RelativeLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="70dp"
  28. android:orientation="horizontal"
  29. android:layout_gravity="bottom"
  30. >
  31.  
  32. <org.aidmaid.pageIndicator.CirclePageIndicator
  33. android:id="@+id/circlePageIndicator"
  34. android:layout_alignParentBottom="true"
  35. android:layout_alignParentRight="true"
  36. android:layout_height="wrap_content"
  37. android:layout_width="match_parent"
  38. android:layout_gravity="bottom|center_horizontal"
  39. android:padding="2dp"
  40. android:background="@null"
  41. app:radius="3dp"
  42. app:pageColor="#FAAA"
  43. app:strokeColor="#FF000000"
  44. app:fillColor="#88FF0000"
  45. app:strokeWidth="0dp"
  46. android:layout_weight="1"/>
  47. <!--<ImageButton
  48. android:id="@+id/settingsImageButton"
  49. android:src="@drawable/settings"
  50. android:layout_toRightOf="@+id/circlePageIndicator"
  51. android:layout_alignParentBottom="true"
  52. android:layout_alignParentRight="true"
  53. android:padding="10dp"
  54. android:background="@null"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_gravity="bottom|right" /> -->
  58.  
  59. </RelativeLayout>
  60.  
  61. <android.support.design.widget.FloatingActionButton
  62. android:id="@+id/settingsImageButton"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_margin="16dp"
  66. android:clickable="true"
  67. android:src="@drawable/settings"
  68. app:layout_anchor="@id/pager"
  69. app:layout_anchorGravity="bottom|right|end"
  70. app:backgroundTint="@android:color/transparent"/>
  71.  
  72.  
  73. <!--<org.aidmaid.pageIndicator.CirclePageIndicator
  74. android:id="@+id/titles"
  75. android:layout_alignParentBottom="true"
  76. android:layout_centerHorizontal="true"
  77. android:layout_marginBottom="30dp"
  78. android:layout_height="wrap_content"
  79. android:layout_width="fill_parent" />
  80.  
  81. <it.neokree.materialtabs.MaterialTabHost
  82. android:id="@+id/materialTabHost"
  83. android:layout_width="match_parent"
  84. android:layout_height="48dp"
  85. android:layout_alignParentBottom="true"
  86. app:iconColor="#FFFFFF"
  87. app:primaryColor="#d0021b"
  88. app:selectedPrimaryColor="#ffffff"
  89. app:accentColor="#FFFFFF"
  90. app:hasIcons="true"/> -->
  91.  
  92.  
  93.  
  94. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement