Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are no values like outsideOutset and insideOutset. Possible four values are <strong>insideOverlay, insideInset, outsideOverlay, outsideInset</strong> <br> the documentation is there at following two links...</p> <p><a href="http://developer.android.com/reference/android/view/View.html#attr_android:scrollbarStyle" rel="noreferrer">http://developer.android.com/reference/android/view/View.html#attr_android:scrollbarStyle</a></p> <p><a href="http://developer.android.com/reference/android/view/View.html#SCROLLBARS_INSIDE_INSET" rel="noreferrer">http://developer.android.com/reference/android/view/View.html#SCROLLBARS_INSIDE_INSET</a></p> <p>I couldn't understand the documentation properly. So taking reference from ApiDemos Scrollbar demo, I tried this. But i found that there is no difference in <strong>insideInset and outsideOverlay</strong>. <br> These two values are diff, either it should have both as <strong>Inset</strong> or <strong>Overlay</strong></p> <p>updated scrollbar3.xml is </p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"&gt; &lt;ScrollView android:id="@+id/view1" android:layout_width="100dip" android:layout_height="120dip" android:padding="8dip" android:scrollbarStyle="insideOverlay" android:background="@android:color/white" android:overScrollMode="never"&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#ffffff" android:background="@android:color/darker_gray" android:text="@string/scroll_text" /&gt; &lt;/ScrollView&gt; &lt;ScrollView android:id="@+id/view2" android:layout_width="100dip" android:layout_height="120dip" android:padding="8dip" android:scrollbarStyle="insideInset" android:background="@android:color/white" android:overScrollMode="never"&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#ffffff" android:background="@android:color/darker_gray" android:text="@string/scroll_text" /&gt; &lt;/ScrollView&gt; &lt;ScrollView android:id="@+id/view3" android:layout_width="100dip" android:layout_height="120dip" android:padding="8dip" android:scrollbarStyle="outsideOverlay" android:background="@android:color/white" android:overScrollMode="never"&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#ffffff" android:background="@android:color/darker_gray" android:text="@string/scroll_text" /&gt; &lt;/ScrollView&gt; &lt;ScrollView android:id="@+id/view4" android:layout_width="100dip" android:layout_height="120dip" android:padding="8dip" android:scrollbarStyle="outsideInset" android:background="@android:color/white" android:overScrollMode="never"&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#ffffff" android:background="@android:color/darker_gray" android:text="@string/scroll_text" /&gt; &lt;/ScrollView&gt;&lt;/LinearLayout&gt; </code></pre> <p>I hope someone will see this and clarify...</p> <p><img src="https://i.stack.imgur.com/1TZYI.jpg" alt="Screenshot for the View Scrollbar styles"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload