Android study notes

The following 4 animation effects are provided in android:  
1. AlphaAnimation transparency animation effect  
2, ScaleAnimation zoom animation effect  
3, TranslateAnimation displacement animation effect  
4, RotateAnimation Rotation animation effect 
 
 
 
query
SQLiteDatabase dbInstance;
Cursor cursor = dbInstance.query(String table,String []Columns, String selection, String[]selectionArgs, String having, string  orderBy);
 
table: table name, cannot be null
columns: The name of the column to be queried, which can be multiple or null, which means query all columns
selection: query conditions, such as id=? and name=? can be null
selectionArgs: Assign a value to the query condition, a question mark corresponds to a value, can be null in order
having: syntax have, can be null
orderBy: syntax, sort by xx, can be null
 
Android layout and image usage specifications 
 
In order to save memory, the Android system generally does not support the direct display of gif pictures. Even if you force the setting, only the first frame of the picture will be displayed.
 
 
 
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325020475&siteId=291194637