Using xml Syntax Highlighting
- <shape xmlns:android="http://schemas.android.com/apk/res/android" type="rectangle">
- <gradient android:startColor="@color/player_seek_bar_2"
- android:centerColor="@color/player_seek_bar_1"
- android:endColor="@color/player_seek_bar_2"
- android:angle="270"/>
- <size android:width="50dp" android:height="50dp"/>
- <stroke android:width="2dp" android:color="#FFFFFFFF"/>
- <corners android:radius="3dp" />
- </shape>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4
However, modifying the size attributes has no effect. Adjusting the size attributes in the layout file changes the size only by clipping the seekbar. This is may layout:
Using xml Syntax Highlighting
- <SeekBar android:id="@+id/progressSeekBar"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="5sp"
- android:max="100"
- android:progress="0"
- android:layout_weight="20"
- android:progressDrawable="@drawable/player_progress_seek_bar"/>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


