Updated tickmark
This commit is contained in:
parent
da856786ba
commit
67e90bd1e7
app/src/main/res
11
app/src/main/res/drawable/seekbar_tickmark.xml
Normal file
11
app/src/main/res/drawable/seekbar_tickmark.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/fdroid_green"/>
|
||||
<size
|
||||
android:width="10dp"
|
||||
android:height="10dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
@ -49,6 +49,6 @@
|
||||
android:progressDrawable="@drawable/seekbar_progress"
|
||||
android:thumb="@drawable/seekbar_thumb"
|
||||
android:padding="16dip"
|
||||
android:theme="@style/Widget.AppCompat.SeekBar.Discrete"/>
|
||||
android:theme="@style/DiscreteSeekBar"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -317,4 +317,8 @@
|
||||
<style name="AppThemeLight.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
||||
|
||||
<style name="AppThemeLight.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
|
||||
|
||||
<style name="DiscreteSeekBar" parent="Base.Widget.AppCompat.SeekBar.Discrete">
|
||||
<item name="tickMark">@drawable/seekbar_tickmark</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user