ProgressBar / SeekBar Height

by bestpriv...@googlemail.com » Sat, 28 Mar 2009 17:06:36 GMT


Sponsored Links
 I would like do decrease the height of my seekbar. I tried for hours
but I just  do not get it. I use a custom drawable so I guess that
this is the place to specify the size:


<shape xmlns:android=" http://schemas.android.com/apk/res/android" ;
type="rectangle">
   <gradient android:startColor="@color/player_seek_bar_2"
   android:centerColor="@color/player_seek_bar_1"
   android:endColor="@color/player_seek_bar_2"
   android:angle="270"/>
   <size android:width="50dp" android:height="50dp"/>
   <stroke android:width="2dp" android:color="#FFFFFFFF"/>
   <corners android:radius="3dp" />
</shape>


However, modifying the size attributes has no effect. Adjusting the
size attributes in the layout file  changes the size only by clipping
the seekbar. This is may layout:


<SeekBar android:id="@+id/progressSeekBar"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_margin="5sp"
                android:max="100"
                android:progress="0"
                        android:layout_weight="20"
                        
android:progressDrawable="@drawable/player_progress_seek_bar"/>

--~--~---------~--~----~------------~-------~--~----~



ProgressBar / SeekBar Height

by birds fly » Sat, 28 Mar 2009 19:43:20 GMT


 hi ,

      I have modify the seekbar size of height, you can read of it that
source code res/style.xml,
where located in ANDROID_HOME/tools/lib/res/default/values/style.xml
What I means,you need to  modify the seekbar style and override old style.
default style:
    <style name="Widget.SeekBar">
        <item name="android:indeterminateOnly">false</item>
        <item
name="android:progressDrawable">@android:drawable/progress_horizontal</item>
        <item
name="android:indeterminateDrawable">@android:drawable/progress_horizontal</item>
        <item name="android:minHeight">20dip</item>
        <item name="android:maxHeight">20dip</item>
        <item name="android:thumb">@android:drawable/seek_thumb</item>
        <item name="android:thumbOffset">8px</item>
    </style>

You try it. Thanks.

On Sat, Mar 28, 2009 at 5:05 PM, bestpriv...@googlemail.com <




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


ProgressBar / SeekBar Height

by bestpriv...@googlemail.com » Sat, 28 Mar 2009 23:12:53 GMT


 Many thanks. Works fine now :-)




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Wareseeker[dot]com leaching apps from the Market

Att seems to have a practical aproach, just do not allow installs from outside 
the android market. Seems like a necessary evil.




What really sucks is when your paid apps start showing up there too.
Over 35% (and climbing) of my installs of my paid app are from pirated
sources.

I would give my new seeded N1 back in a heartbeat in exchange for an
Android market that solved piracy in a meaningful way.  I'm sure
Google is working on something, but good lord things over there feel
like they take forever sometimes!



On Mar 31, 4:58 pm, Tobias Eisentraeger <teisentrae...@googlemail.com>


Hello List,

Two of my free apps from the market got listed today at the website
wareseeker[dot]com.

I did not consent to publish there, nobody ever asked for my permission. I
have contacted them through their contact form and via direct email, but no
answer since about 8 hours. Does anyone have a phonenumber of them? The
download count goes up.

I believe that no website has the right to distribute another developers
software without the consent, even if its free in the official android
market.

You might wanna check if your apps are on there too.

http://pda[dot]wareseeker[dot]com

Any thoughts?

-- 

2. OOT: Trio Data :-)

eh ada orang ganteng pake topi... :=)) x. ...

*duh sol molo nih...

sent from Milestone2.1 with  | read www.tux.or.id &
http://bit.ly/aSTXL0for more android info




Beli majalah Forsel edisi April 2010 halaman 53, Lesjaw,Wol dan Yoppie   in
action ....


Inilah trio data


[image: triodata.jpg]





-- 
Salam,


Agus Hamonangan

3. Cyanogen 5.0.5

4. Why is the same dialog sometimes translucent?

5. Your message was NOT received by android-develop...@googlegroups.com!

6. how to dynamically create buttons?

7. how to make an image button?