commit | 60ab231265a5a1f9541e3cf610af85abfb0cd19e | [log] [tgz] |
---|---|---|
author | Catherine Liang <cathliang@google.com> | Thu Jun 27 20:07:02 2024 +0000 |
committer | Catherine Liang <cathliang@google.com> | Thu Jun 27 20:07:02 2024 +0000 |
tree | 86dd0d7bc82b44b4885911e65d3ad2fa0f94f5d9 | |
parent | 2bb690adbe70618cd61710e69151d5e21f86ef5f [diff] |
Fix color picker preview cropped in RTL (2/2) The issue is related to how linear layout resolves layout directions. In OnMeasure, layout direction has been resolved and therefore adding start and end margins creates unexpected results. Add margins in xml directly to resolve. Flag: EXEMPT bug fix Bug: 345608553 Test: manually verified with RTL and LTR Change-Id: I26fc403d2bb26ff35514f217954abf72531d4700