Seekbar with Android 4.0 style

I know that it is possible to change the style of any widget in android. However, i have try with the Seekbar. I want to have seek bar like android 4.0 have. My app is running in android 2.2 and i want to show seekbar like Android 4.0.

So, what should to change?

I have try with below code:

 <style name="seekbarStyle" parent="android: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">8dip</item>
    <item name="android:focusable">true</item>


Please help me. I want seekbar style to look like android 4.0 in all device.


You can use HoloEverywhere library which allows to use Holo themes on Android 2.x

Need Your Help

standard linux link to preferred file manager?

c linux gtk desktop

I'm writing a GTK+ application. At the end of the program's running, it opens the user selected directory. Currently, it is hard-coded to open nautilus:

Implementing a Hashmap in C++ :: hashing function for templated data type

c++ templates hash hashmap unordered-map

I've been using STL's unordered_map recently and while it seems to work nicely I don't quite understand how the hashing function works given that the data type is given as a template parameter. In...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.