android - set two titles? -


i can settitle("my title"), i'm looking set 2 titles... 1 on left side , 1 on right. how might that?

i have 2 textviews, aligned parent left , right... textappearance changed. i'm hoping titlebar using code don't have use background simulate titlebar.

you can define custom view layout , tell system use with:

getwindow().setfeatureint(window.feature_custom_title, r.layout.text_title); 

you can make title view relativelayout 2 children positioned like. should done in oncreate() before calling setcontentview(). see this thread more discussion of using custom view.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -