aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-01 17:45:42 -0700
committerAllan Wang <me@allanwang.ca>2017-06-01 17:45:42 -0700
commit266569a14f3b1dea9002de58cef40b4149384ef6 (patch)
tree2f5bd5d01396359d6b43fbc7e3b0ba446eb167fd /app/src/main/res/values
parentd924fd96dd3dff3b13af3a1ea112e0e784ce65bb (diff)
downloadfrost-266569a14f3b1dea9002de58cef40b4149384ef6.tar.gz
frost-266569a14f3b1dea9002de58cef40b4149384ef6.tar.bz2
frost-266569a14f3b1dea9002de58cef40b4149384ef6.zip
add progressbar and remove tab indicator
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/dimens.xml1
-rw-r--r--app/src/main/res/values/styles.xml12
2 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 06c8ca73..6881e351 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -8,5 +8,6 @@
<dimen name="fab_margin">16dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
<dimen name="splash_logo">16dp</dimen>
+ <dimen name="progress_bar_height">1dip</dimen>
</resources>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index c04a9609..92c75507 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -11,6 +11,13 @@
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
+ <style name="AppTheme.Overlay" parent="AppTheme.NoActionBar">
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:activityOpenEnterAnimation">@anim/slide_in_right</item>
+ <item name="android:activityOpenExitAnimation">@anim/slide_out_right</item>
+ <item name="android:activityCloseEnterAnimation">@anim/slide_in_right</item>
+ <item name="android:activityCloseExitAnimation">@anim/slide_out_right</item>
+ </style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
@@ -20,4 +27,9 @@
<item name="colorPrimaryDark">@color/splashBackground</item>
<item name="colorAccent">@color/splashBackground</item>
</style>
+
+ <style name="FrostProgressBar" parent="Widget.AppCompat.ProgressBar.Horizontal">
+ <item name="android:minHeight">@dimen/progress_bar_height</item>
+ <item name="android:maxHeight">@dimen/progress_bar_height</item>
+ </style>
</resources>