title: How to make SeekBar take up full width of parent
body: <p>I have a <code>SeekBar</code> in a <code>RelativeLayout</code> whose width is equal to the screen width.</p>
  
  <p>I applied <code>layout_width="match_parent"</code> to the <code>SeekBar</code> but it seems to keep some empty space on both sides of the <code>SeekBar</code> to accommodate the thumb.</p>
  
  <p>I also tried using <code>android:thumb="@null"</code> The thumb is gone but not the empty space on the sides.</p>
  
  <p>I really need to make the <code>SeekBar</code> width match the parent's. Could somebody help me with this? Maybe I could create a custom <code>SeekBar</code> class and set the width to the parent width in <strong>onMeasure</strong>(). If this is a possible solution, I don't know how I could pass the parent width to the <code>SeekBar</code> class.</p>
  
  <p>Any help is appreciated. Thank you.</p>