1
我想将搜索栏的拇指放在android的最右端角落,这是默认情况下在最左侧的角落。是否有可能?Android Seekbar拇指位置
我想将搜索栏的拇指放在android的最右端角落,这是默认情况下在最左侧的角落。是否有可能?Android Seekbar拇指位置
yes.you可以试试这个:
在XML:也
<SeekBar android:id="@+id/seek"
android:layout_width="fill_parent"
android:layout_height="90dip"
android:max="80"
android:progress="80"
/>
,编程可以将其设置:
SeekBar sb=(SeekBar)findViewById(R.id.seek);
sb.setProgress(80); //you must set your maximum progress here,which you specified in your xml