CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2018-12-17
by Nilesh Rathod

Original Post

Original - Posted on 2012-05-31
by Dipak Keshariya



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

Try this way
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/coordinatorlayout" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <CheckBox android:id="@+id/checkBox" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" /> <EditText android:id="@+id/editText" android:layout_width="match_parent" android:layout_height="43dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:layout_marginEnd="8dp" android:layout_marginBottom="8dp" android:drawableEnd="@drawable/ic_fav" android:ems="10" android:inputType="textPersonName" android:text="Name" /> </LinearLayout>
Use Following Code for that
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="35dp" android:orientation="horizontal" > <TextView android:id="@+id/lblExpenseCancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_marginTop="9dp" android:text="@string/cancel" android:textColor="#404040" android:textSize="20sp" /> <Button android:id="@+id/btnAddExpense" android:layout_width="wrap_content" android:layout_height="45dp" android:layout_alignParentRight="true" android:layout_marginLeft="10dp" android:layout_marginRight="15dp" android:background="@drawable/stitch_button" android:text="@string/add" /> </RelativeLayout>

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