mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
try another item layout -- need to fix the background instead.
This commit is contained in:
parent
617de4eb7e
commit
c44a884184
1 changed files with 5 additions and 4 deletions
|
@ -1551,7 +1551,7 @@ public class BoardActivity extends XWActivity
|
|||
|
||||
private View buildLookupDlg()
|
||||
{
|
||||
init_lookup();
|
||||
initLookup();
|
||||
|
||||
LinearLayout layout =
|
||||
(LinearLayout)Utils.inflate( this, R.layout.wordlist_view );
|
||||
|
@ -1566,7 +1566,8 @@ public class BoardActivity extends XWActivity
|
|||
ListView list = (ListView)layout.findViewById( R.id.words );
|
||||
adapter = new ArrayAdapter<String>( this,
|
||||
//android.R.layout.select_dialog_item,
|
||||
android.R.layout.simple_list_item_1,
|
||||
// android.R.layout.simple_list_item_1,
|
||||
android.R.layout.select_dialog_item,
|
||||
m_words ) ;
|
||||
list.setAdapter( adapter );
|
||||
OnItemClickListener oicl = new OnItemClickListener() {
|
||||
|
@ -1598,11 +1599,11 @@ public class BoardActivity extends XWActivity
|
|||
|
||||
private String curLangCode()
|
||||
{
|
||||
init_lookup();
|
||||
initLookup();
|
||||
return m_langCodes[m_gi.dictLang];
|
||||
}
|
||||
|
||||
private void init_lookup()
|
||||
private void initLookup()
|
||||
{
|
||||
if ( null == m_langCodes ) {
|
||||
Resources res = getResources();
|
||||
|
|
Loading…
Add table
Reference in a new issue