give lookup alert a title

This commit is contained in:
Eric House 2014-03-14 18:55:06 -07:00
parent be440c8abf
commit 94a838d88e
2 changed files with 2 additions and 0 deletions

View file

@ -2230,4 +2230,5 @@
copied to the system clipboard. You can then paste them into any copied to the system clipboard. You can then paste them into any
app that supports pasting text, e.g. an email app.</string> app that supports pasting text, e.g. an email app.</string>
<string name="lookup_title">Word lookup</string>
</resources> </resources>

View file

@ -357,6 +357,7 @@ public class LookupActivity extends LinearLayout
view.init( parent, bundle ); view.init( parent, bundle );
Dialog result = new AlertDialog.Builder( parent ) Dialog result = new AlertDialog.Builder( parent )
.setTitle( R.string.lookup_title )
.setView( view ) .setView( view )
.create(); .create();
result.setOnKeyListener( view ); result.setOnKeyListener( view );