Index
A
B
C
D
E, F
G
H
I
J, K
L, M
N
O
P, Q
R
S
T
U, V, W
User interface
ActionBarActivity
action elements
AndroidManifest.xml
custom views
Home/Up button
list navigation
native styles
screen shot
styles
support styles
tab navigation
activity orientation lock
API level 1
portrait activities
screenOrientation
UserEntryActivity
apply masks
applied, arbitary
arbitary mask
arbitary mask image
2D graphics
getOverlay()
mask applied
onCreate()
onSizeChanged()
original, rounded corner
PorterDuffXferMode
rectangle mask
rounded corner bitmap
setAnimationStyle()
setTouchInterceptor()
to bitmap
to images
transfer mode
back behavior customization
and fragments
FragmentManager.popBackStackImmediate()
onBackPressed()
popBackStack()
problem
solution
stack
working
XML file
compound controls
accessor functions
API level 1
constructors
custom widget
display, modes
TextImageButton
widgets
XML layout
create and display
API level 1
custom view
LayoutInflater.inflate()
layout modification
LinearLayout
onDraw()method
onMeasure()
onSizeChanged()
parameters
performance
setMeasuredDimension()
solution
view elements
ViewGroups
custom state drawables
API level 1
boolean values
button_states.xml
checkable widgets
check_state.xml
clickable widgets
setButtonDrawable()
state-list
drag and drop views
ACTION_DRAG_ENDED
ACTION_DRAG_ENTERED
ACTION_DRAG_EXITED
activity
API level 11
before and after drag
ClipData object
DragEvent
DragShadowBuilder
forwarding touches
onDragListener
onDrawShadow()
onProvideShadowMetrics()
drawables as backgrounds
API level 1
<bitmap> element
as rectangle, border
corner radius
draw9patch
gradient
gradient ListView row
image, stretch and wrap
mapped zones
nine-patch images
NinPatchDrawable
patterns
rounded view
row, gradient
size and padding
source bitmaps
speech bubble source
stroke
TextView, speech bubble
view.setBackGroundResource
XML patterns
in XML tag
drawables as backgrounds, solid color
dynamic orientation lock
API level 1
getConfiguration()
screenOrientation
setRequestedOrientation() method
ToggleButton instance
user rotation lock
empty views
AdapterView.setEmptyView()
interactive layout
layouts
emulating HOME button
API level 1
problem
working
forwarding touch events
activity
API level 1
check box
dispatchTouchEvent() method
HorizontalScrollView
implementing TouchDelegate
receiving event
remote scroller
high performance drawing
activity, surface drawing
add, clear and move methods
API level 1
background thread
DrawingThread
HandlerThread
lockCanvas()
onSurfaceTextureUpdated()
SurfaceHolder
SurfaceTextureListener
SurfaceView
texture drawing
TextureView
TextureView drawing
threads
updateSize()
keyboard actions
custom actions
Edittext widgets
enter key, custom
input method (IME)
onEditorAction()
results, enter key
values, enter key
layout changes, animation
add and remove views
LayoutTransition
Linearlayout
PropertyValuesHolder()
transition states
ListView customize
complex choice
custom_row.xml
getView() method
ListAdapter
modified row
row_background_pressed.xml
row_background.xml
simple layout
XML layout
manual handling rotation
<activity> element
API level 1
configChanges parameter
keyboardHidden parameter
managing
onRestoreInstanceState
onSaveInstanceState() method
problem
resource-qualified directories
saveState() method
setContentView()
modular interfaces
activities
API level 4
ArrayAdapter
data fragment
detail view, fragment
DialogFragment
FragmentManager
fragments
getShowsDialog() method
master fragment
WebViewClient
options menu customization
in Android 2.3
in Android 4.0
in Android 4.1
API level 1
getMenuInflater()
onOptionsItemSelected()
onPrepareOptionsMenu
overriding menu
problem
showAsAction attribute
in XML
pop-up menu creation
action menu, context
ActionMode
API level 11
application view
callback methods
choiceMode attribute
ContextMenu
custom menu
MultiChoiceModeListener
onActionItemClicked()
onCreateActionMode()
selections in list
XML file
section headers, ListView
activity, SimplerExpandableListAdapter
darn expansion
ExpandableListView
SimplerExpandableListAdapter
situation-specific layout implementation
API level 4
default configurations
default display
device classes
display in ten-inch tablet
handset portrait and landscape
landscape configurations
layout aliases
layout configuration
load layout
main_tablet.xml fil
orientation specific
qualified directories
resource qualifiers
screen dimension
screen size qualifiers
size specific
tablet configuration
soft keyboard dismiss
API level 3
hideSoftInputFromWindow()
View.OnClickListener
swiping between views
add and remove pages
API level 4
callbacks
dragging
getCount()
getItemPosition() method
getOffscreenPageLimit()
ImagePagerAdapter
instantiateItem()
isViewFromObject
list display
modification, result
notifyDataSetChanged()
PagerAdapter
ViewPager
ViewPager methods
TextView changes
android.text.TextWatcher
character counter
currency formatter
EditText, currency formatter
solution
touch events
action identifiers
custom handling
GestureDetector
handler
inInterceptTouchEvent()
looping process
onDown()
onScroll()
onTouchEvent() method
PanGestureScrollView
parent view
ScaleGestureDetector
SimpleOnGestureListener
touch slop constants
transition animations
activity
activity_close_enter.xml
activity_close_exit.xml
activity_open_enter.xml
activity_open_exit.xml
animations, fragments
API level 5
custom style
custom theme
fragment_enter.xml
fragment_exit.xml
fragment_pop_enter.xml
fragment_pop_exit.xml
fragments
FragmentTransaction
native fragments
onCreateAnimator
setTransition()
user dialog display
AlertDialog
API level 1
content selection
convenience methods
custom layout
custom list items
ListAdapter
new pop up dialog
setMessage()
setMultiChoiceItems
setNegativeButton()
setSingleChoiceItems()
setView()
with item list
working
view animation
activity
AlphaAnimation
AnimationListener
AnimationSet
AnimationUtils class
API level 1
API level 11
Api level 12
boolean flag
button event
custom animation
flipper animation
image effect
image resources
nodes
ObjectAnimator
parameters
property animations
RotateAnimation
ScaleAnimation
setDuration() method
shrink.xml
system animations
transitions
TranslateAnimation
ViewPropertyAnimator
XML syntax
view transformations
API level 1
getChildStaticTransformation()
getMatrix().setScale()
horizontal and vertical layouts
PerspectiveScrollContentView
scroll contents
setAlpha()
static transforms
window attributes customization
actionBarstyle
activity, theme set
activity toggling
AndroidManifest.xml
API level 1
API level 8
API level 11
API level 14
API level 16
custom themes
dark mode
FEATURE_ACTION_BAR
FEATURE_ACTION_BAR_OVERLAY
FEATURE_CUSTOM_TITLE
FEATURE_INDETERMINATE_PROGRESS
FEATURE_NO_TITLE
FEATURE_PROGRESS
features in code
full screen UI mode
getSystemUiVisibility()
lights out mode
navigation controls
problem
R.attr reference
requestWindowFeature() method
SDK documentation
styles.xml
system themes
SYSTEM_UI_LAYOUT_STABLE
with theme
theme set on application
TITLE VIEW AND aCTIONbAR
toggling systems
windowBackground
windowContentOverlay
windowFullscreen
windowNoTitle
windowTitleBackgroundStyle
windowTitleSize
windowTitleStyle
X, Y, Z