diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-01-12 17:33:34 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-01-12 17:33:34 -0800 |
commit | 1b467698529b3f3a6a01912004e7c3ef8a769a70 (patch) | |
tree | 01bdb53bfe7c2993bbb2c411373020bedcaf57c8 /app/src/main/res | |
parent | 2f03e2264f76ce105c981ef4312683a57437431c (diff) | |
download | dsub-1b467698529b3f3a6a01912004e7c3ef8a769a70.tar.gz dsub-1b467698529b3f3a6a01912004e7c3ef8a769a70.tar.bz2 dsub-1b467698529b3f3a6a01912004e7c3ef8a769a70.zip |
Tweak fast scrollbars some more + add padding for regular scrollbar
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/abstract_recycler_fragment.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/album_cell_item.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/basic_cell_item.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/download_playlist.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values-large/dimens.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 4 |
7 files changed, 13 insertions, 10 deletions
diff --git a/app/src/main/res/layout/abstract_recycler_fragment.xml b/app/src/main/res/layout/abstract_recycler_fragment.xml index 4cd618e6..0a443ed6 100644 --- a/app/src/main/res/layout/abstract_recycler_fragment.xml +++ b/app/src/main/res/layout/abstract_recycler_fragment.xml @@ -20,7 +20,9 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbars="vertical" - android:paddingRight="@dimen/FastScroller.LeftAlignedMargin"/> + android:paddingRight="@dimen/FastScroller.LeftAlignedMargin" + android:layout_marginRight="@dimen/FastScroller.NormalBarMargin" + android:scrollbarStyle="outsideOverlay"/> <github.daneren2005.dsub.view.FastScroller android:id="@+id/fragment_fast_scroller" diff --git a/app/src/main/res/layout/album_cell_item.xml b/app/src/main/res/layout/album_cell_item.xml index 524727a0..4ad32409 100644 --- a/app/src/main/res/layout/album_cell_item.xml +++ b/app/src/main/res/layout/album_cell_item.xml @@ -91,8 +91,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right|center_vertical" - android:paddingRight="2dp" - style="@style/BasicButton"/> + style="@style/MoreButton"/> </LinearLayout> </LinearLayout> diff --git a/app/src/main/res/layout/basic_cell_item.xml b/app/src/main/res/layout/basic_cell_item.xml index fcfb6da5..a10fc4be 100644 --- a/app/src/main/res/layout/basic_cell_item.xml +++ b/app/src/main/res/layout/basic_cell_item.xml @@ -39,8 +39,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right|center_vertical" - android:paddingRight="2dp" - style="@style/BasicButton"/> + style="@style/MoreButton"/> </LinearLayout> </LinearLayout> </github.daneren2005.dsub.view.CardView>
\ No newline at end of file diff --git a/app/src/main/res/layout/download_playlist.xml b/app/src/main/res/layout/download_playlist.xml index 2441d17a..161056db 100644 --- a/app/src/main/res/layout/download_playlist.xml +++ b/app/src/main/res/layout/download_playlist.xml @@ -29,7 +29,8 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbars="vertical" - android:paddingRight="@dimen/FastScroller.LeftAlignedMargin"/> + android:paddingRight="@dimen/FastScroller.LeftAlignedMargin" + android:layout_marginRight="@dimen/FastScroller.NormalBarMargin"/> <github.daneren2005.dsub.view.FastScroller android:id="@+id/download_fast_scroller" diff --git a/app/src/main/res/values-large/dimens.xml b/app/src/main/res/values-large/dimens.xml index f3034efd..faf88b3e 100644 --- a/app/src/main/res/values-large/dimens.xml +++ b/app/src/main/res/values-large/dimens.xml @@ -5,6 +5,7 @@ <dimen name="Button.Small">54dip</dimen> <dimen name="AlbumArt.Small">96dip</dimen> <dimen name="AlbumArt.Header">210dip</dimen> - <dimen name="FastScroller.LeftAlignedMargin">16dp</dimen> + <dimen name="FastScroller.LeftAlignedMargin">10dp</dimen> + <dimen name="FastScroller.NormalBarMargin">8dp</dimen> <dimen name="FastScroller.RightMargin">8dp</dimen> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 2576ea61..010d69e6 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -9,6 +9,7 @@ <dimen name="Card.Radius">4dp</dimen> <dimen name="Card.TextLeftPadding">8dp</dimen> <dimen name="Card.MarginsForShadow">2dp</dimen> - <dimen name="FastScroller.LeftAlignedMargin">6dp</dimen> + <dimen name="FastScroller.LeftAlignedMargin">4dp</dimen> + <dimen name="FastScroller.NormalBarMargin">4dp</dimen> <dimen name="FastScroller.RightMargin">4dp</dimen> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index edab8042..04d92fa5 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -37,8 +37,8 @@ <item name="android:background">?android:dividerHorizontal</item> </style> - <style name="MoreButton" parent="BasicButton"> - + <style name="MoreButton" parent="@style/BasicButton"> + <item name="android:paddingRight">2dp</item> </style> <style name="PlaybackControl" parent="@style/BasicButton"> |