mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-31 19:57:06 +01:00
wifi: hide unused buttons
Refactoring isn't perfect. Need to hide in subclass buttons that other subclasses assume.
This commit is contained in:
parent
e0f0666b1c
commit
bff03617e5
1 changed files with 6 additions and 4 deletions
|
@ -19,15 +19,15 @@
|
|||
|
||||
package org.eehouse.android.xw4;
|
||||
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.database.Cursor;
|
||||
import android.os.Bundle;
|
||||
import android.content.Intent;
|
||||
import java.util.Map;
|
||||
import android.view.View;
|
||||
import android.widget.ArrayAdapter;
|
||||
import java.util.Iterator;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import junit.framework.Assert;
|
||||
|
||||
|
@ -59,6 +59,8 @@ public class WiDirInviteDelegate extends InviteDelegate
|
|||
m_nMissing, msg );
|
||||
msg += "\n\n" + getString( R.string.invite_p2p_desc_extra );
|
||||
super.init( R.id.button_invite, R.id.invite_desc, msg );
|
||||
findViewById( R.id.button_rescan ).setVisibility( View.GONE );
|
||||
findViewById( R.id.button_clear ).setVisibility( View.GONE );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue