'How so we set actionbar homeasup enabled in AppTheme/Style
Programmatically it can be achieve by actionBar.setDisplayHomeAsUpEnabled(true);
Is there a way to set it in the app theme xml eg
<style name="Theme.FooBar" parent="@android:style/Theme.Material.Light">
<!-- Primary brand color. -->
<item name="android:colorPrimary">@color/cerulean</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">@color/cerulean_blue</item>
<!-- Customize your theme here. -->
<item name="android:homeAsUpIndicator">@drawable/menu</item>
<item name="android:textColorPrimary">@android:color/white</item>
<>set it here<>
</style>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
