Android的定制stackviewAndroid、stackview

2023-09-06 03:59:20 作者:o?n?l?y?_____阴霾、

我米试图自定义StackView小部件看起来有点不同。

I"m trying to customize the StackView widget to look a little bit different.

在stackview默认顺序和看法是这样的:

The stackview default order and view is this :

和我米试图让更多的东西是这样的:

And i"m trying to get to something more like this :

任何帮助将AP preciated

Any help will be appreciated

十米台

推荐答案

尝试检查出的源$ C ​​$ C StackView 。

try checking out the source code of StackView .

作为第一步,可以用所谓的PERSPECTIVE_SHIFT_FACTOR_X和PERSPECTIVE_SHIFT_FACTOR_Y参数玩。

as a first step , you can play with the parameter called "PERSPECTIVE_SHIFT_FACTOR_X" and "PERSPECTIVE_SHIFT_FACTOR_Y" .