[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
This commit is contained in:
Artem Samoilenko
2025-03-27 09:11:22 -04:00
parent a478e63d35
commit 152d7a4103
20 changed files with 302 additions and 29 deletions
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M18.5,3.6H6.5C6.279,3.6 6.1,3.779 6.1,4V20C6.1,20.221 6.279,20.4 6.5,20.4H18.5C18.721,20.4 18.9,20.221 18.9,20V4C18.9,3.779 18.721,3.6 18.5,3.6ZM6.5,2C5.395,2 4.5,2.895 4.5,4V20C4.5,21.105 5.395,22 6.5,22H18.5C19.605,22 20.5,21.105 20.5,20V4C20.5,2.895 19.605,2 18.5,2H6.5ZM7.5,17.698C7.5,17.311 7.813,16.998 8.2,16.998H16.8C17.187,16.998 17.5,17.311 17.5,17.698V18.298C17.5,18.684 17.187,18.998 16.8,18.998H8.2C7.813,18.998 7.5,18.684 7.5,18.298V17.698ZM11.824,9.801C11.824,9.428 12.127,9.125 12.5,9.125C12.873,9.125 13.176,9.428 13.176,9.801V13.103L13.995,12.284C14.26,12.02 14.688,12.02 14.952,12.284C15.216,12.548 15.216,12.976 14.952,13.24L12.978,15.214C12.851,15.341 12.679,15.412 12.5,15.412C12.321,15.412 12.149,15.341 12.022,15.214L10.048,13.24C9.784,12.976 9.784,12.548 10.048,12.284C10.312,12.02 10.74,12.02 11.005,12.284L11.824,13.103L11.824,9.801Z"
android:fillColor="@color/shield_text_color"
android:fillType="evenOdd"/>
</vector>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M18,20.4H6C5.779,20.4 5.6,20.221 5.6,20V4C5.6,3.779 5.779,3.6 6,3.6H18C18.221,3.6 18.4,3.779 18.4,4V20C18.4,20.221 18.221,20.4 18,20.4ZM6,22C4.895,22 4,21.105 4,20V4C4,2.895 4.895,2 6,2H18C19.105,2 20,2.895 20,4V20C20,21.105 19.105,22 18,22H6ZM7,6.302C7,6.689 7.313,7.002 7.7,7.002H16.3C16.687,7.002 17,6.689 17,6.302V5.702C17,5.316 16.687,5.002 16.3,5.002H7.7C7.313,5.002 7,5.316 7,5.702V6.302ZM11.324,14.199C11.324,14.572 11.627,14.875 12,14.875C12.373,14.875 12.676,14.572 12.676,14.199V10.897L13.495,11.716C13.76,11.98 14.188,11.98 14.452,11.716C14.716,11.452 14.716,11.024 14.452,10.76L12.478,8.786C12.351,8.659 12.179,8.588 12,8.588C11.821,8.588 11.649,8.659 11.522,8.786L9.548,10.76C9.284,11.024 9.284,11.452 9.548,11.716C9.812,11.98 10.24,11.98 10.505,11.716L11.324,10.897L11.324,14.199Z"
android:fillColor="@color/shield_text_color"
android:fillType="evenOdd"/>
</vector>