Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <com.amazon.euclid.widget.ZParallaxBackground xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:euclid="http://schemas.android.com/apk/res/euclid"
- android:id="@+id/background"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:amazon="http://schemas.android.com/apk/res/amazon"
- xmlns:euclid="http://schemas.android.com/apk/res/euclid"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.amazon.euclid.widget.ZShadowReceiver
- android:id="@+id/header_shadow_receiver"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- euclid:shadowDepth="@euclid:dimen/globalLayerScreen">
- <com.amazon.euclid.widget.ZContainer
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.amazon.euclid.widget.ZHeaderNavigationBar xmlns:amazon="http://schemas.android.com/apk/res/amazon"
- android:id="@+id/zheadernavigationbar"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- amazon:headerSubtitle="Яблука"
- amazon:headerTitle="@string/title_activity_main"
- amazon:upNavigationEnabled="false"
- euclid:layout_depth="wrap_content"
- euclid:widgetTheme="@euclid:style/Theme.Euclid.Dark" />
- </com.amazon.euclid.widget.ZContainer>
- </com.amazon.euclid.widget.ZShadowReceiver>
- <com.amazon.euclid.widget.ZShadowReceiver
- android:id="@+id/content_shadow_receiver"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/header_shadow_receiver"
- euclid:shadowDepth="@euclid:dimen/globalLayerScreen">
- <com.amazon.euclid.widget.ZContainer
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- euclid:baseDepth="-1dp">
- <com.amazon.euclid.widget.ZRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:amazon="http://schemas.android.com/apk/res/amazon"
- xmlns:euclid="http://schemas.android.com/apk/res/euclid"
- android:id="@+id/content_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- euclid:layout_depth="wrap_content">
- <com.amazon.euclid.widget.ZTextView
- android:id="@+id/article_heading"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/blue"
- android:padding="@dimen/padding_regular"
- android:text="@string/article_title"
- android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
- android:textColor="#fff"
- android:textStyle="bold"
- euclid:backgroundColor="#FFFF521C"
- euclid:layout_depth="match_parent"
- euclid:layout_offsetForward="200sp"
- euclid:textDepth="0dp" />
- <com.amazon.euclid.widget.ZTextView
- android:id="@+id/article_subheading"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/article_heading"
- android:padding="@dimen/padding_regular"
- android:text="@string/article_subtitle"
- android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
- euclid:layout_depth="match_parent" />
- </com.amazon.euclid.widget.ZRelativeLayout>
- </com.amazon.euclid.widget.ZContainer>
- </com.amazon.euclid.widget.ZShadowReceiver>
- </RelativeLayout>
- <ScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <com.amazon.euclid.view.ZViewHost
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.amazon.euclid.widget.ZTextView
- android:id="@+id/article"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:autoLink="web"
- android:lineSpacingExtra="@dimen/line_spacing"
- android:padding="@dimen/padding_regular"
- android:text="@string/article_text"
- android:textAppearance="@android:style/TextAppearance.DeviceDefault"
- euclid:layout_depth="match_parent" />
- </com.amazon.euclid.view.ZViewHost>
- </ScrollView>
- </com.amazon.euclid.widget.ZParallaxBackground>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement