diff options
author | yueg <yueg@google.com> | 2018-02-06 17:32:47 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-06 17:34:48 -0800 |
commit | 4b9f28f9f3cc5b580ddb021ebeeb824ca97080ba (patch) | |
tree | 6429f0f1c11134a6b7accc2eb847b60c85d95025 /assets | |
parent | c1fb21775fbaa33785d4e9abb46d34dce7e7b5f3 (diff) |
Bubble layout change.
- Flip back-to-call button icon.
- Use different button height for portrait and landscape. In order to make it work, we also create new ViewHolder object when bubble shows and remove reset() when bubble hides.
Bug: 67605985
Test: NewBubbleImplIntegrationTest, NewBubbleImplTest, NewReturnToCallControllerTest
PiperOrigin-RevId: 184768224
Change-Id: If4e613b12e39c647c34f4cb63a7f934043d42ec7
Diffstat (limited to 'assets')
-rw-r--r-- | assets/quantum/res/drawable/quantum_ic_exit_to_app_flip_vd_theme_24.xml (renamed from assets/quantum/res/drawable/quantum_ic_exit_to_app_vd_theme_24.xml) | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/assets/quantum/res/drawable/quantum_ic_exit_to_app_vd_theme_24.xml b/assets/quantum/res/drawable/quantum_ic_exit_to_app_flip_vd_theme_24.xml index 5279f0483..3dfbf2b0e 100644 --- a/assets/quantum/res/drawable/quantum_ic_exit_to_app_vd_theme_24.xml +++ b/assets/quantum/res/drawable/quantum_ic_exit_to_app_flip_vd_theme_24.xml @@ -19,7 +19,11 @@ android:viewportWidth="24.0" android:viewportHeight="24.0" android:tint="?attr/colorControlNormal"> - <path - android:fillColor="@android:color/white" - android:pathData="M10.09,15.59L11.5,17l5,-5 -5,-5 -1.41,1.41L12.67,11H3v2h9.67l-2.58,2.59zM19,3H5c-1.11,0 -2,0.9 -2,2v4h2V5h14v14H5v-4H3v4c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2z"/> + <group + android:pivotX="12" + android:scaleX="-1"> + <path + android:fillColor="@android:color/white" + android:pathData="M10.09,15.59L11.5,17l5,-5 -5,-5 -1.41,1.41L12.67,11H3v2h9.67l-2.58,2.59zM19,3H5c-1.11,0 -2,0.9 -2,2v4h2V5h14v14H5v-4H3v4c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2z"/> + </group> </vector>
\ No newline at end of file |