Visual changes to PIP drag to dismiss UI
Updated gradient asset, spacing, and added shadow to text Test: Manual: have a PIP, move it around, observe drag to dismiss UI Bug: 35358628 Change-Id: I8614468edfc14d0337d69184a7bbab5419f22ec3
|
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 525 B |
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 436 B |
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 633 B |
|
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 647 B |
@@ -27,6 +27,10 @@
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:text="@string/pip_phone_dismiss_hint"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="14sp" />
|
||||
android:textSize="14sp"
|
||||
android:shadowColor="@android:color/black"
|
||||
android:shadowDx="-2"
|
||||
android:shadowDy="2"
|
||||
android:shadowRadius="0.01" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -738,7 +738,7 @@
|
||||
<dimen name="pip_dismiss_gradient_height">196dp</dimen>
|
||||
|
||||
<!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. -->
|
||||
<dimen name="pip_dismiss_text_bottom_margin">36dp</dimen>
|
||||
<dimen name="pip_dismiss_text_bottom_margin">24dp</dimen>
|
||||
|
||||
<!-- The shortest-edge size of the expanded PiP. -->
|
||||
<dimen name="pip_expanded_shortest_edge_size">160dp</dimen>
|
||||
|
||||