aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-26 16:49:06 -0800
committerAllan Wang <me@allanwang.ca>2019-12-26 16:49:06 -0800
commit6779b1118d9fd2f1e659679d9f2cad3127d0c822 (patch)
treea85a14a15b3cbd3a4f1bca16d414d91d3e817c1f /app/src/main/res/values
parent42a23c00ae98a0e4a6f493b7d6ce9a23d717e5f6 (diff)
downloadfrost-6779b1118d9fd2f1e659679d9f2cad3127d0c822.tar.gz
frost-6779b1118d9fd2f1e659679d9f2cad3127d0c822.tar.bz2
frost-6779b1118d9fd2f1e659679d9f2cad3127d0c822.zip
Switch to viewbinding and styles and prepare layout wrapper
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/styles.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 4d22ee79..c5179bb1 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -98,4 +98,35 @@
<item name="android:padding">@dimen/kau_padding_large</item>
</style>
+ <!-- Main Activity Styles -->
+
+ <style name="Main.Toolbar" parent="">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">?actionBarSize</item>
+ <item name="layout_scrollFlags">scroll|enterAlways|snap</item>
+ <item name="popupTheme">@style/AppTheme.PopupOverlay</item>
+ </style>
+
+ <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="" >
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_gravity">end|bottom</item>
+ <item name="android:layout_margin">16dp</item>
+ </style>
+
+ <style name="Main.TabLayout" parent="Widget.Design.TabLayout">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">@dimen/tab_bar_height</item>
+ <item name="tabGravity">fill</item>
+ <item name="tabIndicatorHeight">0dp</item>
+ <item name="tabMode">fixed</item>
+ </style>
+
+
</resources>