-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unlike the general menu items with ImageView&TextView layout, a Zoom menu has ImageView&TextView&+/- ImageViews layout and only +/- ImageViews should handle hover and click events. This patch configures the zoom layout and add the relevant code. The +/- ImageViews are connected to the page zoom feature, and this Zoom UI appears only in chromium-backend.
- Loading branch information
Showing
18 changed files
with
248 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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 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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<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="M8,12C8,11.448 8.448,11 9,11H15C15.552,11 16,11.448 16,12C16,12.552 15.552,13 15,13H9C8.448,13 8,12.552 8,12ZM7.25,2.388C8.549,2.099 10.124,2 12,2C13.876,2 15.451,2.099 16.75,2.388C18.06,2.679 19.149,3.176 19.986,4.014C20.824,4.851 21.321,5.94 21.612,7.25C21.901,8.549 22,10.124 22,12C22,13.876 21.901,15.451 21.612,16.75C21.321,18.06 20.824,19.149 19.986,19.986C19.149,20.824 18.06,21.321 16.75,21.612C15.451,21.901 13.876,22 12,22C10.124,22 8.549,21.901 7.25,21.612C5.94,21.321 4.851,20.824 4.014,19.986C3.176,19.149 2.679,18.06 2.388,16.75C2.099,15.451 2,13.876 2,12C2,10.124 2.099,8.549 2.388,7.25C2.679,5.94 3.176,4.851 4.014,4.014C4.851,3.176 5.94,2.679 7.25,2.388Z" | ||
android:fillColor="#ffffff" | ||
android:fillType="evenOdd"/> | ||
</vector> |
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<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="M13,9C13,8.448 12.552,8 12,8C11.448,8 11,8.448 11,9V11H9C8.448,11 8,11.448 8,12C8,12.552 8.448,13 9,13H11V15C11,15.552 11.448,16 12,16C12.552,16 13,15.552 13,15V13H15C15.552,13 16,12.552 16,12C16,11.448 15.552,11 15,11H13V9ZM7.25,2.388C8.549,2.099 10.124,2 12,2C13.876,2 15.451,2.099 16.75,2.388C18.06,2.679 19.149,3.176 19.986,4.014C20.824,4.851 21.321,5.94 21.612,7.25C21.901,8.549 22,10.124 22,12C22,13.876 21.901,15.451 21.612,16.75C21.321,18.06 20.824,19.149 19.986,19.986C19.149,20.824 18.06,21.321 16.75,21.612C15.451,21.901 13.876,22 12,22C10.124,22 8.549,21.901 7.25,21.612C5.94,21.321 4.851,20.824 4.014,19.986C3.176,19.149 2.679,18.06 2.388,16.75C2.099,15.451 2,13.876 2,12C2,10.124 2.099,8.549 2.388,7.25C2.679,5.94 3.176,4.851 4.014,4.014C4.851,3.176 5.94,2.679 7.25,2.388Z" | ||
android:fillColor="#ffffff" | ||
android:fillType="evenOdd"/> | ||
</vector> |
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<vector android:height="24dp" android:viewportHeight="1920" | ||
android:viewportWidth="1920" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<path android:fillColor="#FFFFFF" android:fillType="evenOdd" android:pathData="m1920,1766.7 l-368.1,-368.2c114.3,-146.8 183,-330.8 183,-531C1734.9,389.2 1345.7,0 867.5,0 389.2,0 0,389.2 0,867.5c0,478.3 389.2,867.5 867.5,867.5 200.2,0 384.1,-68.9 531,-183L1766.7,1920 1920,1766.7ZM867.5,1518c-358.8,0 -650.6,-291.8 -650.6,-650.6s291.8,-650.6 650.6,-650.6 650.6,291.8 650.6,650.6 -291.8,650.6 -650.6,650.6ZM975.9,487.9H759v271.1h-271.1v216.9h271.1v271.1h216.9v-271.1h271.1V759h-271.1v-271.1Z"/> | ||
</vector> |
Oops, something went wrong.