CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2019-05-20
by ORBIT

Original Post

Original - Posted on 2015-07-07
by natario



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

its happening due to `layout_anchor` attribute
CoordinatorLayout.LayoutParams layout= (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); layout.setAnchorId(View.NO_ID); fab.setLayoutParams(p); fab.setVisibility(View.GONE);
It is due to the `app:layout_anchor` attribute. You must get rid of the anchor before changing visibility:
CoordinatorLayout.LayoutParams p = (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); p.setAnchorId(View.NO_ID); fab.setLayoutParams(p); fab.setVisibility(View.GONE);

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