actionbarsherlock - Reference android.R.id.home on pre 3.0 devices -


is there easy way reference home button on devices running less 3.0?

i can findviewbyid(android.r.id.home) on 3.0 , later fails work on older devices. don't need listen clicks, need location position view.

for clarification i'm referring view: http://developer.android.com/guide/topics/ui/actionbar.html#home

i don't know you're doing... sounds hacky :)

getwindow().getdecorview().findviewbyid(android.r.id.home) 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -