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
Post a Comment