Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2020
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <com.amazon.euclid.widget.ZParallaxBackground xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:euclid="http://schemas.android.com/apk/res/euclid"
  5. android:id="@+id/background"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:orientation="vertical">
  9.  
  10. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  11. xmlns:amazon="http://schemas.android.com/apk/res/amazon"
  12. xmlns:euclid="http://schemas.android.com/apk/res/euclid"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent">
  15.  
  16. <com.amazon.euclid.widget.ZShadowReceiver
  17. android:id="@+id/header_shadow_receiver"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. euclid:shadowDepth="@euclid:dimen/globalLayerScreen">
  21.  
  22. <com.amazon.euclid.widget.ZContainer
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content">
  25.  
  26. <com.amazon.euclid.widget.ZHeaderNavigationBar xmlns:amazon="http://schemas.android.com/apk/res/amazon"
  27. android:id="@+id/zheadernavigationbar"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. amazon:headerSubtitle="Яблука"
  31. amazon:headerTitle="@string/title_activity_main"
  32. amazon:upNavigationEnabled="false"
  33. euclid:layout_depth="wrap_content"
  34. euclid:widgetTheme="@euclid:style/Theme.Euclid.Dark" />
  35. </com.amazon.euclid.widget.ZContainer>
  36. </com.amazon.euclid.widget.ZShadowReceiver>
  37.  
  38. <com.amazon.euclid.widget.ZShadowReceiver
  39. android:id="@+id/content_shadow_receiver"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_below="@id/header_shadow_receiver"
  43. euclid:shadowDepth="@euclid:dimen/globalLayerScreen">
  44.  
  45. <com.amazon.euclid.widget.ZContainer
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. euclid:baseDepth="-1dp">
  49.  
  50. <com.amazon.euclid.widget.ZRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  51. xmlns:amazon="http://schemas.android.com/apk/res/amazon"
  52. xmlns:euclid="http://schemas.android.com/apk/res/euclid"
  53. android:id="@+id/content_container"
  54. android:layout_width="match_parent"
  55. android:layout_height="match_parent"
  56. euclid:layout_depth="wrap_content">
  57.  
  58. <com.amazon.euclid.widget.ZTextView
  59. android:id="@+id/article_heading"
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:background="@color/blue"
  63. android:padding="@dimen/padding_regular"
  64. android:text="@string/article_title"
  65. android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
  66. android:textColor="#fff"
  67. android:textStyle="bold"
  68. euclid:backgroundColor="#FFFF521C"
  69. euclid:layout_depth="match_parent"
  70. euclid:layout_offsetForward="200sp"
  71. euclid:textDepth="0dp" />
  72.  
  73. <com.amazon.euclid.widget.ZTextView
  74. android:id="@+id/article_subheading"
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:layout_below="@id/article_heading"
  78. android:padding="@dimen/padding_regular"
  79. android:text="@string/article_subtitle"
  80. android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
  81. euclid:layout_depth="match_parent" />
  82.  
  83. </com.amazon.euclid.widget.ZRelativeLayout>
  84. </com.amazon.euclid.widget.ZContainer>
  85. </com.amazon.euclid.widget.ZShadowReceiver>
  86. </RelativeLayout>
  87.  
  88. <ScrollView
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content">
  91. <com.amazon.euclid.view.ZViewHost
  92. android:layout_width="match_parent"
  93. android:layout_height="wrap_content">
  94. <com.amazon.euclid.widget.ZTextView
  95. android:id="@+id/article"
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:autoLink="web"
  99. android:lineSpacingExtra="@dimen/line_spacing"
  100. android:padding="@dimen/padding_regular"
  101. android:text="@string/article_text"
  102. android:textAppearance="@android:style/TextAppearance.DeviceDefault"
  103. euclid:layout_depth="match_parent" />
  104. </com.amazon.euclid.view.ZViewHost>
  105. </ScrollView>
  106. </com.amazon.euclid.widget.ZParallaxBackground>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement