Add expand indicator to incognito icon (#224)

This commit is contained in:
BlackyHawky 2023-10-19 13:11:31 +02:00 committed by GitHub
parent e62c40d4ae
commit 515db3edc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 42 additions and 3 deletions

View file

@ -634,7 +634,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
mSuggestionsStrip.setVisibility(GONE);
mPinnedKeys.setVisibility(GONE);
}
mOtherKey.setScaleX(mOtherKey.getDrawable() == mIncognitoIcon || mToolbarContainer.getVisibility() != VISIBLE ? 1f : -1f);
mOtherKey.setScaleX(mToolbarContainer.getVisibility() != VISIBLE ? 1f : -1f);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,022 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -0,0 +1,21 @@
<!--
SPDX-License-Identifier: Apache-2.0
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="32dp"
android:width="32dp"
android:viewportHeight="1350"
android:viewportWidth="1350">
<path
android:fillColor="#FFF"
android:pathData="M756.5,112.7c-1.6,0.2 -20.9,6.3 -42.8,13.5l-39.7,13.1 -23.8,-7.7c-13,-4.3 -24.8,-8.2 -26.2,-8.8 -4.1,-1.6 -20.1,-6.8 -25.8,-8.4 -12.5,-3.3 -26.3,-0.4 -34.7,7.3 -6.8,6.3 -8.9,10.3 -17,32.3 -0.7,1.9 -2.7,7.1 -4.5,11.5 -1.8,4.4 -3.8,9.6 -4.5,11.5 -0.7,1.9 -2,5.4 -2.9,7.7 -0.9,2.4 -2.2,6 -3,8 -0.8,2.1 -2.8,7.4 -4.6,11.8 -3.2,8.1 -5.2,13.1 -7.5,19.5 -1.5,4 -2.5,6.8 -9,23.5 -2.5,6.6 -5.3,13.8 -6.2,16 -0.8,2.2 -2.1,5.7 -2.9,7.7 -2.4,6.6 -4.6,12.2 -5.9,15.3 -0.7,1.6 -2,4.9 -2.9,7.2 -0.9,2.4 -2.3,6.2 -3.2,8.5 -0.9,2.4 -2.2,5.9 -2.9,7.8 -1.9,5.2 -4.6,12.1 -6,15.5 -0.7,1.6 -2.1,5 -3,7.5 -0.9,2.5 -2.3,6 -3.1,7.8 -0.8,1.8 -1.4,4.4 -1.4,5.7l0,2.5 201,-0 201,-0 0,-2.5c0,-1.3 -0.6,-3.9 -1.4,-5.7 -1.8,-4.1 -7.3,-18 -9.3,-23.3 -0.8,-2.2 -2.1,-5.6 -2.8,-7.5 -0.8,-1.9 -3.5,-8.9 -6,-15.5 -2.6,-6.6 -5.2,-13.6 -6,-15.5 -3.3,-8.9 -4.5,-12 -7.5,-19.5 -1.8,-4.4 -3.8,-9.6 -4.5,-11.5 -0.7,-1.9 -2,-5.3 -2.8,-7.5 -0.9,-2.2 -3.7,-9.4 -6.2,-16 -2.6,-6.6 -5.3,-13.6 -6,-15.5 -0.7,-1.9 -3.4,-8.9 -6,-15.5 -2.5,-6.6 -5.3,-13.7 -6.1,-15.8 -0.8,-2 -2,-5.4 -2.8,-7.5 -0.8,-2 -3.5,-8.9 -6,-15.2 -2.5,-6.4 -4.6,-11.9 -4.6,-12.3 0,-1.7 -6.2,-13.1 -9,-16.7 -6.8,-8.6 -20.8,-14.5 -31.5,-13.3z"/>
<path
android:fillColor="#FFF"
android:pathData="M336.9,400.7c0,0.5 -0.2,11.1 -0.2,23.8 -0.2,20.6 0,23.2 1.5,24.7 1.7,1.7 19.9,1.8 335.6,1.8 280.5,-0 334.1,-0.2 335.7,-1.4 1.7,-1.2 1.9,-3.1 2,-24.2 0.1,-12.6 -0.1,-23.5 -0.3,-24.2 -0.3,-0.9 -68.7,-1.2 -337.3,-1.2 -185.3,-0 -336.9,0.3 -337,0.7z"/>
<path
android:fillColor="#FFF"
android:pathData="M481,485.8c-55.7,11 -96.2,50.9 -108.2,106.6 -2.8,13.2 -2.8,40.4 0.1,53.1 3.8,16.9 4.8,19.6 11.4,33.4 18.6,38.4 54.3,65.4 96.7,73.2 9.6,1.8 34.3,1.8 44,-0 34.2,-6.1 62.3,-23.7 84.1,-52.6 2.5,-3.3 4.9,-6.7 5.2,-7.5 0.4,-0.8 1.6,-2.9 2.7,-4.5 1.1,-1.7 2.5,-4.1 3,-5.5 0.6,-1.3 2.1,-4.5 3.4,-7 3.3,-6.6 8.1,-22.9 10.3,-35l1.9,-10.5 5.2,-3.1c10.1,-6.1 17.2,-7.9 32.2,-7.9 10.7,-0 14.6,0.4 19,1.9 8.4,2.9 20,8.9 20.4,10.6 0.3,0.8 1.2,5.5 2.2,10.5 10.9,58 52.6,100.5 108.4,110.6 9.6,1.8 34.3,1.8 44,-0 42,-7.5 78.2,-34.9 96.7,-73.2 6.6,-13.8 7.6,-16.5 11.4,-33.4 2.9,-12.7 2.9,-39.9 0.1,-53.1 -9.9,-46 -38.9,-81.1 -81.5,-98.8 -26.3,-10.9 -56.1,-12.6 -83.7,-4.9 -22.4,6.2 -47.7,21.9 -61.5,37.9 -15.2,17.6 -23.1,31.3 -29.5,50.6 -1.7,5.4 -3.5,10 -4,10.3 -0.4,0.3 -2.5,-0.2 -4.5,-1.1 -2.1,-0.8 -8.2,-2.6 -13.6,-4 -8,-2 -12.3,-2.4 -23.6,-2.4 -7.6,-0 -15.6,0.5 -17.8,1 -2.2,0.6 -5.8,1.4 -8,1.9 -2.2,0.5 -6.4,1.8 -9.2,2.9 -3.1,1.2 -5.5,1.6 -5.9,1.1 -0.3,-0.5 -1.9,-5.1 -3.5,-10.1 -12.8,-39.3 -42.3,-70.2 -81.4,-85.1 -19.1,-7.2 -47.3,-9.7 -66.5,-5.9zM524.5,525c18.1,4.4 33.7,13.3 46.6,26.7 6.4,6.5 13.6,16.8 16.9,24 1.2,2.6 2.6,5.7 3.1,6.8 3.5,7.7 6.9,25.4 6.9,36 0,9.2 -2.3,23.5 -5,31 -1.2,3.3 -2.4,6.9 -2.7,8 -0.4,1.1 -1.9,4.2 -3.5,6.8 -1.5,2.6 -2.8,5 -2.8,5.3 0,1 -9.2,12.8 -13.4,17.2 -7.8,8.3 -19.8,16.5 -31.4,21.5 -19.9,8.5 -47.4,9.2 -67.7,1.6 -23.8,-8.9 -43.1,-26.6 -53.6,-48.9 -22.8,-48.6 -2.2,-107.1 45.6,-129.4 14.2,-6.7 22.1,-8.4 38.9,-8.5 10.6,-0.1 15.7,0.4 22.1,1.9zM864.8,524.6c22.5,5.5 42.5,18.4 55.2,35.5 5.8,7.8 15,25.2 15,28.4 0,0.9 0.5,2.5 1.1,3.6 1.4,2.8 3.9,20 3.9,27.3 -0.1,19.4 -7.6,42 -19.3,57.5 -13.6,18.2 -31.5,30 -54.5,36 -10.9,2.8 -31.3,2.9 -42.2,0.2 -23.2,-5.7 -40.6,-17.3 -55.3,-36.8 -2.6,-3.4 -4.7,-6.4 -4.7,-6.7 0,-0.3 -1.3,-2.7 -2.8,-5.3 -1.6,-2.6 -3.1,-5.7 -3.5,-6.8 -0.3,-1.1 -1.5,-4.7 -2.7,-8 -2.7,-7.5 -5,-21.8 -5,-31 0,-10.6 3.4,-28.3 6.9,-36 0.5,-1.1 1.9,-4.2 3.1,-6.8 3.2,-6.9 10.5,-17.4 16.4,-23.5 12.9,-13.5 28.6,-22.6 46.6,-27.2 10,-2.5 32.3,-2.7 41.8,-0.4z"/>
<path
android:fillColor="#FFF"
android:pathData="M581.8,828.9c-8.7,8.7 -15.8,16.2 -15.8,16.7 0,0.5 33.5,34.5 74.5,75.4 41,41 74.5,74.9 74.5,75.5 0,0.5 -33.5,34.5 -74.5,75.5 -41,41 -74.5,75 -74.5,75.5 0,1.9 31.5,32.5 33.4,32.5 2.5,-0 183.9,-181.4 183.4,-183.5 -0.5,-2.4 -181.8,-183.5 -183.7,-183.5 -0.9,0.1 -8.7,7.2 -17.3,15.9z"/>
</vector>

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,7 @@
<item name="iconSearchKey">@drawable/sym_keyboard_search_holo_dark</item>
<item name="iconTabKey">@drawable/sym_keyboard_tab_holo_dark</item>
<item name="iconShortcutKey">@drawable/sym_keyboard_voice_holo_dark</item>
<item name="iconIncognitoKey">@drawable/sym_keyboard_incognito_dark</item>
<item name="iconIncognitoKey">@drawable/sym_keyboard_incognito_holo</item>
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space_holo_dark</item>
<item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked_holo_dark</item>
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo_dark</item>

View file

@ -36,7 +36,7 @@
<item name="iconPreviousKey">@drawable/ic_arrow_left</item>
<item name="iconShortcutKey">@drawable/sym_keyboard_voice_lxx</item>
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_lxx</item>
<item name="iconIncognitoKey">@drawable/sym_keyboard_incognito_lxx_light</item>
<item name="iconIncognitoKey">@drawable/sym_keyboard_incognito_lxx</item>
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space_lxx_light</item>
<item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch_lxx</item>
<item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_lxx_light</item>