Guest User

Untitled

a guest
Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:id="@+id/relLayoutCountryInfo"
  9. android:orientation="vertical"
  10. >
  11.  
  12.  
  13. <android.support.design.widget.AppBarLayout
  14. android:id="@+id/testeparainfo"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:background="?attr/actionBarDivider">
  18.  
  19. <android.support.design.widget.CollapsingToolbarLayout
  20. android:id="@+id/backgroundcollapsedtoolbarinfo"
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. app:expandedTitleMarginEnd="64dp"
  24. app:expandedTitleMarginStart="48dp"
  25. app:layout_scrollFlags="exitUntilCollapsed|scroll">
  26.  
  27.  
  28. <ImageView
  29. android:id="@+id/imgCountryInfoFoto"
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:scaleType="centerCrop" />
  33.  
  34. <ImageView
  35. android:id="@+id/imgCountryInfoEscuro"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:adjustViewBounds="true"
  39. android:background="@drawable/background_pais_info"
  40. android:scaleType="centerInside" />
  41.  
  42.  
  43. <ImageView
  44. android:id="@+id/imgEscuroCountryTopo"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:cropToPadding="false"
  48. android:scaleX="2"
  49. android:scaleY="-1"
  50. app:srcCompat="@drawable/blur_paises_filtro" />
  51.  
  52. <android.support.v7.widget.Toolbar
  53. android:id="@+id/toolbaridinfo"
  54. android:layout_width="match_parent"
  55. android:layout_height="200dp"
  56. app:layout_collapseMode="pin"
  57. app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
  58.  
  59. </android.support.v7.widget.Toolbar>
  60.  
  61. <com.github.mmin18.widget.RealtimeBlurView
  62. android:id="@+id/blurView"
  63. android:layout_width="match_parent"
  64. android:layout_height="match_parent"
  65. app:realtimeBlurRadius="10dp"
  66. app:realtimeOverlayColor="#8000" />
  67.  
  68. <TextView
  69. android:id="@+id/txtNomePaisInfo"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_gravity="bottom"
  73. android:layout_marginStart="30dp"
  74. android:layout_marginTop="520dp"
  75. android:paddingBottom="40dp"
  76. android:text="TextView"
  77. android:textColor="@android:color/background_light"
  78. android:textSize="35sp"
  79. app:layout_anchor="@+id/txtNomeContinente"
  80. app:layout_anchorGravity="left|bottom" />
  81.  
  82. <TextView
  83. android:id="@+id/txtContinenteNome"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:layout_gravity="bottom"
  87. android:layout_marginStart="30dp"
  88. android:layout_marginTop="520dp"
  89. android:paddingBottom="10dp"
  90. android:text="TextView"
  91. android:textColor="@android:color/background_light"
  92. android:textSize="25sp"
  93. app:layout_anchor="@+id/testeparainfo"
  94. app:layout_anchorGravity="left|bottom" />
  95.  
  96. <ImageView
  97. android:id="@+id/imgVoltar"
  98. android:layout_width="wrap_content"
  99. android:layout_height="wrap_content"
  100. android:layout_marginStart="20dp"
  101. android:layout_marginTop="20dp"
  102. app:srcCompat="@drawable/arrow_back_branca" />
  103.  
  104. <com.like.LikeButton
  105. android:id="@+id/heart_button"
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:layout_marginStart="340dp"
  109. android:layout_marginTop="520dp"
  110. android:paddingBottom="40dp"
  111. app:icon_size="25dp"
  112. app:icon_type="heart"
  113. app:layout_anchor="@+id/txtNomeContinente"
  114. app:layout_anchorGravity="right|bottom">
  115.  
  116. </com.like.LikeButton>
  117.  
  118. </android.support.design.widget.CollapsingToolbarLayout>
  119.  
  120. </android.support.design.widget.AppBarLayout>
  121.  
  122.  
  123. <android.support.design.widget.TabLayout
  124. android:id="@+id/tablayout"
  125. android:layout_width="match_parent"
  126. android:layout_height="wrap_content"
  127. app:layout_anchor="@+id/includeTeste"
  128. app:layout_anchorGravity="top|center">
  129.  
  130. <android.support.design.widget.TabItem
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:text="Center" />
  134.  
  135. <android.support.design.widget.TabItem
  136. android:layout_width="wrap_content"
  137. android:layout_height="wrap_content"
  138. android:text="Right" />
  139.  
  140. <android.support.design.widget.TabItem
  141. android:layout_width="wrap_content"
  142. android:layout_height="wrap_content"
  143. android:text="Left" />
  144. </android.support.design.widget.TabLayout>
  145.  
  146. <include
  147. android:id="@+id/includeTeste"
  148. layout="@layout/content_scrolling" />
Add Comment
Please, Sign In to add comment