Commit Graph
92 Commits
Author SHA1 Message Date
samartnik 8f71c5f198 [Android] Color changes for default_bg_color_dark relanded
Chromium change:
https://github.com/chromium/chromium/commit/36b698ced32d46de61554b4db1d9ca38143fcfc2

Reland "[GMNext] Migrate default_bg_color_dark_elev_N"
This is a reland of 391590f

The underlying issue has been fixed in https://crrev.com/c/3414069 and
this change is now safe to reland without any modifications.

Original change's description:
> [GMNext] Migrate default_bg_color_dark_elev_N
>
>
> [GMNext] Migrate default_bg_color_light_elev_N to dynamic colors
>
> Migrate default_bg_color_light_elev_N to dynamic colors.
>
> Only usage can be handled with the SurfaceColorDrawable.
>
> Will handle night mode version in followup CL migrating
> default_bg_color_dark_elev_N.
>
> Bug: 1270911
2022-03-18 20:03:52 -04:00
Pavneet-Sing a9d7a0bf85 feat(wallet): customize nonce in transaction panel
- show approve dialog in AssetDetails for unapproved tx
- Refactor service methods to use BaseActivity
- Fix Approve dialog hover issue
2022-03-16 04:00:27 +05:30
Alex C 6c46455412 [Android] Brave news - fixes Load new content position should be higher on tablet view
[Android] Brave news - fixes BAT Ad icon has a red underline below the text

[Android] Brave news - fixes Cards before branded list cards are smaller in size

[Android] - Brave news fixes Load new content not scrolling in certain conditions

[Android] Brave news - fixes Ad color #20732

[Android] Brave news - ui fixes
2022-03-08 16:24:58 -05:00
Pavneet-Sing 7848105d6f chore(wallet): replace network selector in profile 2022-03-02 03:11:19 +05:30
samartnik a9bbc543ed [Android] Adopted sync UI on tablets after cr99 changes 2022-03-01 12:36:56 -05:00
samartnik e3abd222d4 [Android] Removed stack layout code
Resolves https://github.com/brave/brave-browser/issues/21005

Chromium change:
https://github.com/chromium/chromium/commit/94a231f90d89f9af2996172fae508f9472d573cb

Remove unused rendering code in TabLayout
Follow up to https://chromium-review.googlesource.com/c/chromium/src/+/3388174
and continues to simplify the Tab rendering logic for phones.

Also deletes anything related to tilting/rotating and card backs for the
tabs.

Bug: 1287653
2022-02-17 14:03:25 -05:00
samartnik 897e2cdc44 [Android] Fixed colors for tab overview mode
Chromium change:
https://github.com/chromium/chromium/commit/7d60b1c52274b1b525a36db0986a1ea57c7ebf62

Enable DynamicColors through material_java.
Binary-Size: This is already being paid in downstream.
Bug: 1279417
2022-02-17 14:03:13 -05:00
samartnik 619db7dc77 [Android] Reverted some color changes
Chromium change:
https://github.com/chromium/chromium/commit/c722273c50f107eb62bd783505f1f19df7cb60ac

Revert "[GMNext] Migrate default_bg_color_dark_elev_N"
This reverts commit 391590f.

Reason for revert: crbug.com/1287000 , messages crash.

Original change's description:
> [GMNext] Migrate default_bg_color_dark_elev_N
>
>
> [GMNext] Migrate default_bg_color_light_elev_N to dynamic colors
>
> Migrate default_bg_color_light_elev_N to dynamic colors.
>
> Only usage can be handled with the SurfaceColorDrawable.
>
> Will handle night mode version in followup CL migrating
> default_bg_color_dark_elev_N.
>
> Bug: 1270911
> Change-Id: Id2931d815de83f3d0a57bbd104a65d2cd85c8f8b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3343448
> Reviewed-by: Sky Malice <skym@chromium.org>
> Reviewed-by: Sinan Sahin <sinansahin@google.com>
> Reviewed-by: Theresa Sullivan <twellington@chromium.org>
> Reviewed-by: Colin Blundell <blundell@chromium.org>
> Commit-Queue: Neil Coronado <nemco@google.com>
> Cr-Commit-Position: refs/heads/main@{#957734}

Bug: 1270911
2022-02-17 14:03:13 -05:00
samartnik 7627ed5873 [Android] Fixes for removed and renamed resources 2022-02-17 14:03:00 -05:00
Tapan Modh 7093cba800 Merge pull request #12093 from brave/set_default_browser_android
Set default browser improvements android
2022-02-03 02:39:32 +05:30
Pavneet-Sing dcd049ec44 chore(20463): Update swap dex aggregator text
- Update swap link style and show info icon
- fix override build warning
2022-01-28 08:29:41 +05:30
tapanmodh 4b920eebd7 Set default improvements android 2022-01-26 11:47:27 +05:30
Deep daee522582 Update monthly contribution UI
Update banner code
2022-01-21 12:21:19 -05:00
Pavneet-Sing 32e8b80dba fix(wallet): replace-dark-theme-hint-text-colors 2022-01-06 04:14:56 +05:30
Deep Pandya bd628f2a0c Merge pull request #11698 from brave/change_default_ac_value
Change onboarding default Auto-Contribute values
2021-12-28 11:01:26 -05:00
Deep fa62a47665 Update refresh status 2021-12-27 18:00:30 -05:00
Deep 10553c9cf2 Change onboarding default Auto-Contribute values 2021-12-27 16:15:05 -05:00
Deep 28cd4a5ab7 Add poppins font
Update rewards panel UI
2021-12-21 02:50:46 -05:00
Deep ceaf3816fa Update rewards panel UI 2021-12-21 02:49:34 -05:00
Deep 9282b0f817 Refactor colors and strings 2021-12-13 20:15:59 -05:00
Deep 1d990ad2b1 Add shadow for all popups
Remove verify banner

Updfate rewards modal pref
2021-12-13 20:15:59 -05:00
Deep 1ac3080586 Add rewards panel 2.0 UI 2021-12-13 20:15:59 -05:00
wchen342 12baee55f5 Change onboarding images 2021-12-09 13:29:46 +02:00
Deep 4afb3483cc Revert "Merge pull request #11148 from brave/remove_binance_widget_android"
This reverts commit fdd944dcdc, reversing
changes made to c99d30ee8b.
2021-12-07 15:56:04 -05:00
Alex C df2f0906ae [Android] Brave news on NTP, integration with mojom and feature flag 2021-11-24 14:23:24 -08:00
Deep c27e270ecb Remove binance widget related code 2021-11-23 18:02:06 -05:00
wchen342 64b4914fb1 Add MenuItem listener; Add Toolbar style 2021-11-22 07:35:23 +02:00
wchen342 a3c9fe2eb2 Add Wallet Settings 2021-11-18 02:53:54 +02:00
AlexeyBarabash 198055391e Show Android portfolio balance percentage trend
fixes brave/brave-browser#18460
2021-11-04 17:19:37 +02:00
samartnik 91e2e44fa9 [Android] Force lint checks for all build types 2021-10-19 07:12:07 -04:00
wchen342 4000ad1014 Add banner 2021-10-08 21:46:23 +03:00
samartnik 2336c5456e [Android] Fixed color for tab groups toolbar
Chromium change:
https://chromium.googlesource.com/chromium/src/+/73c2d3d5ee5865411e0f09909f1456c5e7bbc4e3

Bottom tab strip bg to Surface-3 in night mode.

The previous implementation assumed that the background color of the tab
strip should match the omnibox. This is no longer the case, as the
tab strip should now match infobars/dialogs, and be surface-0 (day) and
surface-3 (night).

So replace the theme provider with an is incognito provider, to let the
view make the appropriate decision.

Bug: 1243098
2021-10-05 16:21:51 -04:00
Deep Pandya e7e26638c7 Brave vpn UI android (#9874)
* Add VPN callout modal UI

* Add settings callout UI

* Add vpn menu

* Add vpn profile implementation

* Add adnroid 11 flag

* Add vpn plans activity

* Add billing dependency for in app purchase

* Add confirm dialog

* Add ignore manifest

* Add In app purchase for subscription

* Add native function for profile credential

* Add vpn notification

* Add all server regions in pref

* Add loading UI for preferences

* Add QA flag

* Get hostname with suggested algorithm

* Add base class for dialog fragments
2021-09-17 12:07:13 -04:00
samartnik 7d2b4f98f9 [Android] Fixed BraveRewardsSwitchTheme for SwitchCompat 2021-08-31 16:04:49 -04:00
samartnik b96f1b781a [Android] Fixed accent color
Chromium change:
https://chromium.googlesource.com/chromium/src/+/296e58b25a68baf8bf044234555c7bd157d5d761

[GMNext][TabSwitcher] Change selection style to material next

Disabled: Selected tab will have a hairline drawable foreground;
Enabled: Selected tab will be tinted into primary color.

Color in incognito mode will be using the ones for dark mode, and will
not support dynamic colors.

(The update for thumbnail is not included in this CL)

Spec see original bug attached.

Bug: 1217141
2021-08-18 10:59:54 -04:00
samartnik 595fa6de1e [Android] Fix for lint error 2021-08-18 10:59:52 -04:00
samartnik 8a49a29d19 [Android] Changed base app color
Chromium change:
https://chromium.googlesource.com/chromium/src/+/296e58b25a68baf8bf044234555c7bd157d5d761

[GMNext][TabSwitcher] Change selection style to material next

Disabled: Selected tab will have a hairline drawable foreground;
Enabled: Selected tab will be tinted into primary color.

Color in incognito mode will be using the ones for dark mode, and will
not support dynamic colors.

(The update for thumbnail is not included in this CL)

Spec see original bug attached.

Bug: 1217141
2021-08-18 10:58:37 -04:00
Deep Pandya d7a5ad3b97 Update colors for dark mode (#9509)
* Update Dark mode colors

* Remove logs
2021-07-26 19:05:46 -04:00
Deep Pandya b922c3d7e0 Crypto wallet flow (#9399)
* Resolve warnings

* Add native functions

* Update restore UI

Update onboarding flow

Update recovery phrase UI

* Add asset price native function

* Add asset price history native function

* Update UI to keep only crypto section

* Add asset detail page

Update graph with real asset data

* Remove unused resources
2021-07-14 13:24:16 -04:00
Deep cd058a9ba1 Add menu for Brave Wallet 2021-06-15 14:11:02 -04:00
Deep ec0357d3e7 Add wallet onboarding
Update wallet UI
2021-06-15 14:02:30 -04:00
samartnik d9930ae4b5 [Android] Brings Stack layout back as an option 2021-06-02 16:15:01 -04:00
Alex C d990493a20 [Android] fixes lint errors, removed unused strings and files, replaces some miss-matched strings 2021-05-19 21:34:38 -04:00
Alex C 5f7d79d461 [Android] reorganizes Settings and Privacy settings, sets shields global prefs 2021-05-14 19:26:30 -04:00
Deep Pandya fe0c84b55c Remove BAP deprecation modal (#8762) 2021-05-11 12:58:34 -04:00
Deep f7ee42b01e Fix privacy report theme color 2021-04-22 16:31:13 -04:00
Alex C 2c9a5bdaee [Android] Ads stats sharing 2021-04-12 11:21:48 -04:00
Deep c68504899a Remove warnnings for unused resources
Remove warning for drawables
2021-03-07 19:14:02 -05:00
Deep 6d8927ba1e Update tooltip UI 2021-02-04 01:28:50 -05:00
Deep 231bc92aa5 Add tooltip UI
Add modal UI
2021-02-04 01:28:50 -05:00