aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-27 00:28:33 -0800
committerAllan Wang <me@allanwang.ca>2019-12-27 00:28:33 -0800
commit44524ce6eea7b0d0998bbabc8d72ea8b43f55f02 (patch)
treebbcdc7a3d3c54048f838635280ac0d1a3f341133 /app/src/main/res/drawable
parent454872d712a0496e97b7138b30cc2fccac037b2f (diff)
downloadfrost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.tar.gz
frost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.tar.bz2
frost-44524ce6eea7b0d0998bbabc8d72ea8b43f55f02.zip
Add nav items programmatically
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/nav_item_background.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/nav_item_background.xml b/app/src/main/res/drawable/nav_item_background.xml
new file mode 100644
index 00000000..7c7a7209
--- /dev/null
+++ b/app/src/main/res/drawable/nav_item_background.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="#f0f">
+ <item
+ android:id="@android:id/mask"
+ android:right="8dp">
+ <shape android:shape="rectangle">
+ <corners
+ android:bottomRightRadius="50dp"
+ android:topRightRadius="50dp" />
+ <solid android:color="#fff" />
+ </shape>
+ </item>
+</ripple> \ No newline at end of file