blob: 3b425504f9c9daa79938589903012558e4860349 [file]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2026 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="@dimen/bookmark_minimum_dialog_size_tablet"
android:background="@macro/default_bg_color">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height_no_shadow"
app:titleTextAppearance="@style/TextAppearance.Headline.Primary"
style="@style/ModernToolbar" />
<org.chromium.components.browser_ui.widget.FadingShadowView
android:id="@+id/shadow"
app:layout_constraintTop_toTopOf="@id/toolbar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent"
android:layout_height="@dimen/bookmark_dialog_toolbar_shadow_height"
android:layout_marginTop="@dimen/toolbar_height_no_shadow"
android:visibility="gone" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/folder_recycler_view"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@id/button_container"
android:layout_width="0dp"
android:layout_height="0dp"
android:clipToPadding="true"
android:scrollbars="vertical"
android:background="@null" />
<LinearLayout
android:id="@+id/button_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:orientation="horizontal"
android:paddingTop=
"@dimen/bookmark_folder_picker_button_container_top_padding"
android:paddingBottom=
"@dimen/bookmark_folder_picker_button_container_bottom_padding"
android:paddingHorizontal=
"@dimen/bookmark_folder_picker_button_container_horizontal_padding"
android:gravity="center|end">
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/new_folder_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd=
"@dimen/bookmark_folder_picker_button_horizontal_spacing"
android:focusable="true"
style="@style/TextButton"
android:text="@string/new_folder" />
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/move_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"
style="@style/FilledButton"
android:text="@string/folder_picker_move_here" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>