1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
6 xmlns:app="http://schemas.android.com/apk/res-auto"
7 xmlns:tools="http://schemas.android.com/tools"
8 android:id="@+id/recently_closed_wrapper"
9 android:layout_width="match_parent"
10 android:layout_height="match_parent">
12 <org.mozilla.fenix.library.LibrarySiteItemView
13 android:id="@+id/view_more_history"
14 android:layout_width="match_parent"
15 android:layout_height="wrap_content"
16 app:layout_constraintTop_toTopOf="parent" />
18 <androidx.recyclerview.widget.RecyclerView
19 android:id="@+id/recently_closed_list"
20 android:layout_width="match_parent"
21 android:layout_height="0dp"
22 app:layout_constraintBottom_toBottomOf="parent"
23 app:layout_constraintTop_toBottomOf="@id/view_more_history"
24 tools:listitem="@layout/history_list_item" />
27 android:id="@+id/recently_closed_empty_view"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_gravity="center"
31 android:text="@string/recently_closed_empty_message"
32 android:textColor="?attr/textSecondary"
33 android:textSize="16sp"
34 android:visibility="gone"
35 app:layout_constraintBottom_toBottomOf="parent"
36 app:layout_constraintEnd_toEndOf="parent"
37 app:layout_constraintStart_toStartOf="parent"
38 app:layout_constraintTop_toTopOf="parent" />
39 </androidx.constraintlayout.widget.ConstraintLayout>