Android tasarım destek kitaplığından ve araç çubuğundan NavigationView kullanıyorum ve her şey iyi çalışıyor, ancak hamburger simgesini nasıl karanlık yapılacağını öğrenmek istiyorum (şu anda beyaz görünüyor). Ayrıca ekran kenarından ActionBar Title'a kadar olan mesafeyi ayarlamak istiyorum. Peki bunu nasıl yaparım? Yardım için teşekkürler.ActionBar hamburger simgesinin rengini nasıl değiştirebilirim?
Temayı Theme.AppCompat.Light.NoActionBar olarak ayarlıyorum. Bu yüzden araç çubuğu kullanıyorum.
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false"
tools:context=".MainActivity">
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
>
<include
android:id="@+id/toolbar"
layout="@layout/tool_bar"
/>
<ru.amdm.amdm.SlidingTabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="2dp"
android:background="@color/ColorPrimary"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foreground="?android:windowContentOverlay">
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_height="match_parent"
android:layout_width="match_parent"/>
</FrameLayout>
</LinearLayout>
<android.support.design.widget.NavigationView
android:id="@+id/navigation_view"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_gravity="start"
app:headerLayout="@layout/header"
app:menu="@menu/drawer"
/>
Yalnızca ActionBar veya ToolBar kullanıyor musunuz? Lütfen mevcut kodunuzu gönderin. – hungryghost
@hungryghost Düzenlemeniz için teşekkürler! – AlexKost