aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-12-23 17:13:01 -0800
committerScott Jackson <daneren2005@gmail.com>2015-12-23 17:13:01 -0800
commitb2b5439d1faa8ed5f095404df003f0d70ddf3236 (patch)
tree9f1763f579816d7381fb0aa7d0f82a73927ead46 /app/src/main/res/layout
parent64d352511f7ad2ae5927b9f3a5e482f1b6eeaad1 (diff)
downloaddsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.tar.gz
dsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.tar.bz2
dsub-b2b5439d1faa8ed5f095404df003f0d70ddf3236.zip
Make scrollbar margins a bit wider on tablets
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/abstract_recycler_fragment.xml2
-rw-r--r--app/src/main/res/layout/download_playlist.xml3
-rw-r--r--app/src/main/res/layout/fast_scroller.xml2
3 files changed, 4 insertions, 3 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"/>