선형 레이아웃이 포함 된 scrollview가 있습니다. 내 스크롤 뷰의 스크롤 막대 오른쪽에 약간의 여백을 주어야합니다. 즉, 테두리가 아닌 선형 레이아웃 내부에 스크롤이 표시되어야합니다. 있는 ScrollView 안에있는 LinearLayout의 좌우 여백android scrollview and scrollbar position
<ScrollView
android:fillViewport="true"
android:orientation="vertical"
android:layout_width="match_parent"
android:scrollbarStyle="outsideOverlay"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:scrollbarTrackVertical="@drawable/scrollbattrack"
android:scrollbarThumbVertical="@drawable/scrollbarthumb"
android:fadeScrollbars="false"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ListView"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent">
</LinearLayout>
</ScrollView>