Skip to content

Commit

Permalink
Dont use SlidingDrawer for now.. other things to do
Browse files Browse the repository at this point in the history
  • Loading branch information
rorist committed Aug 1, 2010
1 parent 88f3b97 commit 14120d9
Showing 1 changed file with 19 additions and 27 deletions.
46 changes: 19 additions & 27 deletions src/info/lamatricexiste/network/ActivityDiscovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ final public class ActivityDiscovery extends ActivityNet implements OnItemClickL
private Button btn_discover;
private AbstractDiscovery mDiscoveryTask = null;
public HardwareAddress mHardwareAddress;
//private SlidingDrawer mDrawer;
//private int mCustomCidr;

// private SlidingDrawer mDrawer;
// private int mCustomCidr;
// private RootDaemon mRootDaemon = null;

@Override
Expand Down Expand Up @@ -93,31 +93,23 @@ public void onClick(View v) {

// Drawer
/*
final View info = findViewById(R.id.info_container);
mDrawer = (SlidingDrawer) findViewById(R.id.drawer);
mDrawer.setOnDrawerScrollListener(new SlidingDrawer.OnDrawerScrollListener() {
public void onScrollStarted() {
info.setBackgroundResource(R.drawable.drawer_bg2);
}
public void onScrollEnded() {
}
});
mDrawer.setOnDrawerCloseListener(new SlidingDrawer.OnDrawerCloseListener() {
public void onDrawerClosed() {
info.setBackgroundResource(R.drawable.drawer_bg);
}
});
EditText cidr_value = (EditText) findViewById(R.id.cidr_value);
((Button) findViewById(R.id.btn_cidr_plus)).setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
}
});
((Button) findViewById(R.id.btn_cidr_minus)).setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
}
});
*/
* final View info = findViewById(R.id.info_container); mDrawer =
* (SlidingDrawer) findViewById(R.id.drawer);
* mDrawer.setOnDrawerScrollListener(new
* SlidingDrawer.OnDrawerScrollListener() { public void
* onScrollStarted() {
* info.setBackgroundResource(R.drawable.drawer_bg2); }
*
* public void onScrollEnded() { } });
* mDrawer.setOnDrawerCloseListener(new
* SlidingDrawer.OnDrawerCloseListener() { public void onDrawerClosed()
* { info.setBackgroundResource(R.drawable.drawer_bg); } }); EditText
* cidr_value = (EditText) findViewById(R.id.cidr_value); ((Button)
* findViewById(R.id.btn_cidr_plus)).setOnClickListener(new
* View.OnClickListener() { public void onClick(View v) { } });
* ((Button) findViewById(R.id.btn_cidr_minus)).setOnClickListener(new
* View.OnClickListener() { public void onClick(View v) { } });
*/
}

@Override
Expand Down

0 comments on commit 14120d9

Please sign in to comment.