[go: up one dir, main page]

blob: 40e8182282b6bd1c6abd17a372e138efa0697755 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<org.chromium.chrome.browser.autofill_assistant.SizeListenableLinearLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/autofill_assistant"
android:clickable="true"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:paddingTop="12dp"
android:orientation="vertical">
<LinearLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="56dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="19dp"
android:paddingEnd="24dp">
<TextView
android:id="@+id/status_message"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:gravity="center_vertical"
android:paddingStart="14dp"
android:paddingEnd="24dp"
android:maxLines="4"
android:ellipsize="end"
android:textAppearance="@style/TextAppearance.AssistantBlackTitle"/>
<org.chromium.ui.widget.ChromeImageView
android:id="@+id/profile_image"
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@string/preferences"
app:srcCompat="@drawable/logo_avatar_anonymous"/>
</LinearLayout>
<org.chromium.chrome.browser.widget.MaterialProgressBar
android:id="@+id/progress_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/autofill_assistant_progress_bar_height"
android:layout_marginStart="@dimen/autofill_assistant_bottombar_horizontal_spacing"
android:layout_marginEnd="@dimen/autofill_assistant_bottombar_horizontal_spacing"
app:colorBackground="@color/modern_secondary_color"
app:colorProgress="@color/default_text_color_blue"/>
<org.chromium.chrome.browser.widget.FadingEdgeScrollView
android:id="@+id/scrollable_content"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:id="@+id/scrollable_content_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:clipChildren="false"
android:clipToPadding="false" />
</org.chromium.chrome.browser.widget.FadingEdgeScrollView>
</org.chromium.chrome.browser.autofill_assistant.SizeListenableLinearLayout>