Gutter
class Gutter
androidx.car.widget.PagedListView.Gutter |
The possible values for @{link #setGutter}. The default value is actually Gutter#BOTH
.
Summary
Constants |
|
---|---|
static Int |
Include a gutter on both sides of the list items. |
static Int |
Include a gutter only on the end side (that is, the opposite side of the scroll bar). |
static Int |
No gutter on either side of the list items. |
static Int |
Include a gutter only on the start side (that is, the same side as the scroll bar). |
Public constructors |
|
---|---|
<init>() The possible values for @{link #setGutter}. |
Constants
BOTH
static val BOTH: Int
Include a gutter on both sides of the list items. This is the default behavior.
Value: 3
END
static val END: Int
Include a gutter only on the end side (that is, the opposite side of the scroll bar).
Value: 2
NONE
static val NONE: Int
No gutter on either side of the list items. The items will span the full width of the PagedListView
, but will not overlap the scroll bar.
Value: 0
START
static val START: Int
Include a gutter only on the start side (that is, the same side as the scroll bar).
Value: 1
Public constructors
<init>
Gutter()
The possible values for @{link #setGutter}. The default value is actually Gutter#BOTH
.