Created
December 24, 2019 06:26
-
-
Save jobinjj/66b31fbe1ba4baa085dde74d20a5e05b to your computer and use it in GitHub Desktop.
toast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
public class MainActivity extends AppCompatActivity { | |
private Button btnSimpleToast,btnPositionedToast,btnCustomToast; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
btnSimpleToast = findViewById(R.id.btn_simple_toast); | |
btnPositionedToast = findViewById(R.id.btn_positioned_toast); | |
btnCustomToast = findViewById(R.id.btn_custom_toast); | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment