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 下面嵌套不显示 #367

Open
Jiang00 opened this issue Feb 23, 2020 · 4 comments
Open

ConstraintLayout 下面嵌套不显示 #367

Jiang00 opened this issue Feb 23, 2020 · 4 comments

Comments

@Jiang00
Copy link

Jiang00 commented Feb 23, 2020

<com.music1.music.jiemian.uiview.banner.ConvenientBanner
android:id="@+id/find_banner"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="@dimen/dp_8"
app:layout_constraintDimensionRatio="360:112"
app:layout_constraintTop_toTopOf="parent" />

哈喽,我在onCreate里面设置banner数据不显示, app:layout_constraintDimensionRatio="360:112"这个去掉就好了

@wp549741214
Copy link

那你怎么实现比例的 老哥

@sjqnice
Copy link

sjqnice commented Mar 28, 2023

我也遇到了同样问题

@440791217
Copy link

440791217 commented Mar 28, 2023 via email

@Chu-Dream
Copy link

Chu-Dream commented Mar 28, 2023 via email

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

5 participants