CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2014-06-18
by Ramkailash

Original Post

Original - Posted on 2014-01-10
by Gopal Gopi



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

mDrawerLayout = (DrawerLayout) view.findViewById(R.id.drawer_layout); mDrawerList = (ListView) view.findViewById(R.id.top_sectionlist);
int width = getResources().getDisplayMetrics().widthPixels/2; DrawerLayout.LayoutParams params = (android.support.v4.widget.DrawerLayout.LayoutParams) mDrawerList.getLayoutParams(); params.width = width; mDrawerList.setLayoutParams(params);
set the width for ListView dynamically...
mDrawerLayout = (DrawerLayout) view.findViewById(R.id.drawer_layout); mDrawerList = (ListView) view.findViewById(R.id.top_sectionlist); int width = getResources().getDisplayMetrics().widthPixels/2; DrawerLayout.LayoutParams params = (android.support.v4.widget.DrawerLayout.LayoutParams) mDrawerList.getLayoutParams(); params.width = width; mDrawerList.setLayoutParams(params);

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