Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Fix minor bug, which allowed to insert multi-line texts in the name o…
Browse files Browse the repository at this point in the history
…f a new file
  • Loading branch information
jfmdev committed May 7, 2015
1 parent 358905a commit a48c94e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/res/layout/daidalos_file_chooser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_weight="1" >

<LinearLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public void onClick(View v) {

// Set an EditText view to get the file's name.
final EditText input = new EditText(context);
input.setSingleLine();
alert.setView(input);

// Set the 'ok' and 'cancel' buttons.
Expand Down

0 comments on commit a48c94e

Please sign in to comment.