aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/folder_creation_dialog_fragment.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-01-28 01:49:37 +0530
committerGitHub <noreply@github.com>2020-01-28 01:49:37 +0530
commitf295e97de6a9b7005e3fd6425296a5cd9d37af6b (patch)
treeee8dae97a03bf07f0890869429376df1adba8669 /app/src/main/res/layout/folder_creation_dialog_fragment.xml
parentab5aebeda3388ec776c34130cf9039ae4f623562 (diff)
downloadHardenedPass-f295e97de6a9b7005e3fd6425296a5cd9d37af6b.tar.gz
HardenedPass-f295e97de6a9b7005e3fd6425296a5cd9d37af6b.zip
Allow creating folders (#623)
* Introduce EmitExpandableTransformationBehaviour * Implement expand transition * More folder work * Add icons and tweak layout clipping Rishi again with the icon rescue * Theming rework * Dont set tag * Update list and commit after creating folder * Fix theme issues * Add dialog title * Fix hint text color * Remove commit method * Cleanup * Update CHANGELOG Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
Diffstat (limited to 'app/src/main/res/layout/folder_creation_dialog_fragment.xml')
-rw-r--r--app/src/main/res/layout/folder_creation_dialog_fragment.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/src/main/res/layout/folder_creation_dialog_fragment.xml b/app/src/main/res/layout/folder_creation_dialog_fragment.xml
new file mode 100644
index 00000000..9d5dfda2
--- /dev/null
+++ b/app/src/main/res/layout/folder_creation_dialog_fragment.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ 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">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/title_create_folder"
+ android:textColor="@color/color_control_normal"
+ android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title"/>
+
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/TextInputLayoutBase"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:hint="@string/crypto_name_hint"
+ app:hintTextColor="@color/color_control_normal"
+ app:hintEnabled="true">
+
+ <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"/>
+
+ </com.google.android.material.textfield.TextInputLayout>
+</LinearLayout>