diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-12-23 17:13:01 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-12-23 17:13:01 -0800 |
commit | b2b5439d1faa8ed5f095404df003f0d70ddf3236 (patch) | |
tree | 9f1763f579816d7381fb0aa7d0f82a73927ead46 /app | |
parent | 64d352511f7ad2ae5927b9f3a5e482f1b6eeaad1 (diff) | |
download | dsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.tar.gz dsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.tar.bz2 dsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.zip |
Make scrollbar margins a bit wider on tablets
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/res/layout/abstract_recycler_fragment.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/download_playlist.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/fast_scroller.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values-large/dimens.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 2 |
6 files changed, 9 insertions, 4 deletions
diff --git a/app/src/main/res/layout/abstract_recycler_fragment.xml b/app/src/main/res/layout/abstract_recycler_fragment.xml index 2537d222..4cd618e6 100644 --- a/app/src/main/res/layout/abstract_recycler_fragment.xml +++ b/app/src/main/res/layout/abstract_recycler_fragment.xml @@ -20,7 +20,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbars="vertical" - android:paddingRight="6dp"/> + android:paddingRight="@dimen/FastScroller.LeftAlignedMargin"/> <github.daneren2005.dsub.view.FastScroller android:id="@+id/fragment_fast_scroller" diff --git a/app/src/main/res/layout/download_playlist.xml b/app/src/main/res/layout/download_playlist.xml index db74f8ca..2441d17a 100644 --- a/app/src/main/res/layout/download_playlist.xml +++ b/app/src/main/res/layout/download_playlist.xml @@ -28,7 +28,8 @@ android:id="@+id/download_list" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:scrollbars="vertical"/> + android:scrollbars="vertical" + android:paddingRight="@dimen/FastScroller.LeftAlignedMargin"/> <github.daneren2005.dsub.view.FastScroller android:id="@+id/download_fast_scroller" diff --git a/app/src/main/res/layout/fast_scroller.xml b/app/src/main/res/layout/fast_scroller.xml index bfe990dd..4d37ca63 100644 --- a/app/src/main/res/layout/fast_scroller.xml +++ b/app/src/main/res/layout/fast_scroller.xml @@ -18,7 +18,7 @@ <ImageView android:id="@+id/fastscroller_handle" android:layout_width="wrap_content" - android:layout_marginRight="4dp" + android:layout_marginRight="@dimen/FastScroller.RightMargin" android:layout_marginLeft="12dp" android:layout_height="wrap_content" android:src="@drawable/fast_scroller_handle"/> diff --git a/app/src/main/res/values-large/dimens.xml b/app/src/main/res/values-large/dimens.xml index dfe7ff84..f3034efd 100644 --- a/app/src/main/res/values-large/dimens.xml +++ b/app/src/main/res/values-large/dimens.xml @@ -5,4 +5,6 @@ <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.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 3431de0c..2576ea61 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -9,4 +9,6 @@ <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.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 ea6eb0d1..edab8042 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -38,7 +38,7 @@ </style> <style name="MoreButton" parent="BasicButton"> - <item name="android:paddingRight">8dip</item> + </style> <style name="PlaybackControl" parent="@style/BasicButton"> |