Dark theme now uses accent color for drawer items. #222

This commit is contained in:
len 2016-04-10 01:37:42 +02:00
parent 11f6c44442
commit e28f69cddf
2 changed files with 2 additions and 33 deletions

View File

@ -8,7 +8,7 @@
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/colorPrimary" android:background="@color/colorPrimary"
android:scaleType="centerCrop"/> android:scaleType="centerCrop"/>
<ImageView <ImageView
@ -19,36 +19,4 @@
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:src="@drawable/icon"/> android:src="@drawable/icon"/>
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="52dp"
android:layout_gravity="left|bottom"
android:gravity="center"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_vertical"
android:text="John Doe"
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:visibility="gone"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_vertical"
android:text="email@email.com"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:visibility="gone"/>
</LinearLayout>
-->
</FrameLayout> </FrameLayout>

View File

@ -26,6 +26,7 @@
<style name="Theme.Widget.NavigationView.Dark"> <style name="Theme.Widget.NavigationView.Dark">
<item name="colorControlHighlight">@color/md_grey_900</item> <item name="colorControlHighlight">@color/md_grey_900</item>
<item name="colorPrimary">@color/colorAccent</item>
</style> </style>
<!--===============--> <!--===============-->