android.widget.GridLayout is a layout manager used to arrange child views in grid. You can specify how much columns and rows the grid have use it’s rowCount or columnCount property. You […]
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.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.support.v4.widget.DrawerLayout is a android layout which follow material design pattern. It is used to implement slide in / out menu animation in android application. This article will show you an […]
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.
LinearLayout has layout_weight property that can be used to specify the width percentage that a component can occupy. But FrameLayout and RelativeLayout do not support such property.
Previous article Android LinearLayout Example has introduced how to use LinearLayout to layout and align components in android app. This article will show you an example about how to implement on touch […]
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 […]
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 […]
FrameLayout is used to allocate a part of screen to a single View component to display. It is similar to CardLayout in Swing programming. A FrameLayout component can include multiple […]