-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bottom Navigation #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Bottom Navigation #778
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
52a88e3
added simple bottom navigation bar
malmstein 956adea
adding a new behaviour that hides the bottom bar when scrolling down …
malmstein 6df6ff4
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein afa7006
cleaning up the bottombar, proper inheritance
malmstein 9e577a9
added tabswitcher button to bottomnavigationbar
malmstein d8465a6
enabling buttons in bottom bar based on state
malmstein 59525f8
removing all scrolling layout flags from the xml, we use the OmnibarS…
malmstein eea2c48
adding snapping behaviour to the bottom bar
malmstein b45a44b
cleaning up the behaviour
malmstein 8f0d084
added missing menu for browser activity
malmstein c462716
added experiment decorator that will handle UI for different experiments
malmstein 6e53067
implemented decorator variants as per current designs
malmstein b77e47d
PopupMenu also knows about the experiment we are running
malmstein 0416259
added swipe to refresh
malmstein 9c37114
using bottom bar for now
malmstein c2de8ab
cleaning up the code
malmstein dd2224b
cleaning up
malmstein 62daff0
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 107959b
binding all buttons in bottom bar
malmstein 5e8369a
added popupmenu that anchors to the bottombar
malmstein 5f272b5
we can now decorate the toolbar based on the experiment
malmstein b5a014d
added experiment variants for the bottom navigation
malmstein 297d9de
always showing the omnibar background
malmstein 71ee2fe
no need for old custom webview, scroll is already properly supported
malmstein 90fd052
removing pull to refresh for now
malmstein aebcd4d
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 80953f8
using the search experiment by default
malmstein f1bd2b4
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein af961db
removed the second experiment, binding popup and bottom bar click lis…
malmstein 9c3a5d3
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein ea3022a
added new icons for bottom bar and popup menu
malmstein 03826b0
popup menu now also respect light / dark theme
malmstein 8c624e3
using new color attribute for dark / light theme
malmstein 98df130
ignoring variant tests for now, we are lying
malmstein 67d518e
bottom bar is only visible if the omnibar has no focus
malmstein 8fb731d
the search icon is shown only when the serp has focus, and the privac…
malmstein fdc05b6
cleaning up the tabs switcher and removing its animation
malmstein f883116
updating version for internal release
malmstein fd8ed49
proper padding of items in bottom bar
malmstein e408e79
remove unused file
malmstein 99f420a
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 4443d19
add new tabs screen
malmstein 01c918b
we have a new activity to show tabs with the experiment
malmstein 6d3dbb1
we only use the new activity if the experiment is on
malmstein 71722c8
more ui work
malmstein 461a753
Merge branch 'feature/david/bottom_navigation_bar' of https://github.…
malmstein 3a6bd90
Update popup_window_browser_bottom_tab_menu.xml
malmstein 89d3d72
all toolbars should be the same
malmstein 1e48c88
ui tweaks with Robert
malmstein be99ceb
improved elevation for the bottom bar
malmstein 5045e68
ensure keyboard is not shown if the omnibar does not have focus
malmstein 47cc6d5
search icon / privacy grade should be properly updated
malmstein d4112ec
ensure grade button is hidden
malmstein 9f6ece6
Merge branch 'feature/david/bottom_navigation_bar' of https://github.…
malmstein 00ccf1e
added pixels to track experiment engagement
malmstein 191a3c7
added missing fire icon pixel
malmstein b5020b0
ensure we also animate the bottom bar after animating the toolbar
malmstein b4c2e74
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 5785e4d
moving search next to the fire icon
malmstein 1a79863
added proper background for the bottom bar
malmstein 96c0fec
ensure that the widget cta is sitting in top of the bottom navigation…
malmstein f281572
added delay to keyboard animation so it doesn't look wonky
malmstein 741d8e5
ensure cta container respects the bottom bar height
malmstein 1427152
remove the animation when hiding the keyboard
malmstein 20aacc8
make sure that the first time the container shows we respect the bott…
malmstein b8f5f23
updated pixel values for the experiment
malmstein 5a51780
swapped order of icons in bottom bar
malmstein d684a7b
adding tests for the variant manager
malmstein 03a925f
updated version for release
malmstein 4264778
Merge branch 'feature/david/bottom_navigation_bar' of https://github.…
malmstein 2936137
fixed tds hast test
malmstein a755fd2
Merge branch 'feature/david/bottom_navigation_bar' of github.com:duck…
malmstein 9472a09
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 72d6685
fixed etag test
malmstein 2267e6b
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein b057cb1
enable for now
malmstein 3af4791
improved color selection for api 21
malmstein 8af4da3
fixing vector drawables so they show the proper path
malmstein 3a55b51
these tests should be running
malmstein cb0ca2c
addressing some PR comments
malmstein 1d9a038
cleaning up double assignation
malmstein ccd01db
clean up some comments
malmstein d0377e6
Merge branch 'feature/david/bottom_navigation_bar' of github.com:duck…
malmstein 4915681
more code cleanup
malmstein dffd00a
swap experiment with feature for readibility
malmstein 3e84290
revert experiments to original values, it's not this PR responsibilit…
malmstein 78515a7
updating experiment names
malmstein 42e747f
proper reference
malmstein 59d6ded
ensure all pixels trigger the variant key
malmstein 3f42965
revert wrong variant change
malmstein a41a919
cleaning up colors and selectors
malmstein 349d300
no need for this
malmstein b1ddcb4
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein 9b91ae7
cleaning up the toolbar, make sure we show the icons for both experim…
malmstein 890b3cd
returning experiments back to original distibution
malmstein 240c3c0
hide new menu buttons when in bottomnav mode
malmstein 8e488ab
no need for this selector because we use theming now
malmstein bd3e2bf
ensure the omnibar is using full width
malmstein 75daa9e
ensure widget container is shown properly
malmstein 6120a45
removing the behaviour so the omnibar is properly updated
malmstein cd6dd49
revert this to what it was
malmstein f924f80
revert this to fix tests
malmstein 6382a9d
proper style for checkbox
malmstein 49600fa
cleaning up state and visibility of the toolbar
malmstein b2c2717
updated etag for tests
malmstein 49d3629
revert tdstest changes
malmstein 7f4b276
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein b209a3c
cleanup references
malmstein 74d68e9
Merge branch 'develop' into feature/david/bottom_navigation_bar
malmstein a81e8ac
Merge branch 'feature/david/bottom_navigation_bar' of github.com:duck…
malmstein b2c55f6
add missing pixel after opening a new tab
malmstein 5086795
move this to the decorator
malmstein cbb9470
duplicate call
malmstein 6e47139
better method naming
malmstein 87341a5
remove duplicate call for this method
malmstein 93b8a28
ensure bottombar is visible after opening a new tab
malmstein f07e7d7
another redundant call
malmstein e812c2f
renaming bottom bar only icons
malmstein d3f360f
no longer used
malmstein d241ecb
proper icon name
malmstein 2cd2d44
removing unnecessary method
malmstein cc1327e
fix color reference pointing to wrong attribute
malmstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -234,6 +234,10 @@ | |
| android:name="com.duckduckgo.app.tabs.ui.TabSwitcherActivity" | ||
| android:label="@string/tabActivityTitle" /> | ||
|
|
||
| <activity | ||
| android:name="com.duckduckgo.app.tabs.ui.TabSwitcherBottomBarFeatureActivity" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we create a new Activity here because it's easier to have it this way that change the current Activity. This will be either deleted (if the experiment fails) or become the new Tabs Activity (and remove it's counterpart) |
||
| android:label="@string/tabActivityTitle" /> | ||
|
|
||
| <activity | ||
| android:name="com.duckduckgo.app.privacy.ui.PrivacyDashboardActivity" | ||
| android:label="@string/privacyDashboardActivityTitle" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.