Advertisement
Guest User

Untitled

a guest
Nov 30th, 2017
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.68 KB | None | 0 0
  1.  
  2. <?xml version="1.0" encoding="utf-8"?>
  3. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:id="@+id/main_content"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:fitsSystemWindows="true">
  9.  
  10. <android.support.design.widget.AppBarLayout
  11. android:id="@+id/appbar"
  12. android:layout_width="match_parent"
  13. android:layout_height="256dp"
  14. android:fitsSystemWindows="true"
  15. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  16.  
  17. <android.support.design.widget.CollapsingToolbarLayout
  18. android:id="@+id/collapsing_toolbar"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. app:contentScrim="?attr/colorPrimary"
  22. app:layout_scrollFlags="scroll|exitUntilCollapsed">
  23.  
  24. <android.support.v7.widget.Toolbar
  25. android:id="@+id/toolbar"
  26. android:layout_width="match_parent"
  27. android:layout_height="?attr/actionBarSize"
  28. android:minHeight="?attr/actionBarSize"
  29. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  30. app:layout_collapseMode="pin"
  31. app:layout_scrollFlags="scroll|enterAlways"
  32. app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
  33.  
  34. <ImageView
  35. android:id="@+id/backdrop"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:layout_margin="50dp"
  39. android:background="@drawable/logo"
  40. android:scaleType="centerCrop"
  41. app:layout_collapseMode="parallax" />
  42.  
  43. </android.support.design.widget.CollapsingToolbarLayout>
  44.  
  45. </android.support.design.widget.AppBarLayout>
  46.  
  47. <android.support.v4.widget.NestedScrollView
  48. android:layout_width="match_parent"
  49. android:layout_height="match_parent"
  50. android:paddingLeft="15dp"
  51. android:paddingRight="15dp"
  52. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  53.  
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="match_parent"
  57. android:orientation="vertical">
  58.  
  59. <android.support.design.widget.CoordinatorLayout
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_gravity="center_horizontal">
  63.  
  64. <com.digipro.formatoselectronicos.adapter.CircularImageView
  65. android:id="@+id/ic_signup_user"
  66. android:layout_width="180dp"
  67. android:layout_height="180dp"
  68. android:layout_gravity="center"
  69. android:layout_marginTop="5dp"
  70. android:src="@drawable/perfilfototo"
  71. app:layout_collapseMode="pin" />
  72.  
  73. <android.support.design.widget.FloatingActionButton
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:clickable="true"
  77. android:src="@drawable/ic_user_photo_white_24dp"
  78. app:layout_anchor="@id/ic_signup_user"
  79. app:layout_anchorGravity="bottom|end" />
  80.  
  81. <!--<android.support.design.widget.FloatingActionButton-->
  82. <!--android:layout_width="wrap_content"-->
  83. <!--android:layout_height="wrap_content"-->
  84. <!--android:layout_margin="@dimen/fab_margin"-->
  85. <!--android:clickable="true"-->
  86. <!--android:src="@drawable/ic_accion_editar"-->
  87. <!--app:layout_anchor="@id/appbar"-->
  88. <!--app:layout_anchorGravity="bottom|right|end" />-->
  89. <!---->
  90. <!--<android.support.design.widget.FloatingActionButton-->
  91. <!--android:layout_width="wrap_content"-->
  92. <!--android:layout_height="wrap_content"-->
  93. <!--android:clickable="true"-->
  94. <!--android:src="@drawable/ic_user_photo_white_24dp"-->
  95. <!--app:layout_anchor="@id/ic_signup_user"-->
  96. <!--app:layout_anchorGravity="bottom|end" />-->
  97.  
  98. </android.support.design.widget.CoordinatorLayout>
  99.  
  100. <TextView
  101. android:id="@+id/perfil_divisor"
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:layout_marginStart="12dp"
  105. android:text="Perfil"
  106. android:textColor="@color/grey_font"
  107. android:textSize="20sp" />
  108.  
  109. <android.support.v7.widget.CardView
  110. android:layout_width="match_parent"
  111. android:layout_height="wrap_content"
  112. android:layout_margin="@dimen/card_margin">
  113.  
  114. <LinearLayout
  115. style="@style/Widget.CardContent"
  116. android:layout_width="match_parent"
  117. android:layout_height="wrap_content"
  118. android:layout_gravity="center"
  119. android:gravity="center">
  120.  
  121. <TextView
  122. android:id="@+id/perfil_User"
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:paddingTop="5dp"
  126. android:text="DigiPro"
  127. android:textAppearance="@style/TextAppearance.AppCompat.Title"
  128. android:textSize="20sp"
  129. android:textStyle="bold" />
  130.  
  131. <TextView
  132. android:id="@+id/perfil_Nombre"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:text="digipro@digipro.com"
  136. android:textAppearance="@style/TextAppearance.AppCompat.Title"
  137. android:textSize="18sp" />
  138.  
  139. <TextView
  140. android:id="@+id/perfil_Id"
  141. android:layout_width="wrap_content"
  142. android:layout_height="wrap_content"
  143. android:paddingTop="5dp"
  144. android:text="ID: XXXXXX"
  145. android:textAppearance="@style/TextAppearance.AppCompat.Title"
  146. android:textSize="18sp" />
  147.  
  148. <TextView
  149. android:id="@+id/perfil_Proy"
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:text="Proyecto: XXXXXX"
  153. android:textAppearance="@style/TextAppearance.AppCompat.Title"
  154. android:textSize="16sp" />
  155.  
  156. </LinearLayout>
  157.  
  158. </android.support.v7.widget.CardView>
  159.  
  160.  
  161. <TextView
  162. android:id="@+id/ayuda_divisor"
  163. android:layout_width="match_parent"
  164. android:layout_height="wrap_content"
  165. android:layout_marginStart="12dp"
  166. android:text="Ayuda"
  167. android:textColor="@color/grey_font"
  168. android:textSize="20sp" />
  169.  
  170. <android.support.v7.widget.CardView
  171. android:layout_width="match_parent"
  172. android:layout_height="wrap_content"
  173. android:layout_margin="@dimen/card_margin">
  174.  
  175. <LinearLayout
  176. style="@style/Widget.CardContent"
  177. android:layout_width="match_parent"
  178. android:layout_height="wrap_content">
  179.  
  180. <TextView
  181. android:id="@+id/perfil_settings"
  182. android:layout_width="match_parent"
  183. android:layout_height="wrap_content"
  184. android:layout_marginStart="14dp"
  185. android:layout_marginTop="@dimen/mdtp_ampm_label_size"
  186. android:drawablePadding="16dp"
  187. android:drawableStart="@drawable/ic_action_settings"
  188. android:padding="12dp"
  189. android:text="@string/pref_title_system_sync_settings"
  190. android:textColor="@color/Black"
  191. android:textSize="18sp" />
  192.  
  193.  
  194. <CheckBox
  195. android:id="@+id/perfil_dont_show_again"
  196. android:layout_width="match_parent"
  197. android:layout_height="wrap_content"
  198. android:layout_marginStart="22dp"
  199. android:drawablePadding="@dimen/mdtp_material_button_textpadding_horizontal"
  200. android:padding="14dp"
  201. android:text="Habilitar tutorial inicial"
  202. android:textColor="@color/Black"
  203. android:textSize="18sp" />
  204.  
  205. <TextView
  206. android:id="@+id/perfil_about"
  207. android:layout_width="match_parent"
  208. android:layout_height="wrap_content"
  209. android:layout_marginStart="14dp"
  210. android:drawablePadding="16dp"
  211. android:drawableStart="@drawable/ic_action_about"
  212. android:padding="14dp"
  213. android:text="@string/lbl_item_menu_about"
  214. android:textColor="@color/Black"
  215. android:textSize="18sp" />
  216.  
  217. <TextView
  218. android:id="@+id/perfil_sesion"
  219. android:layout_width="match_parent"
  220. android:layout_height="wrap_content"
  221. android:layout_marginStart="14dp"
  222. android:drawablePadding="16dp"
  223. android:drawableStart="@drawable/exit"
  224. android:padding="14dp"
  225. android:text="Cerrar Sesion"
  226. android:textColor="@color/Black"
  227. android:textSize="18sp" />
  228.  
  229. </LinearLayout>
  230.  
  231. </android.support.v7.widget.CardView>
  232.  
  233. </LinearLayout>
  234.  
  235. </android.support.v4.widget.NestedScrollView>
  236.  
  237. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement