-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c4dcbd
commit 7dae24a
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
library/src/main/res/drawable-v21/drawer_bg_selector_selected.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
5 changes: 5 additions & 0 deletions
5
library/src/main/res/drawable-v21/navigation_view_item_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
5 changes: 5 additions & 0 deletions
5
library/src/main/res/drawable-v21/navigation_view_item_background_dark.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |