set scrollbar style in theme

We only use inset on HOLO - Material can use the default style (insideOverlay) as we control
the fastscroll area on our own via a3b4eefe09a3d2c358a5e7f39f5b987acc0a667a
This commit is contained in:
Adrian Ulrich 2016-04-04 21:47:56 +02:00
parent 2967bb38eb
commit 5c1c2e0cfe
9 changed files with 7 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="?android:attr/dividerHorizontal"
android:insetLeft="7sp"
android:insetRight="3sp" >
android:insetLeft="8sp"
android:insetRight="8sp" >
</inset>

View File

@ -73,6 +73,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="@drawable/divider_outside_inset" />
android:background="@drawable/inset_divider" />
</ch.blinkenlights.android.vanilla.DraggableRow>

View File

@ -57,9 +57,8 @@ THE SOFTWARE.
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:listSelector="?android:attr/selectableItemBackground"
android:divider="@drawable/divider_outside_inset"
android:dividerHeight="1dip"
android:scrollbarStyle="outsideInset" />
android:divider="@drawable/inset_divider"
android:dividerHeight="1dip" />
</LinearLayout>

View File

@ -24,7 +24,6 @@ THE SOFTWARE.
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:divider="@drawable/divider_outside_inset"
android:divider="@drawable/inset_divider"
android:dividerHeight="1dip"
android:scrollbarStyle="outsideInset"
android:fastScrollEnabled="true"/>

View File

@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:divider="@null"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbarStyle="outsideInset"
dslv:drag_enabled="false"
dslv:drag_start_mode="onMove"
dslv:float_background_color="?float_color"

View File

@ -6,7 +6,6 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:listSelector="?android:attr/selectableItemBackground"
android:scrollbarStyle="outsideInset"
android:divider="@null"
dslv:drag_enabled="true"
dslv:drag_start_mode="onMove"

View File

@ -35,7 +35,6 @@ THE SOFTWARE.
android:layout_width="fill_parent"
android:layout_weight="1"
android:choiceMode="multipleChoice"
android:scrollbarStyle="outsideInset"
dslv:drag_enabled="true"
dslv:drag_start_mode="onMove"
dslv:float_background_color="?float_color"

View File

@ -33,6 +33,7 @@ THE SOFTWARE.
<!-- color to use in full_playback text, set to bright_foreground_disabled_holo_light //-->
<item name="overlay_foreground_color">#ffb2b2b2</item>
<item name="float_color">#f222</item>
<item name="android:scrollbarStyle">outsideInset</item>
</style>
<style name="Playback" parent="VanillaBase">