mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
tap on selected item deselects rather than opening game
This commit is contained in:
parent
0c3057f75c
commit
7fd535b141
1 changed files with 6 additions and 1 deletions
|
@ -223,7 +223,12 @@ public class GameListItem extends LinearLayout
|
||||||
setOnClickListener( new View.OnClickListener() {
|
setOnClickListener( new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick( View v ) {
|
public void onClick( View v ) {
|
||||||
m_cb.itemClicked( m_rowid, summary );
|
// if selected, just un-select
|
||||||
|
if ( null != m_origDrawable ) {
|
||||||
|
toggleSelected();
|
||||||
|
} else {
|
||||||
|
m_cb.itemClicked( m_rowid, summary );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue