aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-26 13:56:51 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-26 13:56:51 +0000
commit9530e1f497c61f9bb74369c2426855aafe5d3fd5 (patch)
tree843dacc25713138100dae428cb075fa676c2d955 /app/src/main/res
parent8ae7ba334c18330d2a6a433be848eaef85e7bea4 (diff)
downloadinfinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar.gz
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar.bz2
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar.lz
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar.xz
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.tar.zst
infinity-for-reddit-9530e1f497c61f9bb74369c2426855aafe5d3fd5.zip
Fixed user icon and user banner not displaying after user login. LoginActivity will not show page not found error after login finish.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/nav_header_main.xml2
-rw-r--r--app/src/main/res/menu/main_activity.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml
index 146dd057..593385f1 100644
--- a/app/src/main/res/layout/nav_header_main.xml
+++ b/app/src/main/res/layout/nav_header_main.xml
@@ -14,7 +14,7 @@
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
- <de.hdodenhof.circleimageview.CircleImageView
+ <pl.droidsonroids.gif.GifImageView
android:id="@+id/profile_image_view_nav_header_main"
android:layout_width="64dp"
android:layout_height="64dp"
diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml
index 2a4357aa..6ef9b037 100644
--- a/app/src/main/res/menu/main_activity.xml
+++ b/app/src/main/res/menu/main_activity.xml
@@ -15,5 +15,5 @@
android:orderInCategory="1"
android:title="@string/action_search"
android:icon="@drawable/ic_search_white_24dp"
- app:showAsAction="always" />
+ app:showAsAction="ifRoom" />
</menu> \ No newline at end of file