Comments (10)
I have some guesses, but it's difficult to pick one without knowing more:
- Are you using action toggle from support v7 library?
- Are you absolutely sure that such behavior does not appear if you replace
SubtitleCollapsingToolbarLayout
with regularCollapsingToolbarLayout
? - Your phone/emulator OS version and support library version you're using.
from collapsingtoolbarlayout-subtitle.
Sure thing, thanks for the quick response!
- I am using action toggle, specifically: ActionBarDrawerToggle
- Correct, when using a regular CollapsingToolbarLayout the hamburger icon persisted in the upper left of the action bar regardless or collapsed or expanded state.
- I am on an OG Pixel XL with Oreo 8.1 and using 27.1.0 support library version
from collapsingtoolbarlayout-subtitle.
- The thing is, there's 2 versions of
ActionBarDrawerToggle
, one fromandroid.support.v4.app
and another fromandroid.support.v7.app
. Which one are you using? - If you replace it with regular back arrow icon (
?homeAsUpIndicator
attribute). Does the back arrow still behaves the same way? Just wanna make sure if the issue is related to action bar toggle at all.
from collapsingtoolbarlayout-subtitle.
- I'm using
android.support.v7.app.ActionBarDrawerToggle
- Yes, the same issue happens with just homeAsUp Enabled as well
I can still click where the hamburger should be and expand the nav drawer, it is not visible though.
from collapsingtoolbarlayout-subtitle.
This is news to me, I'll try it myself and will get back to you with the result in couple days (sorry, I'm currently working on other libraries).
from collapsingtoolbarlayout-subtitle.
Alright sounds great, let me know if I can be of any assistance. The only thing that might help so far is that I was looking at the Debug Overdraw screen and with the normal Collapsing Layout, the title warps from being a box of the full width of the device, to just the width of the text. That does not happen with the Subtitle Collapsing Layout, so maybe we need to change the width? Thank you!
from collapsingtoolbarlayout-subtitle.
Hi, I've tested example app with back icon (homeAsUpIndicator
) enabled:
Safe to say I am unable to recreate the issue you are experiencing. Could you please screenshoot your screen?
from collapsingtoolbarlayout-subtitle.
Sure! Here is my expanded view: Expanded
and here is my collapsed: Collapsed
I'm not doing anything special with my subtitle collapsing layout, its more or less a standard / out of the box setup. Pixel OG, Android 8.1.0 latest security patch. I will try to get a video of collapsing and what it looks like so maybe we can use that to bug fix? Let me know what else I can do to help.
Are you able to get it to work with a navigation hamburger as well or just the homeAsUpIndicator?
Also of note is that I have the same problem without the nav drawer, the back arrow is covered as well if I have setHomeAsUpIndicator enabled.
from collapsingtoolbarlayout-subtitle.
Damn. Its the little things that can really mess up your development, lol. My issue was that I was setting:
android:paddingBottom="50dp"
which was hiding the icon. Thanks for all of the assistance / great library!
from collapsingtoolbarlayout-subtitle.
Cool! Let me know when you experience other issues.
from collapsingtoolbarlayout-subtitle.
Related Issues (20)
- Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.design.widget.ViewGroupUtils" on path: DexPathList HOT 9
- Add support for 27.1.0? HOT 3
- Support for androidx 1.0.0 HOT 12
- Propose app logo HOT 7
- expandedSubtitleTextAppearance bug with shadows HOT 5
- Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.design.widget.ThemeUtils" on path: DexPathList HOT 3
- Set subtitle programmatically HOT 1
- Legacy artifact not resolved HOT 1
- Is there any way to show subtitle only in collapsed mode and not in expanded mode? HOT 2
- On Support Library version its not working HOT 22
- Title and subtitle display issue. HOT 3
- No collapsedTitleMargin HOT 1
- Sometimes subtitle is not showed in collapsed state in toolbar HOT 2
- New release planned for version 1.1.0 of material ? HOT 2
- support navigation component HOT 1
- Need subtitle click listener HOT 1
- Navigation icon in toolbar -> title gravity issue HOT 1
- Migrate to mavenCentral HOT 2
- Error inflating class com.google.android.material.appbar.SubtitleCollapsingToolbarLayout HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collapsingtoolbarlayout-subtitle.