aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-27 18:01:03 -0800
committerAllan Wang <me@allanwang.ca>2019-12-27 18:01:03 -0800
commit765aba2b34a33d67acccb90789b818817fec2181 (patch)
tree9c522d9db2b90dbdbd29ee2e13b1512ab89abf51 /app/src/main/res/values
parent44524ce6eea7b0d0998bbabc8d72ea8b43f55f02 (diff)
downloadfrost-765aba2b34a33d67acccb90789b818817fec2181.tar.gz
frost-765aba2b34a33d67acccb90789b818817fec2181.tar.bz2
frost-765aba2b34a33d67acccb90789b818817fec2181.zip
Prepare for nav option entries
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/styles.xml42
1 files changed, 33 insertions, 9 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 3cbad6d7..b194a975 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -107,13 +107,13 @@
<item name="popupTheme">@style/AppTheme.PopupOverlay</item>
</style>
- <style name="Main.ViewPager" parent="" >
+ <style name="Main.ViewPager" parent="">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="layout_behavior">@string/appbar_scrolling_view_behavior</item>
</style>
- <style name="Main.Fab" parent="" >
+ <style name="Main.Fab" parent="Widget.Design.NavigationView">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">end|bottom</item>
@@ -132,12 +132,36 @@
<item name="android:colorControlHighlight">@android:color/transparent</item>
</style>
-<!-- <style name="ShapeAppearanceOverlay.Item" parent="">-->
-<!-- <item name="cornerFamily">rounded</item>-->
-<!-- <item name="cornerSizeTopRight">10dp</item>-->
-<!-- <item name="cornerSizeBottomRight">10dp</item>-->
-<!-- <item name="cornerSizeBottomLeft">0dp</item>-->
-<!-- <item name="cornerSizeTopLeft">0dp</item>-->
-<!-- </style>-->
+ <!-- <style name="ShapeAppearanceOverlay.Item" parent="">-->
+ <!-- <item name="cornerFamily">rounded</item>-->
+ <!-- <item name="cornerSizeTopRight">10dp</item>-->
+ <!-- <item name="cornerSizeBottomRight">10dp</item>-->
+ <!-- <item name="cornerSizeBottomLeft">0dp</item>-->
+ <!-- <item name="cornerSizeTopLeft">0dp</item>-->
+ <!-- </style>-->
+
+ <style name="Main.DrawerMargins" parent="">
+ <item name="android:layout_marginStart">@dimen/kau_activity_horizontal_margin</item>
+ <item name="android:layout_marginEnd">@dimen/kau_activity_horizontal_margin</item>
+ <item name="android:layout_marginTop">@dimen/kau_activity_vertical_margin</item>
+ <item name="android:layout_marginBottom">@dimen/kau_activity_vertical_margin</item>
+ </style>
+
+ <style name="Main.DrawerPrimaryAvatar" parent="Main.DrawerMargins">
+ <item name="android:layout_width">56dp</item>
+ <item name="android:layout_height">56dp</item>
+ </style>
+
+ <style name="Main.DrawerSecondaryAvatar" parent="Main.DrawerMargins">
+ <item name="android:layout_width">40dp</item>
+ <item name="android:layout_height">40dp</item>
+ </style>
+
+ <style name="Main.DrawerAccountOptions" parent="Main.DrawerMargins">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:drawablePadding">16dp</item>
+ <item name="android:gravity">center_vertical</item>
+ </style>
</resources>