Android development study notes (eighteen) checkbox CheckBox and message prompt box Toast

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Toast basic format
Toast.makeText(location, content, duration).show();
getApplicationContext() to get the context location

The picture above shows three display methods: the
first default method, the
second method to adjust the position, the
third method of adding text to pictures

Guess you like

Origin blog.csdn.net/qq1198768105/article/details/113840032