CopyPastor

Detecting plagiarism made easy.

Score: 1.7368226647377014; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2017-02-27
by Jitesh Dalsaniya

Original Post

Original - Posted on 2014-07-02
by yannickpulver



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Use Following code.
<?xml version="1.0" encoding="utf-8"?> <ripple android:color="@color/COLOR_WHILE_PRESSING" xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/round_corner"></item> </ripple>

round_corner.xml

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/BACKGROUND_COLOR" /> <corners android:radius="6dp" /> </shape>
Try that one:
ripple.xml
<?xml version="1.0" encoding="utf-8"?> <ripple android:color="@color/COLOR_WHILE_PRESSING" xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/background"></item> </ripple>

background.xml
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/BACKGROUND_COLOR" /> <corners android:radius="6dp" /> </shape>

Or maybe this post will help you: https://stackoverflow.com/questions/24480425/android-l-fab-button-shadow/24498041#24498041
I explained there, how to implement the new FAB button, I also used the outline for that.

        
Present in both answers; Present only in the new answer; Present only in the old answer;