Fabien
unread,Apr 26, 2012, 2:31:42 AM4/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to actionba...@googlegroups.com
Hello,
I'm migrating from 3.5 to 4.0.2
1) In 3.5, actionbar subtitle has a marquee mode if the subtitle is too long.
In 4.0.2, I tried this in action bar style :
<item name="subtitleTextStyle">@style/Widget.Styled.ActionBar.SubtitleTextStyle</item>
<item name="android:subtitleTextStyle">@style/Widget.Styled.ActionBar.SubtitleTextStyle</item>
<style name="Widget.Styled.ActionBar.SubtitleTextStyle"
parent="android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
<item name="android:ellipsize">marquee</item>
</style>
but subtitle doesn't move.
2) Another question, I want to remove the action bar logo action "home
as up", I tried :
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
the logo icon is already clickable (i was the same in 3.5).
Thank you for your help and thank you jake for your work !
Fabien