adding highlighting of drawer item functunality

This commit is contained in:
pachecosf 2019-01-16 20:51:54 -08:00
parent f884621524
commit 43642a5e6b
3 changed files with 3 additions and 6 deletions

View File

@ -5,7 +5,8 @@
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/listitem_iconwithtext_height" android:layout_height="@dimen/listitem_iconwithtext_height"
tools:background="@android:color/darker_gray"> tools:background="@android:color/darker_gray"
android:background= "?attr/nav_drawer_list_selector">
<ImageView <ImageView
android:id="@+id/imgvCover" android:id="@+id/imgvCover"

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/highlight_dark"/> <solid android:color="@color/overlay_dark"/>
</shape> </shape>

View File

@ -377,16 +377,12 @@
<style name="Theme.AntennaPod.Dark.Splash" parent="Theme.AppCompat.NoActionBar"> <style name="Theme.AntennaPod.Dark.Splash" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/bg_splash</item> <item name="android:windowBackground">@drawable/bg_splash</item>
<item name="android:activatedBackgroundIndicator">@drawable/drawer_list_selector_trueblack</item>
<item name="colorPrimary">@color/ic_launcher_background</item> <item name="colorPrimary">@color/ic_launcher_background</item>
<item name="colorPrimaryDark">@color/ic_launcher_background</item> <item name="colorPrimaryDark">@color/ic_launcher_background</item>
</style> </style>
<style name="Theme.AntennaPod.VideoPlayer" parent="@style/Theme.AntennaPod.Dark"> <style name="Theme.AntennaPod.VideoPlayer" parent="@style/Theme.AntennaPod.Dark">
<item name="windowActionBarOverlay">true</item> <item name="windowActionBarOverlay">true</item>
<item name="android:activatedBackgroundIndicator">@drawable/drawer_list_selector_trueblack</item>
</style> </style>
<style name="AntennaPod.TextView.Heading" parent="@android:style/TextAppearance.Medium"> <style name="AntennaPod.TextView.Heading" parent="@android:style/TextAppearance.Medium">