Skip to content

Commit

Permalink
Added scrolling title.
Browse files Browse the repository at this point in the history
  • Loading branch information
johannilsson committed Dec 28, 2010
1 parent 87ea6a4 commit b455e53
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions actionbar/res/layout/actionbar.xml
Expand Up @@ -60,16 +60,20 @@
</RelativeLayout>
<TextView
android:id="@+id/actionbar_title"
android:layout_width="wrap_content"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/actionbar_home"
android:layout_alignWithParentIfMissing="true"
android:layout_centerVertical="true"
android:paddingLeft="10dip"
android:paddingRight="10dip"
android:textSize="16dip"
android:textStyle="bold"
android:textColor="@color/actionbar_title"
android:singleLine="true"
android:lines="1"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
/>
<LinearLayout
android:id="@+id/actionbar_actions"
Expand Down

0 comments on commit b455e53

Please sign in to comment.