Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which xml attribute is to be set to disable android seekbar

Please help me to disable the seekbar through the xml file rather than through the code

<SeekBar
    ........
    android:clickable="false"
    android:longClickable="false"
    android:focusable="false"
    android:focusableInTouchMode="false" />

Have tried with all the above attributes, but cant disable the seekbar. Thanks in advance

like image 405
jithu Avatar asked May 02 '12 22:05

jithu


1 Answers

Simple:

android:enabled="false"
like image 176
dymmeh Avatar answered Nov 15 '22 06:11

dymmeh