tags:

views:

78

answers:

1

I want users to be able to control the birghtness with a slider. Please answer in the simplest way because im a noob when it comes to android.

A: 

Controlling the screen brightness has been through here many times, for example this post.

Now, the easiest way to get a slider control is to use the SeekBar widget, which comes pretty close. Then you just hook up the OnSeekBarChange event to your function which sets the brightness to your desired value.

Roosmaa
why didnt you just provide me with a example code. that would have been more helpful.
ryan
because I don't have any? Besides it's your "homework" to write the final code, can't really rely on people to do your job for you.
Roosmaa