You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
3.1 KiB
XML
65 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/no_collections_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:background="@drawable/empty_session_control_background"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:id="@+id/no_collections_header"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/collections_header"
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
android:textSize="16sp"
|
|
app:fontFamily="@font/metropolis_semibold"
|
|
app:layout_constraintEnd_toStartOf="@id/remove_collection_placeholder"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
|
android:id="@+id/remove_collection_placeholder"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/remove_home_collection_placeholder_content_description"
|
|
app:layout_constraintBottom_toBottomOf="@id/no_collections_header"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/no_collections_header"
|
|
app:srcCompat="@drawable/ic_close" />
|
|
|
|
<TextView
|
|
android:id="@+id/no_collections_description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:text="@string/no_collections_description2"
|
|
android:textAlignment="viewStart"
|
|
android:textSize="14sp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/no_collections_header" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/add_tabs_to_collections_button"
|
|
style="@style/PositiveButton"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/tabs_menu_save_to_collection1"
|
|
android:visibility="gone"
|
|
app:icon="@drawable/ic_tab_collection"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/no_collections_description" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|