diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-06-11 03:21:56 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-06-11 03:21:56 +0000 |
commit | 22ec85b3dd2e345b292ab97d9f6de5087f33539d (patch) | |
tree | 922b392605cadd02f9ef94c55e735627872cbf71 /app/src/main/res/layout | |
parent | 076607a7ca5f23f7a87d032a9b1e80beb218fb27 (diff) | |
download | infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.gz infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.bz2 infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.lz infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.xz infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.tar.zst infinity-for-reddit-22ec85b3dd2e345b292ab97d9f6de5087f33539d.zip |
Lazy mode in ViewUserDetailActivity. Fixed follow chip background color in dark mode in ViewUserDetailActivity. Fixed force stop after orientation change in ViewUserDetailActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_view_subreddit_detail.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_view_user_detail.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/app_bar_main.xml | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml index ac76d15b..24bff22c 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -24,7 +24,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <ImageView + <pl.droidsonroids.gif.GifImageView android:id="@+id/banner_image_view_view_subreddit_detail_activity" android:layout_width="match_parent" android:scaleType="centerCrop" diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml index 70b225f8..fac8a2ca 100644 --- a/app/src/main/res/layout/activity_view_user_detail.xml +++ b/app/src/main/res/layout/activity_view_user_detail.xml @@ -8,11 +8,13 @@ tools:context=".ViewUserDetailActivity"> <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar_layout_view_user_detail" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay"> <com.google.android.material.appbar.CollapsingToolbarLayout + android:id="@+id/collapsing_toolbar_layout_view_user_detail_activity" android:layout_width="match_parent" android:layout_height="match_parent" app:titleEnabled="false" @@ -24,7 +26,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <ImageView + <pl.droidsonroids.gif.GifImageView android:id="@+id/banner_image_view_view_user_detail_activity" android:layout_width="match_parent" android:scaleType="centerCrop" diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index f7efde6c..1407326c 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -29,7 +29,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:layout_collapseMode="pin" - app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed" + app:layout_scrollFlags="scroll|enterAlways" app:popupTheme="@style/AppTheme.PopupOverlay" /> <com.ferfalk.simplesearchview.SimpleSearchView |