Java Code Examples for android.view.View#SCROLLBARS_OUTSIDE_OVERLAY
The following examples show how to use
android.view.View#SCROLLBARS_OUTSIDE_OVERLAY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AwContents.java From android-chromium with BSD 2-Clause "Simplified" License | 5 votes |
/** * @see View#setScrollBarStyle(int) */ public void setScrollBarStyle(int style) { if (style == View.SCROLLBARS_INSIDE_OVERLAY || style == View.SCROLLBARS_OUTSIDE_OVERLAY) { mOverlayHorizontalScrollbar = mOverlayVerticalScrollbar = true; } else { mOverlayHorizontalScrollbar = mOverlayVerticalScrollbar = false; } }
Example 2
Source File: AwContents.java From android-chromium with BSD 2-Clause "Simplified" License | 5 votes |
/** * @see View#setScrollBarStyle(int) */ public void setScrollBarStyle(int style) { if (style == View.SCROLLBARS_INSIDE_OVERLAY || style == View.SCROLLBARS_OUTSIDE_OVERLAY) { mOverlayHorizontalScrollbar = mOverlayVerticalScrollbar = true; } else { mOverlayHorizontalScrollbar = mOverlayVerticalScrollbar = false; } }