CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2017-12-14
by Shohan Ahmed Sijan

Original Post

Original - Posted on 2017-12-14
by Umair



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

Change linearLayout1 orientation vertical to horizontal and add some margin among them:
<GridLayout android:orientation="horizontal" android:rowCount="4" android:columnCount="3" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/gridLayoutSuburb"> <LinearLayout android:orientation="horizontal" android:id="@+id/linearLayout1" android:layout_row="0" android:layout_column="0" android:layout_width="0dp" android:layout_columnSpan="1" android:layout_columnWeight="1" android:background="@color/blue"> <EditText android:layout_width="wrap_content" android:layout_height="match_parent" android:background="@drawable/edittext" android:id="@+id/select" android:textColor="@color/white" android:textSize="@dimen/_16sdp" android:textColorHint="@color/white" android:editable="false" android:focusable="false" android:focusableInTouchMode="false" android:hint="Select " android:paddingLeft="@dimen/_5sdp" android:layout_weight="1" android:singleLine="true" /> <ImageView android:layout_width="20dp" android:layout_height="20dp" android:layout_marginLeft="20dp" android:layout_alignParentRight="true" android:layout_centerInParent="true" android:id="@+id/selectImage" android:src="@drawable/ic_menu_back" /> </LinearLayout> </GridLayout>
User `android:orientation="horizontal"` and give android:width="0dp" so that the text remains in one line and doesn't increase it's width.
<GridLayout android:orientation="horizontal" android:rowCount="4" android:columnCount="3" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/gridLayoutSuburb"> <LinearLayout android:orientation="vertical" android:id="@+id/linearLayout1" android:layout_row="0" android:layout_column="0" android:layout_width="0dp" android:layout_columnSpan="1" android:layout_columnWeight="1" android:background="@color/blue"> <EditText android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" android:background="@drawable/edittext" android:id="@+id/select" android:textColor="@color/white" android:textSize="@dimen/_16sdp" android:textColorHint="@color/white" android:editable="false" android:focusable="false" android:focusableInTouchMode="false" android:hint="Select " android:paddingLeft="@dimen/_5sdp" android:layout_weight="1" android:singleLine="true" /> <ImageView android:layout_width="20dp" android:layout_height="match_parent" android:layout_weight="0.5" android:layout_alignParentRight="true" android:layout_centerInParent="true" android:id="@+id/selectImage" android:src="@drawable/ic_menu_back" /> </LinearLayout> </GridLayout>

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