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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

asp.net - Configuring WCF Services in Code WCF 4.5 -