Android Open Source - FileManager Check Box Activity






From Project

Back to project page FileManager.

License

The source code is released under:

GNU General Public License

If you think the Android project FileManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ankur.coreutils;
/*from  w  w w .j av a 2 s . c  om*/
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.CheckBox;

public class CheckBoxActivity extends CheckBox {

  public CheckBoxActivity(Context context) {
    super(context);
  }

  public CheckBoxActivity(Context context, AttributeSet attrs) {
    super(context, attrs);
  }

  public CheckBoxActivity(Context context, AttributeSet attrs, int defStyle) {
    super(context, attrs, defStyle);
  }

  @Override
  public void setPressed(boolean pressed) {
    // Make sure the parent is a View prior casting it to View
    if (pressed && getParent() instanceof View
        && ((View) getParent()).isPressed()) {
      return;
    }
    super.setPressed(pressed);
  }
}




Java Source Code List

com.ankur.core.AppManager.java
com.ankur.core.DirectoryInfo.java
com.ankur.core.EventHandler.java
com.ankur.core.FileUtils.java
com.ankur.core.InfoDialog.java
com.ankur.core.Main.java
com.ankur.core.Settings.java
com.ankur.coreutils.Bookmarks.java
com.ankur.coreutils.CheckBoxActivity.java
com.ankur.coreutils.ClearSearchSuggestions.java
com.ankur.coreutils.Compress.java
com.ankur.coreutils.Decompress.java
com.ankur.coreutils.ImagePreview.java
com.ankur.coreutils.LinuxShell.java
com.ankur.coreutils.SearchSuggestions.java
com.ankur.coreutils.VideoPreview.java