Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to set minimum value for SeekBar?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Makrand  
View profile  
 More options Jun 13 2009, 5:22 am
From: Makrand <makrandm...@gmail.com>
Date: Sat, 13 Jun 2009 02:22:57 -0700 (PDT)
Local: Sat, Jun 13 2009 5:22 am
Subject: How to set minimum value for SeekBar?
Hello

I am using SeekBar in my application, currently seek bar minimum value
is zero, but as per application requirement seek bar value should not
be zero.

how to set minimum value for SeekBar.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jun 13 2009, 7:08 am
From: "Mark Murphy" <mmur...@commonsware.com>
Date: Sat, 13 Jun 2009 07:08:45 -0400 (EDT)
Local: Sat, Jun 13 2009 7:08 am
Subject: Re: [android-beginners] How to set minimum value for SeekBar?

> I am using SeekBar in my application, currently seek bar minimum value
> is zero, but as per application requirement seek bar value should not
> be zero.

Use arithmetic to adjust your application-required value.

For example, suppose you have data values from -40 to 100 you want to
display on the SeekBar. Set the SeekBar's maximum to be 140 (100-(-40)),
then add 40 to the raw value to get the number you should use when setting
the bar position.

> how to set minimum value for SeekBar.

The minimum value is 0 and cannot be changed, other than for you to build
your own SeekBar.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »