mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
use EditWClear for new quick-game-with-know alert
This commit is contained in:
parent
c17dc91672
commit
a054762323
2 changed files with 8 additions and 6 deletions
|
@ -43,7 +43,7 @@ public class NewWithKnowns extends LinearLayout {
|
|||
Spinner spinner = (Spinner)findViewById( R.id.names );
|
||||
spinner.setAdapter( adapter );
|
||||
|
||||
EditText et = (EditText)findViewById( R.id.name_edit );
|
||||
EditWClear et = (EditWClear)findViewById( R.id.name_edit );
|
||||
et.setText( gameName );
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ public class NewWithKnowns extends LinearLayout {
|
|||
|
||||
String gameName()
|
||||
{
|
||||
EditText et = (EditText)findViewById( R.id.name_edit );
|
||||
EditWClear et = (EditWClear)findViewById( R.id.name_edit );
|
||||
return et.getText().toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
android:text="Name your game"
|
||||
/>
|
||||
|
||||
<EditText android:id="@+id/name_edit"
|
||||
<org.eehouse.android.xw4.EditWClear
|
||||
style="@style/edit_w_clear"
|
||||
android:id="@+id/name_edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue