Exemplo n.º 1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.popup_badge_info);

    popup_badge_quit = (ImageView) this.findViewById(R.id.popup_badge_quit);

    BlurBehind.getInstance()
        .withAlpha(70)
        .withFilterColor(Color.parseColor("#000000"))
        .setBackground(this);

    popup_badge_quit.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            finish();
            overridePendingTransition(0, 0);
          }
        });
  }
Exemplo n.º 2
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_about);
   BlurBehind.getInstance().setBackground(this);
 }