CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2016-10-26
by nzala

Original Post

Original - Posted on 2016-10-26
by Jitesh Mohite



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

Final Check out
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.juliandrach.eatfit.MainActivity">
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:weightSum="3" android:orientation="horizontal" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@mipmap/ic_launcher" android:layout_weight="0" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Ernährungspläne" android:textAllCaps="true" android:textSize="21sp" android:layout_marginTop="15dp" android:layout_marginLeft="15dp" android:textColor="@android:color/black" android:layout_weight="1" android:id="@+id/textView" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Shop" android:textAllCaps="true" android:textSize="21sp" android:layout_marginTop="15dp" android:layout_marginLeft="15dp" android:textColor="@android:color/black" android:layout_weight="1" android:id="@+id/textView1" />
</LinearLayout> </RelativeLayout> shifted left
you have to use wightsum as 3
each inner view as LayoutWidth as 1 will work for you

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:weightSum="3" android:orientation="horizontal" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> <ImageView android:layout_width="0dp" android:layout_height="wrap_content" android:background="@mipmap/ic_launcher" android:layout_weight="1" android:layout_margin="10dp" /> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:text="abc" android:textAllCaps="true" android:textSize="21sp" android:layout_marginTop="15dp" android:textColor="@android:color/black" android:layout_weight="1" android:id="@+id/textView" /> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:text="abc" android:textAllCaps="true" android:textSize="21sp" android:layout_marginTop="15dp" android:textColor="@android:color/black" android:layout_weight="1" android:id="@+id/textView1" /> </LinearLayout> </RelativeLayout>
please let me know if it not work for you.

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