Skip to content

Add RoundedSlidingUpPanel to Support Top Radius And Switch Gradle Version to 8.13 Which Make New Project Easy to Build#1003

Open
NanYuanZhiGe wants to merge 1 commit intoumano:masterfrom
NanYuanZhiGe:master
Open

Add RoundedSlidingUpPanel to Support Top Radius And Switch Gradle Version to 8.13 Which Make New Project Easy to Build#1003
NanYuanZhiGe wants to merge 1 commit intoumano:masterfrom
NanYuanZhiGe:master

Conversation

@NanYuanZhiGe
Copy link

What I've Done

Swich Gradle Version to 8.13

Original project's gradle version is too old, I can't run this project on my Android Studio(2025).
So I rewrote gradle files, to support morden project workflow.

Add RoundedSlidingUpPanel

I swich a member called mIsSlidingUp's accessibility from private to protected in SlidingUpPanelLayout, which allow me to write a class extend it.

And the new class RoundedSlidingUpPanelLayout supports top radius, you can switch SlidingUpPanel to RoundedSlidingUpPanel in your xml file, and do so:

<com.sothree.slidinguppanel.SlidingUpPanelLayout>
<!-- Main Content Layout-->

<Some Layout
<!-- This attribute affects the view shadow -->
android:elevation="14dp"
<!-- You can add radius in the drawable -->
android:background="@drawable/radius"
>

</Some Layout>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>

Visual Comparision

There are the comparision:

using RoundedSlidingUpPanel

using the Original one

… add RoundedSlidingPanel to make SlidingPanel supports top radius
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

Successfully merging this pull request may close these issues.

1 participant