CopyPastor

Detecting plagiarism made easy.

Score: 0.8023630976676941; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-02-15
by Javad Jafari

Original Post

Original - Posted on 2017-01-05
by Taras Vovkovych



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

you can add your ImageView in a CardView with attribute cardElevation=0




<android.support.v7.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/thumbnail_card" card_view:cardCornerRadius="15dp" card_view:cardElevation="0dp" android:layout_margin="10dp"> <ImageView android:id="@+id/thumbnail" android:layout_width="110dp" android:layout_height="75dp" android:scaleType="centerCrop" /> </android.support.v7.widget.CardView>
Another easy way is to use a CardView with the corner radius and an ImageView inside:
<android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="match_parent" app:cardCornerRadius="8dp" android:layout_margin="5dp" android:elevation="10dp">
<ImageView android:id="@+id/roundedImageView" android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/image" android:background="@color/white" android:scaleType="centerCrop" /> </android.support.v7.widget.CardView>
[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/g1hbB.jpg

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