summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/layout/saved_logins_sort_items_toolbar_child.xml
blob: 1a9b0824981d07239bc06cc84cd2da0bfa68fe8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?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="match_parent"
    android:layout_height="?actionBarSize"
    android:background="?android:attr/selectableItemBackground">

    <TextView
        android:id="@+id/toolbar_title"
        style="@style/ToolbarTitleTextStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:singleLine="true"
        android:text="@string/preferences_passwords_saved_logins_2"
        app:layout_constrainedWidth="true"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@id/toolbar_chevron_icon"
        app:layout_constraintHorizontal_bias="0.0"
        app:layout_constraintHorizontal_chainStyle="packed"
        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:adjustViewBounds="true"
        android:contentDescription="@string/saved_logins_menu_dropdown_chevron_icon_content_description_2"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@id/toolbar_title"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/ic_chevron" />

</androidx.constraintlayout.widget.ConstraintLayout>