Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 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. android:background="#ffffff" >
  7.  
  8. <TextView
  9. android:id="@+id/nav_drawer_wallet_id"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_centerHorizontal="true"
  13. android:layout_centerVertical="true"
  14. android:gravity="center"
  15. android:textColor="@color/md_white_1000"
  16. android:textSize="@dimen/twentyfive" />
  17. <TextView
  18. android:id="@+id/nav_drawer_total_credits"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerHorizontal="true"
  22. android:layout_centerVertical="true"
  23. android:textColor="@color/md_white_1000"
  24. android:textSize="@dimen/twentyfive" />
  25. <TextView
  26. android:id="@+id/nav_drawer_username"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_centerHorizontal="true"
  30. android:layout_centerVertical="true"
  31. android:gravity="center"
  32. android:textColor="@color/md_white_1000"
  33. android:textSize="@dimen/twentyfive" />
  34.  
  35. <RelativeLayout
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent">
  38.  
  39. <RelativeLayout android:id="@+id/content_frame_container"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:background="#ffffff"
  43. android:layout_below="@+id/toolbar_app_bar_layout">
  44.  
  45. <FrameLayout
  46. android:id="@+id/content_frame"
  47. android:layout_width="match_parent"
  48. android:layout_height="match_parent">
  49. </FrameLayout>
  50.  
  51. </RelativeLayout>
  52.  
  53. <android.support.v4.view.ViewPager
  54. android:id="@+id/pager"
  55. android:layout_width="fill_parent"
  56. android:layout_height="match_parent"
  57. android:layout_below="@+id/toolbar_app_bar_layout" />
  58.  
  59.  
  60.  
  61. <android.support.design.widget.AppBarLayout
  62. android:id="@+id/toolbar_app_bar_layout"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  66.  
  67.  
  68. <android.support.design.widget.TabLayout
  69. xmlns:app="http://schemas.android.com/apk/res-auto"
  70. android:id="@+id/sliding_tabs"
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_below="@+id/toolbar"
  74. app:tabMode="scrollable"
  75. app:paddingStart="16dp"
  76. app:tabPaddingStart="16dp"
  77. app:tabPaddingEnd="16dp"
  78. app:tabMinWidth="96dp"
  79. app:tabGravity="center" />
  80.  
  81. </android.support.design.widget.AppBarLayout>
  82.  
  83. </RelativeLayout>
  84.  
  85. <android.support.design.widget.NavigationView
  86. xmlns:app="http://schemas.android.com/apk/res-auto"
  87. android:id="@+id/navigation_view"
  88. android:layout_width="match_parent"
  89. android:layout_height="wrap_content"
  90. android:layout_gravity="start"
  91. android:background="@color/md_white_1000"
  92. app:headerLayout="@layout/nav_drawer_header"
  93. app:menu="@menu/menu_drawer"
  94. app:itemTextAppearance="@style/TextAppearance.AppCompat.Menu"
  95. android:clipToPadding="false">
  96.  
  97. <!--<FrameLayout-->
  98. <!--android:layout_width="match_parent"-->
  99. <!--android:layout_height="wrap_content"-->
  100. <!--android:layout_gravity="bottom"-->
  101. <!--android:background="@color/md_white_1000"-->
  102. <!--android:elevation="4dp"-->
  103. <!--android:layout_marginBottom="-96dp">-->
  104.  
  105. <!--<Button android:id="@+id/navigation_button_footer"-->
  106. <!--android:layout_width="match_parent"-->
  107. <!--android:layout_height="match_parent"-->
  108. <!--android:text=""-->
  109. <!--android:textSize="13sp"-->
  110. <!--android:textColor="@color/md_grey_800"-->
  111. <!--android:lines="3"-->
  112. <!--android:gravity="center"-->
  113. <!--style="@style/Widget.AppCompat.ActionButton"-->
  114. <!--android:paddingTop="20dp"-->
  115. <!--android:paddingLeft="20dp"-->
  116. <!--android:paddingRight="20dp"-->
  117. <!--android:paddingBottom="20dp"/>-->
  118.  
  119. <!--</FrameLayout>-->
  120.  
  121. </android.support.design.widget.NavigationView>
  122.  
  123. <RelativeLayout
  124. android:id="@+id/lay_connection"
  125. android:layout_width="match_parent"
  126. android:layout_height="match_parent"
  127. android:layout_marginTop="@dimen/actmain_margintop"
  128. android:background="#3c3c3c"
  129. android:visibility="gone" >
  130.  
  131. <TextView
  132. android:id="@+id/text_error"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:layout_centerHorizontal="true"
  136. android:layout_centerVertical="true"
  137. android:gravity="center"
  138. android:text="@string/error_no_internet"
  139. android:textColor="@color/md_white_1000"
  140. android:textSize="@dimen/twentyfive" />
  141.  
  142.  
  143. <RelativeLayout
  144. android:id="@+id/lay_dialog"
  145. android:layout_width="match_parent"
  146. android:layout_height="match_parent"
  147. android:visibility="gone" >
  148.  
  149. <ProgressBar
  150. android:id="@+id/progressBar1"
  151. style="?android:attr/progressBarStyleLarge"
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_centerHorizontal="true"
  155. android:layout_centerVertical="true" />
  156.  
  157. <TextView
  158. android:id="@+id/textView2"
  159. android:layout_width="wrap_content"
  160. android:layout_height="wrap_content"
  161. android:layout_below="@+id/progressBar1"
  162. android:layout_centerHorizontal="true"
  163. android:text="@string/error_no_internet"
  164. android:textColor="@color/md_white_1000"
  165. android:textSize="@dimen/twentyfive" />
  166. </RelativeLayout>
  167. </RelativeLayout>
  168.  
  169. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement