Skip to content

Instantly share code, notes, and snippets.

@cjoseanguiano
cjoseanguiano / MainActivity.java
Created June 20, 2019 20:52 — forked from granoeste/MainActivity.java
[Android] Button background change for state. (selector)
package com.example.sellectorsample;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends Activity implements OnClickListener {