Finder length manipulation
2 answers
XML example:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dip">
<SeekBar android:id="@+id/default_width_seek_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<SeekBar android:id="@+id/fixed_width_seek_bar"
android:layout_width="100dip"
android:layout_height="wrap_content" />
<SeekBar android:id="@+id/full_width_seek_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<SeekBar android:id="@+id/padded_full_width_seek_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dip" android:paddingRight="8dip" />
</LinearLayout>
Side note: The SeekBar's thumb can be trimmed when it is moved all the way to the sides. A little extra addition like the latest SeekBar fixes this problem.
+2
a source to share