Please enable JavaScript.
Coggle requires JavaScript to display documents.
layout (ConstraintLayout (add a constraint (parent position, order…
layout
ConstraintLayout
concept
add to project
add a constraint
parent position
order position
alignment
baseline alignment
constraint to a guideline
constraint to a barrier
adjust the constraint bias
adjust the view size
adjust the view margins
control linear groups with a chain
spread
spread inside
weighted
packed
automatically create constraints
List with RecyclerView
concept
add support library
add recycler view to layout
add a list adapter
customize
add item animations
implementing adaptive UI flows
determine the current layout
react according to current layout
reuse fragments in other activities
handle screen configuration changes
bulding layouts with an adapter
filling an adapter view with data
handling click events
common types
list view
grid view
declare
declare UI elements in XML
instantiate layout elements in runtime
attributes
ID
layout parameters
card-based layout
add dependencies
create cards
write the XML
load the XML resource
Layout position
Size, padding & margins
common layouts
LinearLayout
GridView