77 lines
3.2 KiB
XML
77 lines
3.2 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/. -->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/no_content_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:background="@drawable/empty_session_control_background"
|
|
android:orientation="vertical"
|
|
android:padding="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/no_content_header"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginTop="4dp"
|
|
android:drawablePadding="8dp"
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
android:textSize="16sp"
|
|
app:drawableTint="?primaryText"
|
|
tools:drawableEnd="@drawable/ic_tabs"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/no_content_description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?primaryText"
|
|
android:textSize="14sp"
|
|
android:textStyle="normal"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/button_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="36dp"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:background="@drawable/button_background_grey"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/button_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:importantForAccessibility="no"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/button_text"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:srcCompat="@drawable/ic_new" />
|
|
|
|
<TextView
|
|
android:id="@+id/button_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:importantForAccessibility="no"
|
|
android:textColor="?primaryText"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="@string/home_screen_shortcut_open_new_tab_2" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</LinearLayout> |