mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
don't over-scroll
At least with my dozens of Known Players I was getting an empty alert.
This commit is contained in:
parent
ad3be6732a
commit
2ebb8caaf9
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ public class InviteView extends ScrollView
|
|||
post( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ImageView iv = (ImageView)findViewById( R.id.qr_view );
|
||||
final ImageView iv = (ImageView)findViewById( R.id.qr_view );
|
||||
iv.setImageBitmap( bitmap );
|
||||
if ( BuildConfig.NON_RELEASE ) {
|
||||
TextView tv = (TextView)findViewById( R.id.qr_url );
|
||||
|
@ -235,7 +235,7 @@ public class InviteView extends ScrollView
|
|||
post ( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
scrollTo( 0, getBottom() );
|
||||
scrollTo( 0, iv.getTop() );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue