SlidingRootNav icon indicating copy to clipboard operation
SlidingRootNav copied to clipboard

Show activity edges rounded corner while drawer open

Open sagarchavda opened this issue 7 years ago • 9 comments

How can I archive to display rounded corner activity while drawer open? I tried with Root View background set with rounded corner drawable but it's not working!

sagarchavda avatar Feb 13 '19 06:02 sagarchavda

Did you find a way to do that? @sam4444

Moseqi avatar Apr 27 '19 12:04 Moseqi

@Moseqi @sam4444 Has either of you found solution to do that?

monikjain123 avatar Jul 18 '20 17:07 monikjain123

someone found any solution? i need corner and shadow.

cristiandaulisio avatar Oct 12 '20 13:10 cristiandaulisio

did you find a solution?

jenyasubbotina avatar Feb 11 '21 16:02 jenyasubbotina

we are waiting for solution?

Jalalnx avatar Feb 14 '21 19:02 Jalalnx

@yarolegovich

behbudovusal avatar Jul 26 '21 12:07 behbudovusal

still waiting

Jalalnx avatar Jul 30 '21 15:07 Jalalnx

try wraping with CardView, and set cardCornerRadius as you want

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#00000000"
    app:cardCornerRadius="25dp"
    app:cardElevation="0dp">

    <include
        layout="@layout/main_content"/>

</androidx.cardview.widget.CardView>

FaaaDev avatar Apr 07 '22 10:04 FaaaDev

hello, I don’t quite understand, can I have an example project please?

thunderstorms-plus avatar Aug 26 '23 21:08 thunderstorms-plus