Skip to content

Commit e2679dc

Browse files
committed
Added the title of the dialog as the hint of the GetText fragment
EditText field.
1 parent b10fa63 commit e2679dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eclipse_projects/Opaque/src/com/undatech/opaque/dialogs/GetTextFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
139139
return consumed;
140140
}
141141
});
142+
textBox.setHint(title);
142143

143144
okButton = (Button)v.findViewById(R.id.okButton);
144145
okButton.setOnClickListener(new View.OnClickListener() {

0 commit comments

Comments
 (0)