aboutsummaryrefslogtreecommitdiff
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
  ~ SPDX-License-Identifier: GPL-3.0-only
  -->

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:padding="16dp">

  <com.google.android.material.textfield.TextInputLayout
    android:id="@+id/folder_name_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/crypto_name_hint"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent">

    <com.google.android.material.textfield.TextInputEditText
      android:id="@+id/folder_name_text"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:inputType="textNoSuggestions|textVisiblePassword" />
    <requestFocus />
  </com.google.android.material.textfield.TextInputLayout>

  <!-- TODO(msfjarvis): Restore this functionality -->
  <com.google.android.material.checkbox.MaterialCheckBox
    android:id="@+id/set_gpg_key"
    android:layout_width="0dp"
    android:visibility="gone"
    android:layout_height="wrap_content"
    android:text="@string/new_folder_set_gpg_key"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintTop_toBottomOf="@id/folder_name_container" />
</androidx.constraintlayout.widget.ConstraintLayout>