<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<org.chromium.chrome.browser.ntp.IncognitoNewTabPageView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/ntp_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:contentDescription="@string/accessibility_new_incognito_tab_page">

    <!-- topEdgeVisibility will add a solid hairline once scrolled;
        bottomEdgeVisibility set to none, cover by shadow_bottom, as
        FadingShadowScrollView doesn't support gradient shadows. -->
    <org.chromium.chrome.browser.ntp.NewTabPageScrollView
        android:id="@+id/ntp_scrollview"
        android:background="@color/ntp_bg_incognito"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fillViewport="false"
        app:topEdgeVisibility="hard"
        app:bottomEdgeVisibility="none">

        <ViewStub
            android:id="@+id/incognito_description_layout_stub"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

    </org.chromium.chrome.browser.ntp.NewTabPageScrollView>

    <org.chromium.components.browser_ui.widget.FadingShadowView
        android:id="@+id/shadow_bottom"
        android:layout_width="match_parent"
        android:layout_height="@dimen/incognito_ntp_fading_shadow_size"
        android:layout_gravity="bottom"/>

</org.chromium.chrome.browser.ntp.IncognitoNewTabPageView>
