Skip to content

Commit

Permalink
Add New Files
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsamurmu committed Aug 28, 2019
1 parent 8c4dcbd commit 7dae24a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
16 changes: 16 additions & 0 deletions library/src/main/res/drawable-v21/drawer_bg_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/navigationViewTitleBack">
<item
android:left="0.0dip"
android:right="8.0dip">
<shape android:shape="rectangle">
<solid android:color="?attr/card_background" />
<corners
android:topLeftRadius="0.0dip"
android:topRightRadius="40.0dip"
android:bottomLeftRadius="0.0dip"
android:bottomRightRadius="40.0dip" />
</shape>
</item>
</ripple>
16 changes: 16 additions & 0 deletions library/src/main/res/drawable-v21/drawer_bg_selector_selected.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/ripple_accent">
<item
android:left="0.0dip"
android:right="8.0dip">
<shape android:shape="rectangle">
<solid android:color="?attr/navigation_selected_color" />
<corners
android:topLeftRadius="0.0dip"
android:topRightRadius="40.0dip"
android:bottomLeftRadius="0.0dip"
android:bottomRightRadius="40.0dip" />
</shape>
</item>
</ripple>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="200" android:exitFadeDuration="200">
<item android:drawable="@drawable/drawer_bg_selector_selected" android:state_checked="true" />
<item android:drawable="@drawable/drawer_bg_selector" />
</selector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="200" android:exitFadeDuration="200">
<item android:drawable="@drawable/drawer_bg_selector_selected" android:state_checked="true" />
<item android:drawable="@drawable/drawer_bg_selector" />
</selector>

0 comments on commit 7dae24a

Please sign in to comment.