Use FlowLayout.ALIGN_TOPLEFT instead of deprecated FlowLayout.ALIGN_LEFTTOP
Use OrderedLayout.setHorizontal(boolean) instead of deprecated ToolbarLayout.setVertical(boolean)