Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置的渐变方向无效 #49

Closed
979881765 opened this issue Sep 29, 2022 · 5 comments
Closed

设置的渐变方向无效 #49

979881765 opened this issue Sep 29, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@979881765
Copy link

979881765 commented Sep 29, 2022

【警告:请务必按照 issue 模板填写,不要抱有侥幸心理,一旦发现 issue 没有按照模板认真填写,一律直接关闭】

问题描述

  • 框架版本【必填】:8.5

  • 问题描述【必填】:设置为垂直渐变,但显示出来始终是水平方向的渐变

                      <com.hjq.shape.layout.ShapeRelativeLayout
                          android:layout_width="match_parent"
                          android:layout_height="@dimen/dp_250"
                          app:shape_textGradientOrientation="vertical"
                          app:shape_endColor="@color/white"
                          app:shape_startColor="@color/fill_2_color"
                          />
    

请回答

  • 是部分机型还是所有机型都会出现【必答】:只测试了华为Mata 40

  • 框架最新的版本是否存在这个问题【必答】:最新

  • 是否已经查阅框架文档还未能解决的【必答】:是

  • issue 是否有人曾提过类似的问题【必答】:是/否(看看曾经有人提过类似的问题,先参考一下别人是怎么解决的)

  • 是否可以通过 Demo 来复现该问题【必答】:是/否(排查一下是不是自己的项目代码写得有问题导致的)

  • 使用原生的 shape.xml 来实现是否也会出现该问题【必答】:是/否(排查一下是不是框架的代码存在问题导致的)

其他

  • 提供报错堆栈(如果有报错的话必填,注意不要拿被混淆过的代码堆栈上来)

  • 提供截图或视频(根据需要提供,此项不强制)

  • 提供解决方案(如果已经解决了的话,此项不强制)

@979881765 979881765 added the bug Something isn't working label Sep 29, 2022
@getActivity
Copy link
Owner

image

@getActivity
Copy link
Owner

image

@getActivity
Copy link
Owner

image

@getActivity
Copy link
Owner

小伙子,你确定有在认真看文档?

@979881765
Copy link
Author

打扰, 关闭掉吧。找到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants