50 lines
2.3 KiB
XML
50 lines
2.3 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/sort_logins_menu_root"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless">
|
|
|
|
<TextView
|
|
android:id="@+id/toolbar_title"
|
|
style="@style/ToolbarTitleTextStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/preferences_passwords_saved_logins"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/toolbar_chevron_icon"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<View
|
|
android:id="@+id/drop_down_menu_anchor_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_below="@id/toolbar_title"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/toolbar_title" />
|
|
|
|
<ImageView
|
|
android:id="@+id/toolbar_chevron_icon"
|
|
android:layout_width="@dimen/saved_logins_sort_menu_dropdown_chevron_icon_size"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="@dimen/saved_logins_sort_menu_dropdown_chevron_icon_margin_start"
|
|
android:layout_toEndOf="@+id/toolbar_title"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/saved_logins_menu_dropdown_chevron_icon_content_description"
|
|
app:srcCompat="@drawable/ic_chevron"
|
|
app:layout_constraintBottom_toBottomOf="@+id/toolbar_title"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/toolbar_title"
|
|
app:layout_constraintTop_toTopOf="@+id/toolbar_title" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|