1. How to hide the title bar
Add Requestwindowfeature (Window.feature_no_title) to the OnCreate function in Android mainactivity, and be sure to add it in front of the Setcontentview.
Levels in 2.logcat
LOG.V ()----------->verbose (some small logs);
LOG.D ()----------->debug (for debugging programs);
LOG.I ()------------>info (print more important information to help analyze user behavior);
LOG.W ()----------->warn (print warning);
LOG.E ()------------->error (for printing errors);
3. Xmlns in the layout file refers to the XML namespaces;
4. The layout uses Layout_weight to proportionally assign the control (in LinearLayout);
5. In the Manifest.xml
A. Registering activities and changing permissions;
B. Change the program icon (icon) and program name (lable);
6. Use toasts in activities (the information disappears after a period of time, usually used for reminders);
General usage Toast.maketext (activity.this,string,toast.lenght_short). Show ();
Where activity refers to the class that invokes the Toast, string refers to the content you want to remind, Toast.lenght_short and Toast.lenght_long are rules for the duration of the reminder.
type definition of 7.progressBar;
<progressbar
........
style = "Android:attr/progressbarstyle ...."/>
Android a little bit of knowledge