Seek Bar .setFocusable(false) not working

by Jeffrey » Fri, 23 Apr 2010 11:36:54 GMT


Sponsored Links
 I need a seek bar to not be able to be adjusted, but without making
the color change... setFocusable does not work for this. Is there a
way to do this because it seems like there should be (without re-
writing the seekbar class that is).

--



Seek Bar .setFocusable(false) not working

by Jeffrey » Fri, 23 Apr 2010 11:43:22 GMT


 Note that setEnabled will not work for me as it darkens the color.




>


Sponsored Links


Other Threads

1. Where to download ADT 10.0.0 from?

I saw in 

2. Instance state randomly not being restored on orientation changes

I have an app that handles onSaveInstanceState and
onRestoreInstanceState appropriately in Android 2.2.  When I change
the orientation of the device, my UI shows the same state as shown
during the previous device orientation as expected.  However, if I
flip the orientation enough times in random fashion, it will
eventually show the home screen instead of my reoriented app.  When I
start my activity again from the home screen, it will show no state.
I don't have any insight into why this is happening and a search of
the bug database, Stack Overflow, and the discussions didn't turn up
anything.  Any clue why this is happening?

orientation change statements and then suddenly activity start (last
group of statements).

04-03 17:13:47.153: INFO/WindowManager(1082): Setting rotation to 3,
animFlags=0
04-03 17:13:47.177: INFO/ActivityManager(1082): Config changed:
{ scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=2
layout=34 uiMode=17 seq=373}
04-03 17:13:47.231: INFO/UsageStats(1082): Unexpected resume of
org.vermasque.songalarm while already resumed in
org.vermasque.songalarm
04-03 17:13:47.536: INFO/WindowManager(1082): Setting rotation to 1,
animFlags=0
04-03 17:13:47.559: DEBUG/dalvikvm(8079): GC_FOR_MALLOC freed 9218
objects / 493160 bytes in 132ms
04-03 17:13:49.036: DEBUG/dalvikvm(1082): GC_EXPLICIT freed 643
objects / 29688 bytes in 171ms

04-03 17:13:49.036: INFO/WindowManager(1082): Setting rotation to 3,
animFlags=0
04-03 17:13:49.270: INFO/WindowManager(1082): Setting rotation to 0,
animFlags=0
04-03 17:13:49.294: INFO/ActivityManager(1082): Config changed:
{ scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=1
layout=34 uiMode=17 seq=374}
04-03 17:13:49.356: INFO/UsageStats(1082): Unexpected resume of
org.vermasque.songalarm while already resumed in
org.vermasque.songalarm
04-03 17:13:49.981: DEBUG/dalvikvm(1082): GC_EXPLICIT freed 505
objects / 21816 bytes in 100ms

04-03 17:13:49.981: INFO/WindowManager(1082): Setting rotation to 1,
animFlags=0
04-03 17:13:49.997: INFO/ActivityManager(1082): Config changed:
{ scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=2
layout=34 uiMode=17 seq=375}
04-03 17:13:50.044: INFO/UsageStats(1082): Unexpected resume of
org.vermasque.songalarm while already resumed in
org.vermasque.songalarm
04-03 17:13:51.208: DEBUG/dalvikvm(1082): GC_EXPLICIT freed 498
objects / 21616 bytes in 111ms

04-03 17:13:51.208: INFO/WindowManager(1082): Setting rotation to 0,
animFlags=0
04-03 17:13:51.231: INFO/ActivityManager(1082): Config changed:
{ scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=1
layout=34 uiMode=17 seq=376}
04-03 17:13:51.278: INFO/UsageStats(1082): Unexpected resume of
org.vermasque.songalarm while already resumed in
org.vermasque.songalarm
04-03 17:13:53.911: DEBUG/dalvikvm(1082): GC_EXPLICIT freed 1008
objects / 53840 bytes in 126ms

04-03 17:13:54.903: WARN/KeyCharacterMap(8079): Can't open keycharmap
file
04-03 17:13:54.903: WARN/KeyCharacterMap(8079): Error loading
keycharmap file '/system/usr/keychars/qtouch-touchscreen.kcm.bin'.
hw.keyboards.65538.devname='qtouch-touchscreen'
04-03 17:13:54.903: WARN/KeyCharacterMap(8079): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
04-03 17:14:06.356: INFO/ActivityManager(1082): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=org.vermasque.songalarm/.SongAlarmActivity bnds=[245,640]
[355,758] }

-- 

3. Own JAR in /system/framework/

4. Loading images to WebView from Stream or byte[]

5. Simple BroadcastReceiver

6. Nexus S NDEF

7. Problem in setting Camera in 3D Android using opengles