Getting Runtime Exception with custom SeekBar
===

I tried to add a nice custom seekbar to my android project.
I used [this][1] and [this][2] tutorial and i got the very same exception. I dont think both of the tutorials are wrong... what can be my mistake ?

What m i doing wrong ?   

See my logcat here:


  

            07-31 13:28:53.609: I/StatusBarPolicy(214): onSignalStrengthsChanged
            07-31 13:29:03.429: D/BatteryService(128): update start
            07-31 13:29:08.582: E/CACHE(974): cleared
            07-31 13:29:08.628: I/zomut.watchdog.monitor(974): initgather
            07-31 13:29:08.734: D/dalvikvm(974): GC_CONCURRENT freed 498K, 59% free 2788K/6727K, external 1596K/2108K, paused 2ms+1ms
            07-31 13:29:08.742: I/zomut.watchdog.monitor(974): endgather
            07-31 13:29:08.742: I/zomut.watchdog.monitor(974): init
            07-31 13:29:08.863: I/zomut.watchdog.monitor(974): end
            07-31 13:29:09.058: I/ActivityManager(128): Start proc com.sec.android.app.sns for service com.sec.android.app.sns/.SnsService: pid=5168 uid=10068 gids={3003}
            07-31 13:29:09.121: I/ActivityThread(5168): Pub com.sec.android.app.provider.sns: com.sec.android.app.sns.SnsContentProvider
            07-31 13:29:09.152: I/SNS(5168): SnsService : onCreate() Called !!!
            07-31 13:29:09.171: I/SNS_HTTPMGR(5168): SnsHttpMgr : initAndStart() : [android.net.Proxy.getHost] : NO PROXY ADDRESS
            07-31 13:29:09.187: I/SNS(5168): initSessionAndAccount() : ICCID Checked : AccountInfo[0] set session INVALID.
            07-31 13:25:11.996: E/AndroidRuntime(5124): Caused by: android.view.InflateException: Binary XML file line #62: Error inflating class android.widget.SeekBar
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.createView(LayoutInflater.java:518)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:209)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.app.Activity.setContentView(Activity.java:1657)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at com.mypackage.reader.Reader.onCreate(Reader.java:87)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	... 11 more
            07-31 13:25:11.996: E/AndroidRuntime(5124): Caused by: java.lang.reflect.InvocationTargetException
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at java.lang.reflect.Constructor.constructNative(Native Method)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.view.LayoutInflater.createView(LayoutInflater.java:505)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	... 23 more
            07-31 13:25:11.996: E/AndroidRuntime(5124): Caused by: android.content.res.Resources$NotFoundException: File res/drawable/seekbar_progress.xml from drawable resource ID #0x7f02002f
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.content.res.Resources.loadDrawable(Resources.java:1697)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.widget.ProgressBar.<init>(ProgressBar.java:179)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.widget.AbsSeekBar.<init>(AbsSeekBar.java:61)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.widget.SeekBar.<init>(SeekBar.java:81)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.widget.SeekBar.<init>(SeekBar.java:77)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	... 26 more
            07-31 13:25:11.996: E/AndroidRuntime(5124): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #5: <nine-patch> requires a valid 9-patch source image
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.graphics.drawable.NinePatchDrawable.inflate(NinePatchDrawable.java:267)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:787)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:154)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:787)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.graphics.drawable.Drawable.createFromXml(Drawable.java:728)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	at android.content.res.Resources.loadDrawable(Resources.java:1694)
            07-31 13:25:11.996: E/AndroidRuntime(5124): 	... 31 more
            07-31 13:25:12.007: W/ActivityManager(128):   Force finishing activity com.mypackage/.reader.Reader
            07-31 13:25:12.011: E/(128): Dumpstate > /data/log/dumpstate_app_error
            07-31 13:25:12.011: W/ActivityManager(128):   Force finishing activity com.mypackage/.activity.MyLibraryActivity
            07-31 13:25:12.054: V/AudioPolicyManager(83): stopOutput() output 1, stream 1, session 254
            07-31 13:25:12.054: V/AudioPolicyManager(83): getNewDevice() selected device 0
            07-31 13:25:12.054: V/AudioPolicyManager(83): setOutputDevice() output 1 device 0 delayMs 0 force 0
            07-31 13:25:12.054: V/AudioPolicy

Manager(83): setOutputDevice() setting same device 0 or null device for output 1
        07-31 13:25:12.062: I/dumpstate(5145): begin
        07-31 13:25:12.511: W/ActivityManager(128): Activity pause timeout for HistoryRecord{408a4108 com.mypackage/.reader.Reader}
        07-31 13:25:12.710: D/BatteryService(128): update start
        07-31 13:25:12.718: D/BatteryService(128): updateBattery level:100 scale:100 status:5 health:2 present:true voltage: 4035 temperature: 390 technology: Li-ion AC powered:false USB powered:true icon:17302191
        07-31 13:25:13.207: I/InputReader(128): dispatchTouch::touch event's action is 0
    
    
      [1]: http://developer-dot-android.blogspot.hu/2012/03/custom-seekbar-tutorial.html
      [2]: http://www.mokasocial.com/2011/02/create-a-custom-styled-ui-slider-seekbar-in-android/