A (175)

(Tuis.) #1

Graphical layout editor (GLE), 124, 237
Graphic Image Manipulation
Program (GIMP), 19–20, 92
composite layer, clipboard, 335
compositing layer
Fuzzy select tool, 332
galaxy imagery, 332
ImageButton ring, 330
layers palette, 331
eye icon, 330
Fuzzy select tool, 332
delete operation, 334
layer visibility, 334–335
operation modes, 333
Hue Saturation dialog, 341
icons palette, 330
ImageButton1source.png file, 329
ImageButton states, 340
Open Image dialog, 328
resolution densities
export image dialog, 338
Scale image operation, 340
Undo scale image, 339
XXHDPI image, 339
GridLayout class
Alignment nested class
default settings, 266
Horizontal and Vertical Spec, 266
configuration
Child Widget parameters, 279
global parameter, 277
rowCount and columnCount
parameters, 273
Set Vertical Orientation icon, 278
UI widget order, 276
UseDefaultMargins
parameter, 274–275
definition, 260
layout_gravity parameter, 284
LayoutParams Nested class, 263
location, flexibility,
and gravity, 262–263
Parent parameters, 272
RelativeLayout
activity_edit.xml file, 268
Graphical Layout Editor tab, 271
LayoutParams class, 270
minSdkVersion parameter, 269


parent tag/child tag parameters, 268, 271
XML markup editor, 268
rowSpec and columnSpec
parameters, 261
Spanning
AnalogClock widget, 282
columnSpan parameter, 283
Graphical Layout Editor, 283–284
View and ViewGroup classes, 261

■ H
HelloUniverse application
Galaxy class
code implementation, 163
constructor method, 158
Eclipse ADT creation, 160
methods, 157
setGalaxyColonies( ) method, 159
setGalaxyFleets( ) method, 159
setGalaxyPopulation( ) method, 159
setGalaxyStarships( ) method, 159
variable declaration, 156–157

■ I
ImageButton class
android:src XML parameter, 327
android.widget package, 326
description, 326
focused state, 327
GIMP (see Graphic Image
Manipulation Program (GIMP))
hovered state, 327
normal state, 327
pressed state, 327
setImageResource( ) method., 327
XML structure, 345
activity_main.xml, 347
android:background, 347
android:drawable parameter, 346
android:src parameters, 347–348
android:state parameters, 346, 348
SlidingPaneLayout container, 348
Image compositing, 306
alpha-channel
256 levals transparency, 307
ARGB data value, 307
bottom plate, 307

670 Index

Free download pdf