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

ConstraintLayout 中子 控件 宽度为 0 , 2个 TextView 相互约束。 设置 BadgeView 导致控件显示错位 #105

Open
loubingzhuxue opened this issue Nov 4, 2020 · 0 comments

Comments

@loubingzhuxue
Copy link

  1. 设置 setBadgeGravity 中有 Gravity.CENTER ,不能 设置 setGravityOffset X 偏移 无效。
  2. 重复设置背景 会 变色
  3. ConstraintLayout 中子 控件 宽度为 0 , 2个 TextView 相互约束。 设置 BadgeView 导致控件显示错位
    例:
    <androidx.constraintlayout.widget.ConstraintLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">



    </androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant