ThumbOffset not working

My application has a search bar with a user parameter thumbOffset. And it does not work correctly on some devices (for example, my own Samsung Galaxy GIO Android 2.3.3)

(my application was created for Android 2.1, and I can not change it)

I made a simple application with a search bar and nothing else - thumbOffset still does not work on my phone (but it works correctly on some other devices - see UPD):

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
          a:orientation="vertical"
          a:layout_width="fill_parent"
          a:layout_height="fill_parent">

    <SeekBar a:id="@+id/lights_downwash_slider"
         a:layout_width="280dp"
         a:layout_height="wrap_content"
         a:layout_gravity="center_horizontal"
         a:layout_margin="5dp"
         a:thumbOffset="-15dp"
         a:maxHeight="20dp"
         a:minHeight="20dp"
         a:progress="0"/>
</LinearLayout>

Has anyone had the same problem and have a solution?

UPD: works correctly on Samsung Nexus (android 4.0.4), on emulator 2.3 and 4.0.3

not working on emulator 2.1 and Samsung Galaxy Gio (2.3.3)

+5
source share

All Articles