Comments (5)
Hi @zubinkadva
Can you share your layout file?
from smooth-app-bar-layout.
Thanks for the reply. XML files are allowed to be attached, so I attached TXT instead.
activity_view_contact is the main XML
content_view_contact is the content XML
Thanks..
content_view_contact.txt
activity_view_contact.txt
from smooth-app-bar-layout.
Can you change the order of your layout, like below code?
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.zubin.theultimatephonebook2.ViewContact">
<include layout="@layout/content_view_contact" />
<me.henrytao.smoothappbarlayout.SmoothAppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/view_app_bar_height"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/toolbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:contentScrim="?attr/colorPrimary"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"/>
</android.support.design.widget.CollapsingToolbarLayout>
</me.henrytao.smoothappbarlayout.SmoothAppBarLayout>
</android.support.design.widget.CoordinatorLayout>
from smooth-app-bar-layout.
I changed the order as you said and it works!! Thanks a lot sir. The issue has been resolved.
Thank you for your kind assistance.
from smooth-app-bar-layout.
You are welcome!
from smooth-app-bar-layout.
Related Issues (20)
- Snap SmoothAppBarLayout HOT 1
- Flexible CollapsingToolbarLayout height in SmoothViewPagerParallaxExitUntilCollapsedActivity HOT 8
- appbarlayout gets dissappeared HOT 3
- Not able to use appbar layout with recycler view HOT 2
- Compatibility issue with api 26 HOT 1
- ViewPager Tablayout title bar quickly sliding to the top or bottom HOT 5
- deprecated after 26.0.0? HOT 9
- why is it deprecated? HOT 1
- Not working with support design 26 HOT 3
- My support:design is 26.+ How to compile it
- error inflating class android.support.design.widget.collapsingtoolbarlayout HOT 1
- RecyclerView setup horizontal, when i scroll RecyclerView to right or left, SmoothAppBarLayout auto scroll
- NestedScrollView problem
- I imitate SmoothViewPagerParallaxExitUntilCollapsedActivity interface, overall structure of this project is viewpager + fragemment structure, but when I RecyclerView exist head when sliding to the top To be placed at the top, now in your control will slide out, what reason be?
- Request: update repo to use latest version of support library
- downscroll in appbarlayout HOT 3
- Scroll getting for recycler list view in nested scroll view in android studio
- appcompat-v7-26.1.0 duplicate value for resource 'attr/tint' with config ''.
- Why deprecated ?
- Moving project from jcenter() to mavenCentral() issues.
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 smooth-app-bar-layout.