<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 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.signin.LegacySyncPromoView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/legacy_sync_promo_view_frame_layout">
<org.chromium.components.browser_ui.widget.MaterialCardViewNoShadow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/card_view"
android:layout_marginStart="@dimen/list_item_default_margin"
android:layout_marginEnd="@dimen/list_item_default_margin"
style="@style/MaterialCardStyle">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/legacy_sync_promo_view_padding">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary"
android:lineSpacingExtra="6sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:gravity="center_vertical"
android:orientation="horizontal" >
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/sign_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/FilledButton" />
</LinearLayout>
</LinearLayout>
</org.chromium.components.browser_ui.widget.MaterialCardViewNoShadow>
<ViewStub
android:id="@+id/recent_tab_empty_state_view_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/empty_state_view"
android:layout_gravity="center"
android:padding="@dimen/card_padding" />
</org.chromium.chrome.browser.signin.LegacySyncPromoView>