CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Reposted on 2023-09-16
by Mukendii Ldn

Original Post

Original - Posted on 2023-09-16
by Mukendii Ldn



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

The easiest way that worked for me was using relative layout inside my cardView and then using the "android:layout_centerHorizontal="true". This works perfectly when the width and height of the of the relative layout are match parent (Parent being the cardView).
The easiest way that worked for me was using relative layout inside my cardView and then using the android:layout_centerInParent="true". This works perfectly when the width and height of the of the relative layout are match parent (Parent being the cardView).

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