aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-12-18 10:41:23 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-12-18 10:41:23 +0000
commitdafd0796e914a5b540c2edb272b62a3afd468c2d (patch)
tree0053be1e140c6257c90ef57fe51e55361bfe582e /app/src/main/res
parent5097919a3616b4dab44cc36e24fe8b08d7daf8dc (diff)
downloadinfinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar.gz
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar.bz2
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar.lz
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar.xz
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.tar.zst
infinity-for-reddit-dafd0796e914a5b540c2edb272b62a3afd468c2d.zip
Hide FAB and BottomAppBar in anonymous mode.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/app_bar_main.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
index 1fcb0353..78636065 100644
--- a/app/src/main/res/layout/app_bar_main.xml
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -62,6 +62,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:gravity="center"
+ android:visibility="gone"
app:backgroundTint="?attr/backgroundColor"
app:layout_anchorGravity="start"
app:fabAnimationMode="scale"
@@ -110,6 +111,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
+ android:visibility="gone"
app:backgroundTint="?attr/backgroundColor"
app:srcCompat="@drawable/ic_add_bottom_app_bar_24dp"
app:tint="@null"