Last active
August 29, 2015 14:27
-
-
Save JChudasama/4ff542c7ec2f0361cd2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
<item android:id="@android:id/background"> | |
<shape> | |
<corners android:radius="20dp" /> | |
<gradient | |
android:angle="-90" | |
android:centerColor="@android:color/black" | |
android:centerX="1" | |
android:type="linear" | |
android:endColor="@android:color/darker_gray" | |
android:gradientRadius="50" | |
android:startColor="@android:color/darker_gray" /> | |
</shape> | |
</item> | |
<item android:id="@android:id/secondaryProgress"> | |
<clip | |
android:clipOrientation="horizontal" | |
android:gravity="left" > | |
<shape> | |
<corners android:radius="20dp" /> | |
<gradient | |
android:angle="0" | |
android:centerColor="@color/color_black_semi_1_656262" | |
android:centerX="0.75" | |
android:endColor="@color/color_black_semi_1_656262" | |
android:startColor="@color/color_black_semi_1_656262" /> | |
</shape> | |
</clip> | |
</item> | |
<item android:id="@android:id/progress"> | |
<clip | |
android:clipOrientation="horizontal" | |
android:gravity="left" > | |
<shape> | |
<corners android:radius="20dp" /> | |
<gradient | |
android:angle="0" | |
android:centerColor="@color/color_seekbar_progress_main" | |
android:centerX="0.75" | |
android:endColor="@color/color_seekbar_progress_main" | |
android:startColor="@color/color_seekbar_progress_main" /> | |
</shape> | |
</clip> | |
</item> | |
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SeekBar | |
android:id="@+id/sbVolume" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:indeterminate="false" | |
android:max="100" | |
android:maxHeight="10dp" | |
android:progressDrawable="@drawable/custom_seekbar_progress_drawable" | |
android:thumb="@drawable/music_bar_slider" | |
android:thumbOffset="0.5dp" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment