summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/layout/name_collection_dialog.xml
blob: 042777aaf98363f5b381176f4d12c808c67d29d3 (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
<?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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <TextView
        android:id="@+id/name_header"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="26dp"
        android:layout_marginTop="16dp"
        android:layout_marginEnd="24dp"
        android:text="@string/tab_tray_add_new_collection_name"
        android:textAllCaps="true"
        android:textAppearance="@style/Body16TextStyle"
        android:textColor="?attr/textSecondary" />

    <EditText
        android:id="@+id/collection_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        android:layout_marginEnd="24dp"
        android:autofillHints="false"
        android:backgroundTint="?borderPrimary"
        android:hint="@string/collection_name_hint"
        android:inputType="textCapSentences"
        android:singleLine="true"
        android:textAlignment="viewStart" />
</LinearLayout>