Advertisement
Guest User

Untitled

a guest
Nov 15th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.37 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context="com.imfreemobile.skywalker.android.views.main.mgm.activities.MGMActivity">
  8.  
  9. <android.support.design.widget.AppBarLayout
  10. android:id="@+id/appbar"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="vertical">
  14.  
  15. <android.support.v7.widget.Toolbar
  16. android:layout_width="match_parent"
  17. android:layout_height="?actionBarSize"
  18. android:paddingLeft="24dip"
  19. android:paddingRight="24dip"
  20. app:contentInsetEnd="0dip"
  21. app:contentInsetLeft="0dip"
  22. app:contentInsetRight="0dip"
  23. app:contentInsetStart="0dip">
  24.  
  25. <RelativeLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="match_parent">
  28.  
  29. <mobile.imfree.com.framework.widget.IFTextView
  30. style="@style/SkywalkerTextView.Medium"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_centerInParent="true"
  34. android:text="@string/mgm_activity_main_header"
  35. android:textColor="@color/purple"
  36. android:textStyle="bold" />
  37.  
  38. <mobile.imfree.com.framework.widget.IFImageView
  39. android:id="@+id/btnBack"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_alignParentLeft="true"
  43. android:layout_centerVertical="true"
  44. android:adjustViewBounds="true"
  45. app:srcCompat="@drawable/toolbar_back" />
  46. </RelativeLayout>
  47. </android.support.v7.widget.Toolbar>
  48.  
  49. <View
  50. style="@style/SettingsDivider"
  51. android:layout_height="2dp" />
  52.  
  53. <RelativeLayout
  54. android:layout_width="match_parent"
  55. android:layout_height="match_parent"
  56. android:layout_marginTop="12dp">
  57.  
  58. <LinearLayout
  59. android:id="@+id/topHeader"
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:orientation="horizontal"
  63. android:padding="@dimen/mgm_top_header_padding"
  64. android:weightSum="2">
  65.  
  66. <RelativeLayout
  67. android:layout_width="0dp"
  68. android:layout_height="wrap_content"
  69. android:layout_weight="1"
  70. android:gravity="center_horizontal">
  71.  
  72. <LinearLayout
  73. android:id="@+id/topLeft"
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:gravity="center_horizontal"
  77. android:orientation="horizontal">
  78.  
  79. <ImageView
  80. android:id="@+id/ivInvitesRemaining"
  81. android:layout_width="20dp"
  82. android:layout_height="20dp"
  83. android:layout_alignParentLeft="true"
  84. android:layout_alignParentTop="true"
  85. android:layout_centerHorizontal="true"
  86. android:layout_gravity="center_vertical"
  87. android:layout_marginRight="2dp"
  88. android:scaleType="fitCenter"
  89. android:src="@drawable/ic_invites_remaining" />
  90.  
  91. <mobile.imfree.com.framework.widget.IFTextView
  92. android:id="@+id/tvInvitesRemaining"
  93. style="@style/SkywalkerTextView.Normal"
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_marginLeft="2dp"
  97. android:ellipsize="end"
  98. android:gravity="left|center_vertical"
  99. android:lines="1"
  100. android:textColor="@color/purple"
  101. android:textStyle="bold"
  102. tools:text="10" />
  103.  
  104. </LinearLayout>
  105.  
  106. <mobile.imfree.com.framework.widget.IFTextView
  107. style="@style/SkywalkerTextView.Normal2"
  108. android:layout_width="wrap_content"
  109. android:layout_height="wrap_content"
  110. android:layout_below="@id/topLeft"
  111. android:layout_centerHorizontal="true"
  112. android:layout_marginTop="8dp"
  113. android:gravity="center"
  114. android:lines="1"
  115. android:text="@string/invites_remaining"
  116. android:textColor="@color/gray_b2b2b2" />
  117.  
  118. </RelativeLayout>
  119.  
  120. <RelativeLayout
  121. android:layout_width="0dp"
  122. android:layout_height="wrap_content"
  123. android:layout_weight="1"
  124. android:gravity="center_horizontal">
  125.  
  126. <LinearLayout
  127. android:id="@+id/topRight"
  128. android:layout_width="match_parent"
  129. android:layout_height="wrap_content"
  130. android:gravity="center_horizontal"
  131. android:orientation="horizontal">
  132.  
  133. <ImageView
  134. android:id="@+id/ivRewardsEarned"
  135. android:layout_width="@dimen/mgm_top_header_icons_size"
  136. android:layout_height="@dimen/mgm_top_header_icons_size"
  137. android:layout_alignParentLeft="true"
  138. android:layout_alignParentTop="true"
  139. android:layout_centerHorizontal="true"
  140. android:layout_gravity="center_vertical"
  141. android:layout_marginRight="2dp"
  142. android:scaleType="fitCenter"
  143. android:src="@drawable/ic_rewards_earned" />
  144.  
  145. <mobile.imfree.com.framework.widget.IFTextView
  146. android:id="@+id/tvRewardsEarned"
  147. style="@style/SkywalkerTextView.Normal"
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_marginLeft="2dp"
  151. android:ellipsize="end"
  152. android:gravity="left|center_vertical"
  153. android:maxLines="3"
  154. android:textColor="@color/purple"
  155. android:textStyle="bold"
  156. tools:text="Php 99898.00" />
  157.  
  158. </LinearLayout>
  159.  
  160. <mobile.imfree.com.framework.widget.IFTextView
  161. style="@style/SkywalkerTextView.Normal2"
  162. android:layout_width="wrap_content"
  163. android:layout_height="wrap_content"
  164. android:layout_below="@id/topRight"
  165. android:layout_centerHorizontal="true"
  166. android:layout_marginTop="8dp"
  167. android:gravity="center"
  168. android:lines="1"
  169. android:text="@string/rewards_earned"
  170. android:textColor="@color/gray_b2b2b2" />
  171.  
  172. </RelativeLayout>
  173.  
  174. </LinearLayout>
  175.  
  176. <View
  177. android:id="@+id/divider2"
  178. style="@style/SettingsDivider"
  179. android:layout_height="1dp"
  180. android:layout_below="@id/topHeader" />
  181.  
  182. <LinearLayout
  183. android:id="@+id/emptyLayout"
  184. android:layout_width="match_parent"
  185. android:layout_height="match_parent"
  186. android:layout_below="@id/divider2"
  187. android:layout_marginBottom="48dp"
  188. android:layout_marginLeft="24dp"
  189. android:layout_marginRight="24dp"
  190. android:gravity="center"
  191. android:orientation="vertical">
  192.  
  193. <mobile.imfree.com.framework.widget.IFTextView
  194. style="@style/SkywalkerTextView.Normal"
  195. android:layout_width="match_parent"
  196. android:layout_height="wrap_content"
  197. android:gravity="center"
  198. android:text="@string/mgm_empty_message_header"
  199. android:textColor="@color/tundora"
  200. android:textStyle="bold" />
  201.  
  202. <mobile.imfree.com.framework.widget.IFTextView
  203. style="@style/SkywalkerTextView.Normal2"
  204. android:layout_width="match_parent"
  205. android:layout_height="wrap_content"
  206. android:layout_marginTop="12dp"
  207. android:gravity="center"
  208. android:text="@string/mgm_empty_message_detail"
  209. android:textColor="@color/gray_acacac"
  210. android:textStyle="normal" />
  211.  
  212. </LinearLayout>
  213.  
  214. </RelativeLayout>
  215.  
  216. </android.support.design.widget.AppBarLayout>
  217.  
  218. <android.support.design.widget.FloatingActionButton
  219. android:id="@+id/fabAdd"
  220. android:layout_width="wrap_content"
  221. android:layout_height="wrap_content"
  222. android:layout_gravity="bottom|end"
  223. android:layout_margin="16dp"
  224. android:background="@android:color/transparent"
  225. android:src="@drawable/ic_fab_add"
  226. app:layout_anchor="@id/appbar"
  227. app:layout_anchorGravity="bottom|right|end" />
  228.  
  229. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement