Skip to content

hearsilent/Universal-CollapsingTabLayout

Repository files navigation

Universal CollapsingTabLayout

GitHub release license

CollapsingToolbarLayout with TabLayout.

Screenshot

Expanded

Collapsed

Usage

For a working implementation, please have a look at the Sample Project - sample

Get it on Google Play

Just Clone and Build.

Customization

You can change your view into container view.

<FrameLayout
	android:id="@+id/view_container"
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:fitsSystemWindows="true"
	app:layout_collapseMode="parallax">

	...
</FrameLayout>

Compatibility

Android ICE CREAM SANDWICH 4.0+

Known issues

  • Android Support Library 24.2.0 doesn't work successful ( You can downgrade to 24.1.1 ) : http://goo.gl/FMWs37

Let me know!

I'd be really happy if you sent me links to your projects where you use my component. Just send an email to hear.silent1995+github@gmail.com And do let me know if you have any questions or suggestion regarding the example.

License

Copyright 2016, HearSilent

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.