Merge "Adds back inset scale value to main config.xml" into rvc-dev

This commit is contained in:
Mehdi Alizadeh
2020-05-19 03:31:52 +00:00
committed by Android (Google) Code Review
2 changed files with 12 additions and 0 deletions

View File

@@ -3329,6 +3329,17 @@
<!-- Controls the size of the back gesture inset. -->
<dimen name="config_backGestureInset">0dp</dimen>
<!-- Array of values used in Gesture Navigation settings page to reduce/increase the back
gesture's inset size. These values will be multiplied into the default width, read from the
gesture navigation overlay package, in order to create 4 different sizes which are selectable
via a slider component. -->
<array name="config_backGestureInsetScales">
<item>0.75</item>
<item>1.00</item>
<item>1.33</item>
<item>1.66</item>
</array>
<!-- Controls whether the navbar needs a scrim with
{@link Window#setEnsuringNavigationBarContrastWhenTransparent}. -->
<bool name="config_navBarNeedsScrim">true</bool>

View File

@@ -2818,6 +2818,7 @@
<java-symbol type="bool" name="config_navBarNeedsScrim" />
<java-symbol type="bool" name="config_allowSeamlessRotationDespiteNavBarMoving" />
<java-symbol type="dimen" name="config_backGestureInset" />
<java-symbol type="array" name="config_backGestureInsetScales" />
<java-symbol type="color" name="system_bar_background_semi_transparent" />
<java-symbol type="bool" name="config_showGesturalNavigationHints" />