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.
How to Hide Scrolling activity Title in android studio [Resolved]
September 12, 2018
0
Tags
Share to other apps