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