Commit Graph
369 Commits
Author SHA1 Message Date
Artem Samoilenko 75426e62d5 [cr147][Android] Remove ic_arrow_down icon
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/db9b08b6c3709f3bdd75494e4c8c5038dbe0c284

commit db9b08b6c3709f3bdd75494e4c8c5038dbe0c284
Author: Jacob Stanley <jacobstanley@google.com>
Date:   Mon Mar 2 14:26:16 2026 -0800

    [Privacy Sandbox Clank] Remove Restricted Notice

    NO_IFTTT=Removing android_java formatter_data since Clank notice code is
    being deleted. Deleting all the strings, after they are fully unused on
    all OS's will come in a following CL.

    Bug: 474716334
    Change-Id: Ia0600619efaa67b898133af161c4a898ee4a09b7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7618303
    Commit-Queue: Jacob Stanley <jacobstanley@google.com>
    Reviewed-by: Abe Boujane <boujane@google.com>
    Cr-Commit-Position: refs/heads/main@{#1592748}
2026-03-26 19:55:27 -04:00
AlexeyBarabash a5c47b8f71 [Android][Settings Search] Replace background images with the void (#34687)
Resolves https://github.com/brave/brave-browser/issues/53524
2026-03-13 22:41:49 +02:00
Serg 94c841cc01 [Android] Use Nala ic_search icon for dark theme support (#34679)
Remove hardcoded ic_search.xml (#495057 fill) that was shadowing the
Nala version which uses @color/icon_default for proper light/dark
theme adaptation.

Resolves: https://github.com/brave/brave-browser/issues/53297
2026-03-12 16:32:52 -04:00
Jay Harris 68bf9b0a88 [Nala]: Support Nala icons in Android (#34141) 2026-02-25 02:12:01 +00:00
Artem Samoilenko f1d1c1bf1c [cr145][Android] Update Add icon drawable name
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c4039f85750b4e7b5845545a1131296cd7a07296

commit c4039f85750b4e7b5845545a1131296cd7a07296
Author: Jenna Himawan <jhimawan@google.com>
Date:   Thu Dec 11 15:25:40 2025 -0800

    [Icons] Update Add icon drawable and name

    Bypass-Check-License: File rename; not a new file
    Bug: 465844226
    Change-Id: I4ae0996076205e52315101082ac3e9b0f15369f6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7247464
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Jenna Himawan <jhimawan@google.com>
    Cr-Commit-Position: refs/heads/main@{#1557733}
2026-01-29 13:40:36 -05:00
Brian Johnson 00d4bc735d Fix copyright presubmit issues that came when moving files in https://github.com/brave/brave-core/pull/33159
This allows 33159 to just move the relevant files with no changes to them
2026-01-13 20:31:33 +00:00
samartnik 851cdf1f34 [CodeHealth] Separate Brave-specific resources from Chromium overrides (#31571)
[Android] Separate Brave-specific resources from Chromium overrides
2025-10-02 08:50:51 -04:00
samartnik bd57c6c37b [Android] Update header image for quick shortcuts and optimization (#31528)
* [Android] Update header image for quick shortcuts and optimization

Optimizations done:
- Initialize leo and wallet controllers regardless if feature enabled or not. This is because at this point native is not guaranteed to be initialized to check the feature. Check for option visibility is done in `BraveRadioButtonGroupAdaptiveToolbarPreference` instead.
- Override `buildUiStateForStats` to avoid asserts on Brave specific options.

* Fix for tests

* Fix for JUnit tests
2025-10-01 09:35:18 -04:00
Brian Johnson 1f27a328c6 [Speedreader] Remove speedreader on android (#31418)
Remove buggy speedreader implementation on android
2025-09-29 11:52:46 +09:00
Kevin Smith 7f6dbf689e [Rewards] Remove unused Rewards UI on Android (#30900) 2025-09-25 16:31:12 -04:00
Oliver 5addb66841 [Android] Support import of passwords from CSV (#31056)
* [Android] Refactor PasswordSettings.java to use an XML layout file.

The PasswordSettings.java file now integrates with a new XML file that
contains the layout for the page. This modification was completed using
Cursor but does not appear to have introduced any breaks.

There should be no semantic changes caused by this commit and the Brave
Password settings screen should continue to function exactly as it did
prior to this commit.

* [Android] Introduce new Import/Export items to password manager menu.

The password manager dialog now features two items for export and
import. Prior to this commit, Export was hidden away in a small
drop-down menu accessible from the top-right of the screen.

The import item is also present, but non-functional in this commit.

* [Android] Implement importing passwords from CSV.

We now support importing a CSV file containing the user's passwords.
This commit builds upon its parent by implementing the necessary code to
call Chromium's password manager which is responsible for executing the
import.

Additionally, the icons in the password manager screen have been changed
to new ones taken from Google's Material UI icon set.

Localisation strings have been introduced - some of which are copied
from Google's base since, after discussion, this is the way we currently
make strings usable for Android. If this changes in future, these could
be de-duplicated. Translations into other languages are still necessary
since only English is implemented.

Closes brave/brave-browser#35729
2025-09-24 16:07:14 +02:00
Artem Samoilenko cb21669d9e [cr141][Android] Adjust icon for the new main menu item
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8c20f1c394693bcb5f98982e3d188319c9568107

commit 8c20f1c394693bcb5f98982e3d188319c9568107
Author: Fiaz Muhammad <mfiaz@google.com>
Date:   Tue Aug 12 07:40:28 2025 -0700

    [TabGroupParity] Enable feature by default

    - Switch TabGroupParity and EntryPoints flags to enabled by default.
    - Fix broken tests.

    Bug: 391387522
    Change-Id: I78e7ed6a3e88598657fd314e270a590c17897258
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6832532
    Commit-Queue: Fiaz Muhammad <mfiaz@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Auto-Submit: Fiaz Muhammad <mfiaz@google.com>
    Cr-Commit-Position: refs/heads/main@{#1500131}
2025-09-22 14:59:42 -04:00
AlexeyBarabash b5a55e8879 [cr140][Android] Replace tablet arrows icon with correct ones (#30873)
This fixes cr140 regression intruduced at
https://github.com/brave/brave-core/pull/29767/commits/a578a9cfec558824dc6d9264b397957e0d7b5989

Resolves https://github.com/brave/brave-browser/issues/48634
2025-08-27 20:29:01 +03:00
AlexeyBarabash a578a9cfec [cr140][Android] Update btn_right and btn_back to newer asset
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/f5f7db8839213f6a812ba2fb5972547225d0347b

	Update btn_right and btn_back to newer asset

	Replaces btn_right.png and btn_left.png with a newer material vector drawables.

	Bug: 425739282
	Change-Id: Ic1c50a79c7c1eedb7d69e727bbc2463b1bc94cc7
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6692114
2025-08-19 19:54:21 +01:00
Serg 77dbfb9a84 Implement Brave Origin paywall on Android (#30554)
Implements Brave origin paywall screen and handles subscription
purchases on Google Play Store. There is no entry point to it
currently, it will be done in the feature PRs
Resolves: https://github.com/brave/brave-browser/issues/48279
2025-08-08 16:20:53 -04:00
samartnik f536ed9c59 [Android] Initial integration of quick shortcut button (#30242)
* [Android] Initial integration of quick shortcut button

- Adds flag for quick shortcut (disabled until all Brave items are available)
- Makes parity with options available with the upstream
- Visual and UI fixes

* Moves flag under Android guards
2025-07-25 06:57:22 -04:00
Simone Arpe 6e1791f50c Add PIP icon in omnibox (#29431) 2025-07-17 21:17:54 +02:00
Serg 355b6dde6f Search widget: Set color scheme to use material design (#29569)
The search widget needs to have better alignment with Material colors.
It is important for it to feel like it is integrated to the OS.
Resolves: https://github.com/brave/brave-browser/issues/46537
2025-06-16 08:52:14 -04:00
AlexeyBarabash a7d72c4c33 [cr138][Android] Fixed Brave Password Manager icon at preferences
It was a name overlapping with the one from
`obj/third_party/androidx/androidx_credentials_credentials_java/res/drawable/ic_password.xml`

Chromium change probably:
https://source.chromium.org/chromium/chromium/src/+/dc70a40afac9726a01aa7c5330e0c51c2dc58a4b

	[DC] Move the DigitalCredentialsCreationDelegateImpl to the public code

	The androidx library has been released to the public and hence no need
	to keep it in the internal code.

	This CL is introducing minor behavioral changes limited to Null checks.
	The diff between the version in the internal code and this one is in
	http://go/webdiff#key=iVg4KJsYe0Gu

	Follow-up CLs will remove the internal pieces.

	Bug: 415967212
	Change-Id: Ief2df4b1654d9d2ea54506d9c846ea02dbbe0597
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6523383
2025-06-11 17:07:47 -04:00
samartnik a2725afde8 [Android] Updates download page menu icon (#29091)
* [Android] Updates download page menu icon

* [Android] Adds header to ic_download icon
2025-05-16 00:38:49 +02:00
Artem Samoilenko deb3ac4cde [cr137] [Android] Toolbar text box color rename
Chromium change:
https://chromium.googlesource.com/chromium/src/+/60bd853aed5f8599a5508a78e45665ddd042fc76

[Surface Color] Omnibox & toolbar

Light:
Toolbar: surface 0 -> surface
Omnibox bg: surface 4 -> surface container high

Dark:
Toolbar: Surface 0 -> Surface
Omnibox bg: surface 4 -> surface container highest

Before:
https://screenshot.googleplex.com/4dX62JRmShEBsBw
https://screenshot.googleplex.com/4B2SZSYpaF5pPBh

After:
https://screenshot.googleplex.com/9kFF4eMkD4FscZV
https://screenshot.googleplex.com/6jpDFSwPNBaWHgk

ChromeColors#getDefaultThemeColor, which is used for the toolbar bg, is already set to colorSurface.

Bug: 406890625
2025-05-13 15:52:47 -04:00
Simone Arpe 7850105ddd (Wallet) Implement ZCash support on Android Wallet (#28883)
* Add required string for Android

* Perform small refactoring

* Introduce support for ZCash Mainnet and Testnet

* Implement logic to extract Zec data

* Improve fragment transaction UI

* Apply code formatting

* Switch ApproveTxBottomSheetDialogFragment to NullAway annotations

* Switch TxDetailsFragment to NullAway annotations

* Rename variable

* Switch SiweMessageFragment to NullAway annotations

* Switch AssetUtils to NullAway annotations

* Switch Utils to NullAway annotations

Removes unused methods and strings.
Adds missing ZCash vector asset.

* Switch ParsedTransaction to NullAway annotations

* Switch ParsedTransactionFees to NullAway annotations

* Remove unused parameters from methods and constructors

* Switch ApproveTxFragmentPageAdapter to NullAway annotations

* Switch TxFragment to NullAway annotations

* Introduce assert instead of throwing

* Add ZCash vector asset

* Extract Zec data into proper field
2025-05-07 20:01:03 +02:00
Deep Pandya 1a08762a2d Add a separate target for quick search engine feature (#26478)
* Move java classes into brave/browser for quick_search_engines

* Move serach_engines resources to brave/browser/search_engines

* Add translations files for search_engines android string

* Add dimens

Add a function to load favicons

* Add close menu id for quick search

* Add missing deps

* Move quick search engines changes to brave/browser/quick_search_engines

* Remove comments for BUILD.gn
2025-04-23 17:00:28 -04:00
Deep Pandya 2b756daa09 Android onboarding variants (#28426)
* Add support for diferent variants

* Remove omnibox highlight which shows up right after onboarding

* Add different variants function

* Add search widget promo on NTP

* Add notification permission changes

* Update widget promo UI

* Update wdp check

Resolve presubmit issue
2025-04-03 10:52:03 -04:00
Artem Samoilenko 58b5cece04 [Android] Update file names for icons to match Figma 2025-03-27 14:16:28 -04:00
Artem Samoilenko 152d7a4103 [Android] Additional improvements for bottom address bar
- Moved address bar to bottom on NTP
- Moved menu and updated menu icons and texts
- Added request for relaunch when bottom navigation controls are enabled
- UI and visual improvements
2025-03-27 09:11:22 -04:00
Deep Pandya 86e6934b52 Remove search engine onboarding (#28230)
* Remove search engine onboarding

* Remove onUrlFocusChange callback
2025-03-21 00:15:47 -04:00
Deep Pandya b4c5eef3c9 Add close button to close rewards panel (#27888)
* Add close button to close rewards panel

* Update close icon for rewards 3.0 panel
2025-03-05 10:02:03 -05:00
Deep Pandya 50c2e997d9 Add Tabs icon in settings (#27725)
* Add Tabs icon in settings

* Update icon tint
2025-02-20 14:09:55 -03:00
Deep Pandya c96125629b Update search engine onboarding icons with vector drawables (#27541) 2025-02-07 11:57:02 -05:00
Artem Samoilenko eedeae5ab2 [Android] Clean up modern_grey colors
Chromium change:
https://chromium.googlesource.com/chromium/src/+/e99dac41a65779af4bfb8a15cde443478f51cc2f

[clank-q4-fixit] Clean up modern_grey colors pt 2

Bug: 40910276
2025-01-27 09:41:36 -05:00
Artem Samoilenko cc8c69c7ec [Android] Clean up for UnusedMethod and UnusedVariable lint errors 2025-01-27 09:36:40 -05:00
Simone Arpe f4d205a7b6 (Wallet) Fix Dapps dialog not dismissed when creating a new tab (#27249)
Fix Dapps dialog not dismissed correctly when creating a new tab
2025-01-15 19:31:19 +01:00
deeppandya 36c038c6cb Add static image as we removed the animation 2024-12-18 09:36:33 -07:00
deeppandya dc5098f382 Remove unused resources 2024-12-03 01:04:52 -05:00
deeppandya 874c3f61e4 Remove estimated earning text 2024-12-03 01:04:45 -05:00
deeppandya b1b011fbe5 Add youtube in quick search engines
Add youtube string

Resolve format issue
2024-11-14 04:20:07 -05:00
deeppandya 1c4d4a3551 Refactor class names
Remove logs

Add new line for ic_microsoft_color icon
2024-11-06 11:20:09 -05:00
deeppandya a9933fd80b Add reorder for quick search engines settings 2024-11-06 11:18:21 -05:00
deeppandya affec58382 Resolve order issue with MAP
Resolve keyboard height issue

Update icons for bing and startpage

Update existing UI
2024-11-06 11:18:19 -05:00
deeppandya 3fcd34edcd Update quick search engines view 2024-11-06 11:18:11 -05:00
Simone Arpe 7a362dd531 (Android) Redesign private tab UI (#25850)
🎨 Redesign private tab UI following Figma design.

Private tab redesign includes three new sections "Leave no trace", "Browsing visibility" and "Brave VPN".
Brave VPN section will show a call to action text view that will redirect to the subscription page. If the user is already a paying customer, or the VPN is not supported the CTA view will be hidden.

The design is responsive and adjust to large device screens and tablets, following the logic provided by Figma design.
The entire layout is centered in the visible part of the page.
2024-10-15 19:18:52 +02:00
Serg 00ef18e44b Leo annual subscription on Android 2024-10-15 10:15:04 -04:00
deeppandya 05f02fcf93 Update laptop icon for sync
Resolve presubmit issue
2024-10-11 02:46:50 +05:30
Brian Clifton eb8ddbc6a3 Merge pull request #25464 from brave/update_icons_for_sync_chain
Update icons for device types in brave sync
2024-09-06 11:14:40 -07:00
deeppandya 204b086062 Update icons for device types in brave sync
Add license headerss
2024-09-06 15:01:44 +05:30
deeppandya 7eff393688 Remove native worker changes
Update cpp changes and remove android exceptions
2024-09-06 03:22:31 +05:30
deeppandya 8c430eb8f0 Initial changes for UI
Update vpn server selecton activity UI
2024-09-06 03:22:11 +05:30
deeppandya 2baa99c8cd Resolve NoResourcesGetColor warnings 2024-08-21 03:31:13 +05:30
deeppandya a3d8f60b45 Remove changes for old paywall 2024-08-21 03:31:11 +05:30