TJi

XML files that are compiled into frame by frame animation or tweened animation objects .png, .9.png, .jpg files that are compiled into the following Drawable resource subtypes 9-patches resizable bitmaps To get a resource of this type, use imageld Note Image resources placed in here may be automatically optimized with lossless image compression by the aapt tool. For example, a true-color PNG that does not require more than 256 colors may be converted to an 8-bit PNG with a color palette. This...

Creating Dialogs

Android Alertdialog Builder Setitems

SetOwnerActivity Activity fea o onPrepareDialog int, static final int DIALOG_PAUSED_ID 0 static final int DIALOG_GAMEOVER_ID 1 onCreateDialog int ffl t switch protected Dialog onCreateDialog int id Dialog dialog switch id case DIALOG_PAUSED_ID do the work to define the pause Dialog break case DIALOG_GAMEOVER_ID do the work to define the game over Dialog break default dialog null First define the DialogInterface.OnDismissListener interface. This interface has just one method, onDismiss...