4b25d63ff53d4676150ac54897851e4ff9f1049f |
|
25-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Clean up ParcelableCompat after minSdk 14 bump. Bug: 32794064 Test: ./gradlew assemble Change-Id: I87d35d527e80d55ac4a2a626a6040fcdaff63ae3
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
3c686509330158f83ade5be36db66efeee574f14 |
|
31-Jan-2017 |
Jonathan Koren <jdkoren@google.com> |
Add item reselected listener to BottomNavigationView am: 6b3a399a8e Change-Id: I7922cc8815904189f39d1aafc7684cfd1fa1592b
|
6ee689e1aa3b1ba5ce50aa2e8fb13fc35c22af5f |
|
30-Jan-2017 |
Jonathan Koren <jdkoren@google.com> |
Merge commit 'e4c7e61dbe94a77c5389eb20952d6b7ed6536caf' Change-Id: Iaf5782172dc5235f21cd9f2f5842c88858e5702d
|
362f15a668db8b91aa216d903278157a7775e073 |
|
30-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix BottomNavigationView example to use AAPT1 style. am: 15bb0011d0 Change-Id: I160b8c0d61b249e37cdb5819e4747da4962dd612
|
15bb0011d065eea84c845087118f2b7f8209d400 |
|
29-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix BottomNavigationView example to use AAPT1 style. Many of support library users are still not using AAPT2 so switch to use res-auto and app namespace for the example snippet. Bug: 34690787 Test: None Change-Id: I677cab381cc52803fcb9a5b6bb7a630ec8469a0d
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
6b3a399a8ed6afa4c9da88690a61efca61b61d21 |
|
29-Jan-2017 |
Jonathan Koren <jdkoren@google.com> |
Add item reselected listener to BottomNavigationView Adds an additional listener in for developers that want to discern between item selection and reselection without tracking the current selection. This maintains backward compatibility with existing uses of OnNavigationItemSelectedListener by itself in client code; new behavior is only observed if an OnNavigationItemReselectedListener is added. Bug: 34576220 Test: Modified tests in BottomNavigationViewTest, Updated support-design-demos Change-Id: Id48cde6395dd73a01ce68e3be1783161229f8939
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
e4c7e61dbe94a77c5389eb20952d6b7ed6536caf |
|
24-Jan-2017 |
Jonathan Koren <jdkoren@google.com> |
Add setSelectedItemId() to BottomNavigationView Also fixes a bug where programmatic selection of an item (previously by calling setChecked(true) on a menu item) does not invoke the OnNavigationItemSelectedListener and does not animate properly. Bug: 34627065 Bug: 33002556 Test: Added new tests in BottomNavigationViewTest Change-Id: I2acbacaedb6cf7a05135ba90137f939b690190da
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
b01c03a178cb74302b83e20820fb98a817b47e3e |
|
23-Jan-2017 |
Jonathan Koren <jdkoren@google.com> |
Fix BottomNavigationView not saving state Bug: 32995862 Test: Added new test to BottomNavigationViewTest Change-Id: Id66e262e8264c2d09c01580f4f0055d026300684
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
bd9914de4a913ba96c5039076dbcc37f1ecff232 |
|
24-Nov-2016 |
Aurimas Liutikas <aurimas@google.com> |
Clarify how to select BottomNavigationView active item. Test: generateDocs still works Change-Id: I543f27e0306b4800b6faa4595c84d0dd3a22703e
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
417d9281c4a4e35484e0af07ae915e1cac73136d |
|
31-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
BottomNavigationView javadoc fix up. am: e1e8ec0b26 Change-Id: Ib73c34b74e9e6681a4b5b87db0ce462c96e4fd5b
|
7ff7ddcb8984e76745b37be485720773d6041328 |
|
27-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add shadow to BottomNavigationView. - Adds elevation for API 21+ - Adds a gray divider for older platforms Bug: 32394780 Change-Id: Ief55f4a7801db103c654c94d1f79e0c63c597201
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
80c46a0294ce910b675c27326cd677a724ddd7bf |
|
26-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix crash when adding items to BottomNavigationView. BottomNavigationView would crash when trying to add items without calling menu inflation first as it was did not initialize the menu object correctly in such case. Bug: 32325084 Test: added BottomNavigationViewTest#testAddItemsWithoutMenuInflation that now passes with my patch. Change-Id: Id7597d38596f1e55b1dea1b1ff699868101381e4
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
e1e8ec0b26b8408a4da17729a8df33d0f04f0ccc |
|
26-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
BottomNavigationView javadoc fix up. Follow up from ag/1576146 Test: None Change-Id: I291f23347b7f15f5012228c2a517c73a7f6f050a
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
578015fc3e5ddc0fdb95db7ad0d00822c54be6df |
|
25-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
Start using return value of OnNavigationItemSelectedListener. Previously returning false in OnNavigationItemSelectedListener did not affect the selected state of BottomNavigationView. This CL makes it so that we start using that return value correctly. Bug: 32336558 Test: expanded BottomNavigationViewTest#testNavigationSelectionListener Change-Id: Id091acf5c4bc67b7db35477b43b17c966d87ff86
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
362dc949beca08992da40f6bdc08b9a07530c5fd |
|
19-Oct-2016 |
Chet Haase <chet@google.com> |
Clean up BottomBar docs Test: made sure docs target build, results looked reasonable Bug: 32270959 clean up example in BottomNavigationView header docs Change-Id: Ie27b07ae6b34da60942b448e61386f0a254691e5
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
5052de301c378b3d8947c210313147e94fa20a97 |
|
29-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Clean-up BottomNavigationMenuView#onMeasure and other style fixes. Test: existing tests + manually ran SupportDesignDemos on Nexus 5X 7.0 Change-Id: I32122d77c633b52ba2572308129efc3185f2d696
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.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/widget/BottomNavigationView.java
|
1e7611479ef9f93d5e2a533e0add29c24a23511d |
|
15-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Update BottomNavigationView namespace definition for aapt2. Bug: 30088518 Change-Id: I1009e3b893805fb09a28d846e896ef8c0e36242f
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
f6a12ad68e652ba7cb2d21b9285f33a770a5e537 |
|
15-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Two more BottomNavigationView fixes. - Fixes a crash of BottomNavigationView on Gingerbread (use of 3 argument LinearLayout constructor) - Updates Class level javadoc of BottomNavigationView. Bug: 30128092 Bug: 30088518 Change-Id: I3b111a4ffa9dcf30a519ffbc809b9d1a5170d3d4
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.java
|
d38621793486c819b838030e781e94486f092012 |
|
07-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add more fixes to BottomNavigationView. - Fixes crash for fast taps of buttons where BottomNavigationItemView#getAnimator returns null since the view is already in the correct state. - Added checks for illegal menus - Max menu item check 5 items - No submenus - Updated the sizing of the BottomNavigationItemView. - Adding missing getItemBackgroundResource method. Bug: 27675079 Change-Id: I856d250d92e69925a75cf4996a1d02f91441d67c
/frameworks/support/design/src/android/support/design/widget/BottomNavigationView.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/widget/BottomNavigationView.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/widget/BottomNavigationView.java
|