android-collapsingtoolbarlayout

Collapsing AppBarLayout not scrolling with TabLayout and NestedScrollView

家住魔仙堡 提交于 2019-12-01 07:32:21
I have an issue with scrolling Collapsing AppBar, when I am trying to scroll it touching the AppBarLayout part. And also it sometimes scrolling not smoothly. Here is short (1m 30s) video of issue : https://www.youtube.com/watch?v=n32N9Z4S3SA&feature=youtu.be Here is link to simple project (only this issue on github): https://github.com/yozhik/Reviews/tree/master/app/src/main/java/com/ylet/sr/review I'm using: com.android.support:appcompat-v7:27.1.1 There is issue on offsite: https://issuetracker.google.com/issues/37050152 How it is: https://www.youtube.com/watch?v=xWadOVEaTSY&feature=youtu.be

Viewpager not appearing when using CollapsingToolbarLayout

心已入冬 提交于 2019-12-01 06:07:39
I've been playing around with the Design Support Library and have come across a little problem that I hope someone can help me out with. I'm using a CollapsingToolbar which contain an ImageView which collapses in parralax. In the CollapsingToolbar, I alse have a TabLayout which is supposed to scroll my ViewPager. My issue is that the ViewPager doesn't appear. The issue seems to arise only when I set my ViewPager layout_height to match_parent or wrap_content. If I set it to 600dp, then the problem is gone but then the view ends up being a fixed length which isn't very nice. Any help would be

Collapsing AppBarLayout not scrolling with TabLayout and NestedScrollView

廉价感情. 提交于 2019-12-01 04:20:12
问题 I have an issue with scrolling Collapsing AppBar, when I am trying to scroll it touching the AppBarLayout part. And also it sometimes scrolling not smoothly. Here is short (1m 30s) video of issue : https://www.youtube.com/watch?v=n32N9Z4S3SA&feature=youtu.be Here is link to simple project (only this issue on github): https://github.com/yozhik/Reviews/tree/master/app/src/main/java/com/ylet/sr/review I'm using: com.android.support:appcompat-v7:27.1.1 There is issue on offsite: https:/

Viewpager not appearing when using CollapsingToolbarLayout

六眼飞鱼酱① 提交于 2019-12-01 04:04:20
问题 I've been playing around with the Design Support Library and have come across a little problem that I hope someone can help me out with. I'm using a CollapsingToolbar which contain an ImageView which collapses in parralax. In the CollapsingToolbar, I alse have a TabLayout which is supposed to scroll my ViewPager. My issue is that the ViewPager doesn't appear. The issue seems to arise only when I set my ViewPager layout_height to match_parent or wrap_content. If I set it to 600dp, then the

Collapsible Toolbar - Make Fragment Footer Always Visible in Android

∥☆過路亽.° 提交于 2019-12-01 03:41:40
I am making an app that has a ProfilePage with three fragments - About | Posts | Gallery, and I am using a collapsible toolbar with user's image. My second and third fragment will have a footer that should always be visible, but this is what I get: When my image is expanded the footer disappears. What I want is for my two fragments to have these footers always visible and not depending on toolbar being collapsed or not. My gallery footer should be similar to post footer. profile_layout.xml: <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android=

CollapsingToolbarLayout with a ViewPager

和自甴很熟 提交于 2019-11-30 20:33:21
I'm trying to use the CollapsingToolbarLayout to have a collapsible toolbar with a ViewPager that fades away while scrolling up but I seem to lose the ability to scroll up if the ViewPager is present. The ViewPager is supposed to show multiple images in the Toolbar. Here's the XML: <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true"> <android.support.design.widget.AppBarLayout

Android: CollapsingToolbarLayout and SearchView, text overlapping

白昼怎懂夜的黑 提交于 2019-11-30 14:44:11
I have little problem with overlapping CollapsingToolbarLayout title with SearchView text. When is CollapsingToolbarLayout expanded, there is no problem: But when is collapsed, the text is overlapped: How to fix it? I tried the answer by Tomas, but it had a problem that as soon as the user scrolls, the appbar collapses again and the problem re-appears. So I came up with another solution which is to make the collapsed title text transparent when the searchview is expanded . This works nicely and does not depend on or change the collapse/expand state of the appbar. Simply this: if

Set Title and SubTitle in CollapsingToolBar layout Android

对着背影说爱祢 提交于 2019-11-30 14:03:59
How to set title and sub title in collapsing toolbarlayout in Android like whatsapp profile view. I have attached sample screen shot of the same. Umarul Farukh Finally i get my answer. please check link. this is what i want. https://github.com/harcoPro/SubtitleCoordinatorLayoutExample 来源: https://stackoverflow.com/questions/33361569/set-title-and-subtitle-in-collapsingtoolbar-layout-android

How to avoid blocking of scrolling itself when using setNestedScrollingEnabled(false)?

浪尽此生 提交于 2019-11-30 13:42:32
问题 Background We have quite a complex layout that has CollapsingToolbarLayout in it, together with a RecyclerView at the bottom. In certain cases, we temporarily disable the expanding/collapsing of the CollapsingToolbarLayout, by calling setNestedScrollingEnabled(boolean) on the RecyclerView. The problem This usually works fine. However, on some (bit rare) cases, slow scrolling on the RecyclerView gets semi-blocked, meaning it tries to scroll back when scrolling down. It's as if it has 2

CollapsingToolbarLayout not working(collapsing)when scrolled

拈花ヽ惹草 提交于 2019-11-30 12:42:39
I am trying to create a CollapsingToolbarLayout and below it a listview, when the listview is scrolled the Toolbar should collapse, but its not working when scrolled the Toolbar is not collapsing. Used this tutorial: http://android-developers.blogspot.in/2015_05_01_archive.html Note: The FrameLayout contains the listview <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:scrollbars="vertical"> <android.support