Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I want to complete the answer from above for the people who are new to the system,</p> <p>the missing xmls ( background_fill , progress_fill and progress could look like that for a gradient red</p> <h2>progress.xml</h2> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:id="@android:id/background" android:drawable="@drawable/background_fill" /&gt; &lt;item android:id="@android:id/progress"&gt; &lt;clip android:drawable="@drawable/progress_fill" /&gt; &lt;/item&gt; &lt;/layer-list&gt; </code></pre> <h2>background_fill.xml</h2> <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;gradient android:startColor="#FF555555" android:centerColor="#FF555555" android:endColor="#FF555555" android:angle="90" /&gt; &lt;corners android:radius="5px" /&gt; &lt;stroke android:width="2dp" android:color="#50999999" /&gt; &lt;stroke android:width="1dp" android:color="#70555555" /&gt; &lt;/shape&gt; </code></pre> <h2>progress_fill.xml</h2> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;gradient android:startColor="#FF470000" android:centerColor="#FFB80000" android:endColor="#FFFF4400" android:angle="180" /&gt; &lt;corners android:radius="5px" /&gt; &lt;stroke android:width="2dp" android:color="#50999999" /&gt; &lt;stroke android:width="1dp" android:color="#70555555" /&gt; &lt;/shape&gt; </code></pre> <p>i did not complete the implementing for android:thumb, so the thumb will be still the original one</p> <p>Therefore we just have to delete this line again from our layout xml where we define the seekbar</p> <pre><code>android:thumb="@drawable/thumb" </code></pre> <p>Good luck!!!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload