update drawer header image
This commit is contained in:
parent
0b4ab3121f
commit
a8da417af7
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="350"
|
android:versionCode="351"
|
||||||
android:versionName="1.123" >
|
android:versionName="1.124" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="15"
|
android:minSdkVersion="15"
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 21 KiB |
BIN
org.fox.ttrss/src/main/res/drawable-hdpi/drawer_header_dark.png
Normal file
BIN
org.fox.ttrss/src/main/res/drawable-hdpi/drawer_header_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
@ -11,10 +11,8 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:id="@+id/imageView"
|
android:id="@+id/imageView"
|
||||||
android:src="@drawable/drawer_header"
|
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
android:tint="?colorPrimaryDark"
|
android:src="?drawer_header" />
|
||||||
android:tintMode="multiply" />
|
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
@ -25,7 +23,7 @@
|
|||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_marginRight="16dp"
|
android:layout_marginRight="16dp"
|
||||||
android:elevation="4dp">
|
android:elevation="8dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/drawer_header_account"
|
android:id="@+id/drawer_header_account"
|
||||||
|
@ -47,4 +47,5 @@
|
|||||||
<declare-styleable name="ScrimInsetsView">
|
<declare-styleable name="ScrimInsetsView">
|
||||||
<attr format="reference|color" name="insetForeground">
|
<attr format="reference|color" name="insetForeground">
|
||||||
</attr></declare-styleable>
|
</attr></declare-styleable>
|
||||||
|
<attr name="drawer_header" format="reference" />
|
||||||
</resources>
|
</resources>
|
@ -57,6 +57,8 @@
|
|||||||
<item name="ic_coffee">@drawable/ic_coffee_dark</item>
|
<item name="ic_coffee">@drawable/ic_coffee_dark</item>
|
||||||
<item name="ic_folder_outline">@drawable/ic_folder_outline_dark</item>
|
<item name="ic_folder_outline">@drawable/ic_folder_outline_dark</item>
|
||||||
<item name="ic_dots_vertical">@drawable/ic_dots_vertical_dark</item>
|
<item name="ic_dots_vertical">@drawable/ic_dots_vertical_dark</item>
|
||||||
|
|
||||||
|
<item name="drawer_header">@drawable/drawer_header</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
|
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
|
||||||
@ -115,6 +117,8 @@
|
|||||||
<item name="ic_coffee">@drawable/ic_coffee</item>
|
<item name="ic_coffee">@drawable/ic_coffee</item>
|
||||||
<item name="ic_folder_outline">@drawable/ic_folder_outline</item>
|
<item name="ic_folder_outline">@drawable/ic_folder_outline</item>
|
||||||
<item name="ic_dots_vertical">@drawable/ic_dots_vertical</item>
|
<item name="ic_dots_vertical">@drawable/ic_dots_vertical</item>
|
||||||
|
|
||||||
|
<item name="drawer_header">@drawable/drawer_header_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DarkDialogTheme" parent="android:Theme"></style>
|
<style name="DarkDialogTheme" parent="android:Theme"></style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user