| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2018 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.IncognitoDescriptionView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/new_tab_incognito_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:gravity="start" |
| android:orientation="vertical" |
| android:paddingStart="@dimen/md_incognito_ntp_padding_horizontal" > |
| |
| <ImageView |
| android:id="@+id/new_tab_incognito_icon" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginHorizontal="@dimen/md_incognito_ntp_view_horizontal_offset" |
| tools:ignore="ContentDescription" |
| android:src="@drawable/incognito_splash" |
| app:tint="@color/ntp_incognito_icon_color" /> |
| |
| <TextView |
| android:id="@+id/new_tab_incognito_title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/new_tab_otr_title" |
| android:textAppearance="@style/TextAppearance.Headline.Primary.Baseline.Light" /> |
| |
| <!-- Placeholder for NTP condensed title. --> |
| <LinearLayout |
| android:id="@+id/new_tab_incognito_title_condensed_stub" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:gravity="center_vertical" /> |
| |
| <org.chromium.ui.widget.TextViewWithClickableSpans |
| android:id="@+id/new_tab_incognito_subtitle" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| style="@style/IncognitoNewTabTextView" /> |
| |
| <LinearLayout |
| android:id="@+id/new_tab_incognito_bulletpoints_container" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:gravity="start" |
| android:layout_marginBottom="12dp"> |
| |
| <org.chromium.ui.widget.TextViewWithLeading |
| android:id="@+id/new_tab_incognito_features" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| style="@style/IncognitoNewTabTextView" /> |
| |
| <org.chromium.ui.widget.TextViewWithLeading |
| android:id="@+id/new_tab_incognito_warning" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| style="@style/IncognitoNewTabTextView" /> |
| |
| </LinearLayout> |
| |
| <org.chromium.ui.widget.TextViewWithClickableSpans |
| android:id="@+id/learn_more" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:paddingHorizontal="@dimen/md_incognito_ntp_view_horizontal_offset" |
| android:minHeight="@dimen/min_touch_target_size" |
| android:gravity="center_vertical" |
| android:text="@string/learn_more" |
| android:contentDescription="@string/incognito_tab_learn_more_accessibility_label" |
| style="@style/IncognitoNewTabLearnMoreLinkModernTextView" /> |
| |
| <!-- Placeholder for a Tracking Protection card. --> |
| <ViewStub |
| android:id="@+id/cookie_card_stub" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginHorizontal="@dimen/md_incognito_ntp_view_horizontal_offset" |
| android:layout_marginTop="12dp" /> |
| |
| </org.chromium.chrome.browser.ntp.IncognitoDescriptionView> |