mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
enable smart scrolling
Otherwise it takes too long to scroll if you have hundreds of games. To make this work had to move scroller to left side of games list display as otherwise the scroller steals events from the expander thingies.
This commit is contained in:
parent
875d956836
commit
5326d42438
2 changed files with 4 additions and 0 deletions
|
@ -972,6 +972,9 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
|
||||
mkListAdapter();
|
||||
getListView().setOnItemLongClickListener( this );
|
||||
// Only works if scroller's on left side, as it otherwise steals
|
||||
// events from the expander arrow things
|
||||
getListView().setFastScrollEnabled( true );
|
||||
|
||||
NetUtils.informOfDeaths( m_activity );
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawSelectorOnTop="false"
|
||||
android:verticalScrollbarPosition="left"
|
||||
/>
|
||||
|
||||
<!-- These are hidden once the list is large enough that scrolling
|
||||
|
|
Loading…
Reference in a new issue