Skip to content

Commit

Permalink
Alpha setter
Browse files Browse the repository at this point in the history
  • Loading branch information
dvhh committed Apr 21, 2015
1 parent 7685122 commit 4f45588
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public class EmulatorView extends View implements GestureDetector.OnGestureListe
private Typeface mTypeface = Typeface.MONOSPACE;

private Drawable mBackgroundDrawable = null;
private int mBackgroundAlpha=50;
private int mBackgroundAlpha=128;

private Paint mForegroundPaint;

Expand Down Expand Up @@ -650,6 +650,9 @@ public void setmBackgroundDrawable(Drawable backgroundDrawable) {
this.mBackgroundDrawable=backgroundDrawable;
}

public void setBackgroundAlpha(int value) {
mBackgroundAlpha=value;
}
@Override
public boolean onCheckIsTextEditor() {
return true;
Expand Down

0 comments on commit 4f45588

Please sign in to comment.