summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
author Diksha Gohlyan <dikshag@google.com> 2020-08-03 07:08:17 -0700
committer Diksha Gohlyan <dikshag@google.com> 2020-08-05 15:35:53 +0000
commit8ce9e09640797994859dbb71781d02d09a2e93fe (patch)
tree80090578335fd0794a59473fe3501b8068c9aa0f /res/layout
parent90658fd5225a6d137f8a3bee684f96f04ef2fd99 (diff)
Limit number of characters in fileName
Test: atest DocumentsUIGoogleTests Bug: 162300630 Change-Id: I5bcd6e6a381be46e75698042368ea2d98365219e (cherry picked from commit e5692a9224b56f7b8aaff69fb76d1d3cf11e197d)
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/dialog_file_name.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/dialog_file_name.xml b/res/layout/dialog_file_name.xml
index 0ebd936d0..7f2a9592b 100644
--- a/res/layout/dialog_file_name.xml
+++ b/res/layout/dialog_file_name.xml
@@ -35,6 +35,7 @@
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:maxLength="255"
android:inputType="textCapSentences"/>
</com.google.android.material.textfield.TextInputLayout>