From 54eaa273b6fefc4e1ce9dce1242960e744cc68ab Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 8 Jun 2018 19:23:29 +0200 Subject: [PATCH] Changed seekbar style --- app/src/main/res/drawable/seekbar_bg.9.png | Bin 0 -> 207 bytes app/src/main/res/drawable/seekbar_fill.9.png | Bin 0 -> 206 bytes app/src/main/res/drawable/seekbar_progress.xml | 12 ++++++++++++ app/src/main/res/drawable/seekbar_thumb.xml | 11 +++++++++++ app/src/main/res/layout/preference_seekbar.xml | 3 ++- 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/seekbar_bg.9.png create mode 100644 app/src/main/res/drawable/seekbar_fill.9.png create mode 100644 app/src/main/res/drawable/seekbar_progress.xml create mode 100644 app/src/main/res/drawable/seekbar_thumb.xml diff --git a/app/src/main/res/drawable/seekbar_bg.9.png b/app/src/main/res/drawable/seekbar_bg.9.png new file mode 100644 index 0000000000000000000000000000000000000000..49f844016c0b1121eaf4a6740d0e60e7c9884767 GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)P!3HG%MVKuHQfx`y?k+$Y2!1;6t_M<_1s;*b z3=De8Ak0{?)V>TT$X?><>&pI!jYCjCWn1T`g+L+664!_l=ltB<)VvY~=c3falGGH1 z^30M91$R&1fbd2>aiAh|PZ!4!iOb0e4y^wrIXDFb+C4TMi0JL@EtvZC>(?G0An17^ r_E)P!3HG%MVKuHQfx`y?k+$Y2!1;6t_M<_1s;*b z3=De8Ak0{?)V>TT$X?><>&pI!jYCjS^~TiCAR);T*N775{M_8syb=cIqSVBa)D(sC z%#sWRcTeAd@J2pypdvF*7sn8Z%gG52tp6oBI0XdSJvJSPh?N%5I?W^@At@oDz_N*D q5)+$R%G4KDA8(y>IT30xm!IKj2H%A3M|nZ6W$<+Mb6Mw<&;$Uj$u+tF literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable/seekbar_progress.xml b/app/src/main/res/drawable/seekbar_progress.xml new file mode 100644 index 000000000..72c15e8c5 --- /dev/null +++ b/app/src/main/res/drawable/seekbar_progress.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/seekbar_thumb.xml b/app/src/main/res/drawable/seekbar_thumb.xml new file mode 100644 index 000000000..23a860ce6 --- /dev/null +++ b/app/src/main/res/drawable/seekbar_thumb.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/preference_seekbar.xml b/app/src/main/res/layout/preference_seekbar.xml index 87b4c0ccc..fccdff8d5 100644 --- a/app/src/main/res/layout/preference_seekbar.xml +++ b/app/src/main/res/layout/preference_seekbar.xml @@ -46,7 +46,8 @@ android:layout_below="@android:id/summary" android:layout_alignStart="@android:id/summary" android:layout_alignLeft="@android:id/summary" - android:thumb="@android:drawable/radiobutton_off_background" + android:progressDrawable="@drawable/seekbar_progress" + android:thumb="@drawable/seekbar_thumb" android:padding="16dip" android:theme="@style/Widget.AppCompat.SeekBar.Discrete"/>