-2

I want to reduce this space is there any way to do this?Thanks in advanced.

This is my style.xml

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
        <item name="listPreferredItemHeightSmall">40dp</item>
    </style>
    <style name="AppTheme.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>
    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>
Abhishek Bhardwaj
  • 1,164
  • 3
  • 14
  • 39

1 Answers1

0

Add these properties to your Toolbar:

app:contentInsetLeft="0dp"  
app:contentInsetStart="0dp"  
app:contentInsetStartWithNavigation="0dp"
Rajat Porwal
  • 101
  • 8