title: Vertical slider in android using google material library
body: <p>I have this google material slider aligned in horizontal direction:</p>
  <pre><code>&lt;com.google.android.material.slider.Slider
      android:id=&quot;@+id/slider_tilt&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:layout_above=&quot;@+id/tilt_btn&quot;
      android:layout_marginBottom=&quot;20dp&quot;
      android:layout_marginTop=&quot;10dp&quot;
      android:layout_marginHorizontal=&quot;65dp&quot;
      android:valueFrom=&quot;-4&quot;
      android:valueTo=&quot;4&quot;
      android:stepSize=&quot;0.5&quot;/&gt;
  </code></pre>
  <p>but I want it to be in vertical direction and aligned to the left of the screen. I tried rotating it but then couldn't get left side alignment, please let me know if there is a way out.</p>