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

view setting theme invalid #308

Open
yanhaoSeven opened this issue Feb 1, 2024 · 0 comments
Open

view setting theme invalid #308

yanhaoSeven opened this issue Feb 1, 2024 · 0 comments

Comments

@yanhaoSeven
Copy link

yanhaoSeven commented Feb 1, 2024

help:
`
implementation("com.louiscad.splitties:splitties-views-dsl:3.0.0")
implementation("com.louiscad.splitties:splitties-views-dsl-coordinatorlayout:3.0.0")
implementation("com.louiscad.splitties:splitties-views-dsl-material:3.0.0")

<style name="ThemeOverlay.MyTheme.AppBarLayout.NoElevated"> < item name="android:background">@color/transparent< /item> < item name="android:stateListAnimator">@null< /item> < item name="android:elevation">0dp< /item> </style>

val appBarLayout = appBarLayout(R.id.appbar_layout_main_host_fragment, theme = R.style.ThemeOverlay_MyTheme_AppBarLayout_NoElevated) {
add(collapsingToolbarLayout, defaultLParams(
matchParent,
wrapContent,
SCROLL_FLAG_SCROLL or SCROLL_FLAG_ENTER_ALWAYS))
}`

now:appBarLayout setting theme invalid

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