|
|
|
<?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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/synced_tab_item_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="72dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Tab Title" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/synced_tab_item_url"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="72dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
android:textColor="?secondaryText"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="https://example.com/"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/synced_tab_item_title" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/synced_tab_item_separator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:background="?syncedTabsSeparator"
|
|
|
|
android:importantForAccessibility="no"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/synced_tab_item_url" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|