ChromeLikeTabSwitcher Versions Save

Provides a tab switcher similar to the one, which is used in Google Chrome on Android

0.2.4

6 years ago

A minor release, which introduces the following changes:

  • Added the class StatefulTabSwitcherDecorator.
  • The saved states of tabs are now cleared when the corresponding tab is removed by default. This can be turned of by using the clearSavedStatesWhenRemovingTabs-method.
  • Fade animations can now be used to show the previews of tabs when using the smartphone layout.
  • Updated targetSdkVersion to API level 27 (Android 8.1).
  • Updated dependency "AndroidUtil" to version 1.19.0.
  • Updated dependency "AndroidMaterialViews" to version 2.1.10.
  • The data structure ListenerList is now used for managing event listeners.

0.2.3

6 years ago

A bugfix release, which fixes the following issues:

  • Added additional method parameter to the interface Model.Listener. It allows to reliably determine, whether the selection changed when adding or removing tabs.

0.2.2

6 years ago

A bugfix release, which fixes the following issues:

  • TabSwitcherButtons are now rendered properly in the preview of tabs.
  • Added the attribute applyPaddingToTabs.

0.2.1

6 years ago

A bugfix release, which fixes the following issues:

  • Overshooting towards the end as well as the start is now possible when using the phone layout, if only one tab is contained by a TabSwitcher
  • Fixed the navigation icon of a TabSwitcher's toolbar not being shown

0.2.0

6 years ago

A major release, which introduces the following features:

  • Added predefined dark and light themes
  • Added support for drag gestures. So far, the drag gestures SwipeGesture and PullDownGesture are provided
  • Added the tabContentBackgroundColor XML attribute and according setter methods for customizing the background color of a tab's content
  • The background color of tabs is now adapted when pressed, if a ColorStateList with state android:state_pressed is set
  • Added the possibility to show a certain placeholder view, when a TabSwitcher is empty
  • Added the functionality to show a circular progress bar instead of an icon for individual tabs.
  • Updated dependency "AndroidUtil" to version 1.18.3
  • Updated AppCompat v7 support library to version 27.0.2
  • Updated AppCompat annotations support library to version 27.0.2
  • Added dependency "AndroidMaterialViews" with version 2.1.9

0.1.7

6 years ago

A minor release, which introduces the following changes:

  • Added an additional setupWithMenu-method for setting up the menu of a TabSwitcher. If necessary, it uses a OnGlobalLayoutListener internally.

0.1.6

6 years ago

A bugfix release, which fixes the following issues:

  • If a Tab, which is added to a TabSwitcher, happens to have the same hash code as a previously removed Tab, the state of the removed tab is not restored anymore.

0.1.5

6 years ago

A bugfix release, which fixes the following issues:

  • Fixed an issue in the example app, which caused the contents of EditText widgets to be shown in the wrong tabs.
  • Updated targetSdkVersion to API level 26.
  • Updated dependency "AndroidUtil" to version 1.18.0.
  • Updated AppCompat v7 support library to version 26.1.0.
  • Updated AppCompat annotations support library to version 26.1.0.

0.1.4

6 years ago

A bugfix release, which fixes the following issues:

  • Fixed an issue in the example app, which caused the contents of EditText widgets to be shown in the wrong tabs.
  • Updated targetSdkVersion to API level 26.
  • Updated dependency "AndroidUtil" to version 1.18.0.
  • Updated AppCompat v7 support library to version 26.1.0.
  • Updated AppCompat annotations support library to version 26.1.0.

0.1.3

6 years ago

A bugfix release, which fixes the following issues:

  • Fixed issues, when margins are applied to a TabSwitcher.