Android Layout

android swipe refresh layout example

SwipeRefreshLayout is used to implement drop-down refresh effect in android. It commonly used with ListView, RecyclerView or ScrollView etc. The view object should be scrollable and should be the only […]

android wrap toolbar with appbarlayout

android.support.design.widget.AppBarLayout is used to wrap android.support.v7.widget.Toolbar component. It can make Toolbar to avoid overlapped by ListView or RecyclerView controls in the screen.

android use flexboxlayout in layout file outlook

FlexboxLayout is a google open source project. It’s aimed to implement CSS3 Flexbox style sheet which is used to define a scalable box model layout.

android relativelayout example

RelativeLayout is different from LinearLayout in layout rules. RelativeLayout is more flexible and allows the controls appear in any location of the layout by a relative position. This article will introduce […]

android linearlayout orientation vertical

LinearLayout is a very important layout in android application. This layout will align the controls it contains in the linear direction. The direction can be vertical or horizontal which is specified […]