Hello androidForums,
I want to create a toolbar with a gradient in the background. The problem is that also title and subtitle have a gradient background and I didn't find any possible way to set the textbackground transparent.
This is my xml so far:
What do I have to change?
Kind regards
FSchmidt
I want to create a toolbar with a gradient in the background. The problem is that also title and subtitle have a gradient background and I didn't find any possible way to set the textbackground transparent.
This is my xml so far:
Code:
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:title="Title"
app:subtitle="Subtitle"
app:subtitleTextColor="@color/White"
android:fitsSystemWindows="true"
android:theme="@style/ToolbarTheme"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" >
</android.support.v7.widget.Toolbar>
What do I have to change?
Kind regards
FSchmidt