CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2015-01-21
by Narendra

Original Post

Original - Posted on 2015-01-21
by Jordi Sipkens



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

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="25dp" android:layout_marginBottom="35dp" android:background="@drawable/acl_data_info_bg_round" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingLeft="7.0dip" android:paddingRight="7.0dip" android:paddingTop="7.0dip" android:text="Free internet Consumed: 0.5 MB" android:textColor="#6d7780" android:textSize="18.0dip" android:visibility="invisible"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingLeft="7.0dip" android:paddingRight="7.0dip" android:paddingTop="7.0dip" android:text="Free internet Consumed: 0.5 MB" android:textColor="#6d7780" android:textSize="18.0dip" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingLeft="7.0dip" android:paddingTop="7.0dip" android:text="Free internet Limit: 10 MB" android:textColor="#6d7780" android:textSize="18.0dip" /> <Button android:id="@+id/button_hide_alertDialog" android:layout_width="60.0dip" android:layout_height="35.0dip" android:layout_gravity="center_horizontal" android:layout_marginTop="35.0dip" android:text="OK" android:textSize="15.0dip" android:textStyle="bold" /> <Button android:id="@+id/textview_powered_by" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_gravity="center_horizontal" android:layout_marginTop="25.0dip" android:background="@android:color/transparent" android:drawablePadding="5.0dip" android:drawableRight="@drawable/freeg_logo_acl_data_info" android:text="Powered by" android:textColor="#6d7780" android:textSize="10.0dip" /> </LinearLayout> <ImageView android:id="@+id/close_dialog" android:layout_width="80dp" android:layout_height="80dp" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:layout_gravity="top|right" android:adjustViewBounds="true" android:background="@drawable/icon" android:description="@null" android:scaleType="fitStart" /> </RelativeLayout>
try this it work ![enter image description here][1]

[1]: http://i.stack.imgur.com/xs6uM.png
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/transparent" android:orientation="vertical">
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/transparent" android:orientation="vertical">
<ImageView android:id="@+id/close_dialog" android:layout_width="50dp" android:layout_height="50dp" android:layout_gravity="top|right" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:adjustViewBounds="true" android:background="@android:color/white" android:description="@null" android:scaleType="fitStart" /> </LinearLayout>
<LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="@android:color/white">
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingLeft="7.0dip" android:paddingRight="7.0dip" android:paddingTop="7.0dip" android:text="Free internet Consumed: 0.5 MB" android:textColor="#6d7780" android:textSize="18.0dip" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingLeft="7.0dip" android:paddingTop="7.0dip" android:text="Free internet Limit: 10 MB" android:textColor="#6d7780" android:textSize="18.0dip" />
<Button android:id="@+id/button_hide_alertDialog" android:layout_width="60.0dip" android:layout_height="35.0dip" android:layout_gravity="center_horizontal" android:layout_marginTop="35.0dip" android:text="OK" android:textSize="15.0dip" android:textStyle="bold" />
<Button android:id="@+id/textview_powered_by" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_gravity="center_horizontal" android:layout_marginTop="25.0dip" android:background="@android:color/transparent" android:drawablePadding="5.0dip" android:text="Powered by" android:textColor="#6d7780" android:textSize="10.0dip" />
</LinearLayout> </LinearLayout>
Just add this LinearLayout around your ImageView. So don't delete anything, just add the LinearLayout.
EDIT :
Make sure your top Layout also has background="#android:color/transparent". Then use another LinearLayout with a background for the rest of the content.

This should do the trick. Replace the backgrounds etc with your own @drawables. But I tested it with a white background, and it is the desired output.
Picture of my output :
![enter image description here][1]

[1]: http://i.stack.imgur.com/TuK8s.png

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