How can I work around Android issue 9161, where bottomRightRadius and bottomLeftRadius are swapped?

前端 未结 5 1973
南方客
南方客 2020-12-05 14:35

My goal:

\"Figure
Figure 1: The Goal

So, before I knew about the issue, her

5条回答
  •  臣服心动
    2020-12-05 15:16

    Another solution is to create another folder called "drawable-v12".

    In here put the correct radius (so bottomLeftRadius, topLeftRadius), and in the original drawable folder put in the swapped values. Then 3.1+ will use the v12 folder, and pre 3.1 versions will use the drawable folder.

提交回复
热议问题