History log of /frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c40f445372d08cc251ee70f3dfe65e4e87ee4276 08-Mar-2017 Jonathan Koren <jdkoren@google.com> BottomNavigationView: contentDescription updates

- Update design demo sample
- Add test for content descriptions

Bug: 33896023
Test: Added new test to BottomNavigationViewTest
Change-Id: I80b2bcdb45d96cfe574685f22a20003b0f2a4d4d
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
fa2e2acf79d791a90410025daad438968550d18c 31-Mar-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Updates Android.mk where applicable.

Bug: 24137209
Test: make -j32
Change-Id: I04084b2d05ddd7afaa160a76efe0b0d0c8eb5f00
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
a4c6825b4b077cb12adb4f14b825001b6fd0e865 03-Mar-2017 Vladislav Kaznacheev <kaznacheev@google.com> Introduce android.support.v7.widget.TooltipCompat

Backport com.android.internal.view.TooltipPopup with
as much style and behavior details as practically possible.
Make it available through the new TooltipCompat class.

Bug: 35669189
Test: Support7Demos > AppCompat > Action Bar >
Action Bar Usage, hover mouse over action buttons.

Change-Id: I7077d01536d5d7ca9e6865a0c169a2e0dcf34b6b
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
fa0f82f629bf95681c14ed559922f77a3030aa18 30-Jan-2017 Aurimas Liutikas <aurimas@google.com> Deprecated ViewCompat methods that were added in API 11.

Deprecated all the ViewCompat methods that were APIs added to View
since API 11. Additionally this removes usages of these APIs in support
library.

Bug: 32794064
Test: ./gradlew assemble assembleAndroidTest still works
Change-Id: I18fb0cc1ebc67c911eeb30aada7b8315afc15835
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
fd3c4560bf2348f6a06272a9f02105c9e1bf927e 25-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Revert "Revert "Add content description and tooltip to menu item""

This reverts commit 7ad815fef41ae568189dea9979b873e82c78476d.

Change-Id: Ic4e0747b2524cda2acf2821a738755f4415f3181
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
1db3f4a09dffe6641d640a0de576e59a4cfa8f94 24-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Merge "Revert "Add content description and tooltip to menu item""
7ad815fef41ae568189dea9979b873e82c78476d 24-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Revert "Add content description and tooltip to menu item"

This reverts commit c7d1b6bc152f660957d7a789dcff7b97831915a0.

Change-Id: Iffc35948f706f42275f6d1c20f6024111320ced8
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
6a3652bd66ff4ea5e3e4ed2fd094dca5dd80353d 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add content description and tooltip to menu item"
3c7e44d6fe686e2081cc122dd904f8bcc2f9cf6c 23-Jan-2017 Jonathan Koren <jdkoren@google.com> Add content descriptions to BottomNavigationItemView

Bug: 33896023
Change-Id: I4673925aeacf3ad499ea317016e3e60f2c21b689
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
c7d1b6bc152f660957d7a789dcff7b97831915a0 23-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Add content description and tooltip to menu item

Bug: 34076597
Test: manual
Change-Id: I1addaac5e5734a140163541656cbd2dba4037517
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
8e10080c914d1ad0784394fa3026b85535535847 18-Nov-2016 Aurimas Liutikas <aurimas@google.com> Move from GROUP_ID to LIBRARY_GROUP annotations

- GROUP_ID was deprecated in favor of LIBRARY_GROUP.
- Fix import order in touched files.

Test: ./gradlew assemble assembleAndroidTest
Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
b4da44d7478295076c41ad68ffbced62f0e3b8d4 17-Nov-2016 Aurimas Liutikas <aurimas@google.com> Fix BottomNavigationMenu item selection via Menu object
am: 69557a3a03

Change-Id: Iaab10e75354d53096958671d18bd47dc07dfdb28
69557a3a037e4124ecbc98560e84fa89472b3bf4 07-Nov-2016 Aurimas Liutikas <aurimas@google.com> Fix BottomNavigationMenu item selection via Menu object

- Move the logic of handling which item is checked to MenuBuilder instead of
BottomNavigationMenu itself by making all the MenuItems exclusively checked.
- Fixes MenuBuilder#startDispatchingItemsChanged to call onItemsChanged
with a correct value of structureChanged. It now keeps track if structure
changes while dispatching is prevented.
- Added a button to focus the next bottom navigation item to
BottomNavigationViewUsage

Bug: 32336752
Test: Added a new test to BottomNavigationViewTest

Change-Id: Ief3ff356b501373aaabdd5f4990ecf6f9c506f05
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
d72e9db013c885dd699ad749b69409ffb6894838 23-Sep-2016 Vladislav Kaznacheev <kaznacheev@google.com> Set default pointer icon for disabled BottomNavigationItemView

Test: run SupportDesignDemos, select "Bottom navigation view", click "DISABLE ITEM"

Bug: 31652821
Change-Id: Idac02d7a3b29fb9f6baa82835ec8e29f477a493a
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
6efa7f23d91fb036b11b884b5122b3302b927c23 23-Sep-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Implement custom pointer icon for widgets in support lib"
155d8e15c8f1b959196c16555c54d19a5ccafe99 21-Sep-2016 Vladislav Kaznacheev <kaznacheev@google.com> Implement custom pointer icon for widgets in support lib

BottomNavigationItemView and TabLayout now display
PointerIcon.TYPE_HAND when hovered.

Bug: 31652293
Change-Id: I6cf4690f7cdf85eed04609c169f0b60bce044674
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b 25-Aug-2016 Alan Viverette <alanv@google.com> Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations

Also removes some unnecessary @hide annotations on classes that wouldn't
have shown up in docs anyway due to package/private visibility or NO_DOCS.

Bug: 27937193
Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
3cc432a5bd723a79dc52438235b47d0ea5d41ae4 19-Aug-2016 Aurimas Liutikas <aurimas@google.com> Adding shifting mode to BottomNavigationView.

This change adds a new mode to BottomNavigationView that
follow the https://material.google.com/components/bottom-navigation.html
spec.

Bug: 27675079

Change-Id: I868bc3c8cedd39c4e5a66c3c0ffbadff93bdf329
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
560426d9e9d9a9f29ed1a4abb0ee9cf837ed8a4f 18-Aug-2016 Aurimas Liutikas <aurimas@google.com> Improve text scaling animation for BottomNavigationView.

- Add BaselineLayout that baseline-aligns TextViews inside of it.
- Use two views that are baseline-aligned and animate between the two
using scale and baseline pivot.

Bug: 27675079
Change-Id: I36e067357dd08f3b41c84575c42c98297f31d83e
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
47082c30c630c34829439a9eecd1cf7e8d255a86 23-Aug-2016 Aurimas Liutikas <aurimas@google.com> Fix all usages of deprecated setBackgroundDrawable.

- Adds ViewCompat#setBackground that will call setBackgroundDrawable
or setBackground depending on the version.
- Replaced usages of setBackgroundDrawable with this ViewCompat version.

Bug: 30074170
Change-Id: I756c8558608da752acd6f3ca7121114d3cd1416a
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
7b755f1d59be88b1ae210df8cce902f53fb77305 29-Jul-2016 Aurimas Liutikas <aurimas@google.com> Move BottomNavigationView to using scale/translate for animation.

Bug: 30426776
Change-Id: I63fbc25267f86254be4e1f0fbd33ebbe7a379fe3
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
910de28f0a195668fad38ad2367c1f7237a7af98 23-Jun-2016 Aurimas Liutikas <aurimas@google.com> Fix BottomNavigationView tint clearing with null.

Fixes a crash in BottomNavigationView for setItemIconTintList(null) calls.
Additionally, CL adds tests to make sure tinting work correctly (largely inspired
by NavigationViewTest).
Finally, starts settings BottonNavigationItemView id to the MenuItem id.

Bug: 27675079
Change-Id: Ief696ab997407ad17eedc6b43c373e95638f4c34
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
e17fd0d6c2f79ad00d6d07e88f60d53e5b85a891 21-Jun-2016 Aurimas Liutikas <aurimas@google.com> Made OnNavigationItemSelectedListener callback work.

Start making calls to OnNavigationItemSelectedListener callback on
BottomNavigationView. This CL also adds tests to make sure that callback
works.

Bug: 27675079
Change-Id: I9a84ac16f2794196a2817ce4c16c15a334947b32
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java
23e274886774bf1a6c433ed98503e148fa1e15b4 28-Apr-2016 Aurimas Liutikas <aurimas@google.com> Initial implementation for BottomNavigationView widget.

Bug: 27675079
Change-Id: Ic24dfa979557f5af06294c61da5d74821254a583
/frameworks/support/design/src/android/support/design/internal/BottomNavigationItemView.java