How to Hide Scrolling activity Title in android studio [Resolved]

Awesome Tips
0
How to Hide Scrolling activity Title in android studio [Resolved]
There is a inbuilt activity called Scrolling activity in Android Studio.We can customize it nicely.In this post we are going to how to hide It's name before scrolling it.No  hard works.Just two steps.





Step 1:Add the below style to your styles.xml

<style name="ToolBarTheme">
        <item name="android:textColor">@android:color/transparent</item>
</style>


Step 2:You can simply set the text color to transparent.For that add the following attribute to your CollapsingToolbarLayout.

app:expandedTitleTextAppearance="@style/ToolBarTheme"


That's all.Share this awesome Android trick among your friends.

Post a Comment

0 Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top