Dark theme now uses accent color for drawer items. #222
Cette révision appartient à :
Parent
11f6c44442
révision
e28f69cddf
2 fichiers modifiés avec 2 ajouts et 33 suppressions
|
@ -8,7 +8,7 @@
|
|||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:background="@color/colorPrimary"
|
||||
android:scaleType="centerCrop"/>
|
||||
|
||||
<ImageView
|
||||
|
@ -19,36 +19,4 @@
|
|||
android:scaleType="centerCrop"
|
||||
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>
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
<style name="Theme.Widget.NavigationView.Dark">
|
||||
<item name="colorControlHighlight">@color/md_grey_900</item>
|
||||
<item name="colorPrimary">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<!--===============-->
|
||||
|
|
Référencer dans un nouveau ticket