CopyPastor

Detecting plagiarism made easy.

Score: 1.726412296295166; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2016-05-06
by Krishna

Original Post

Original - Posted on 2011-04-26
by Kartik Domadiya



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

To change text size
Its not pretty but try this Dirty Fix :
TabWidget tw = (TabWidget)tabHost.findViewById(android.R.id.tabs); View tabView = tw.getChildTabViewAt(0); TextView tv = (TextView)tabView.findViewById(android.R.id.title); tv.setTextSize(20);
or
//Do this to hack font size of title text LinearLayout ll = (LinearLayout) tabHost.getChildAt(0); TabWidget tw = (TabWidget) ll.getChildAt(0); // for changing the text size of first tab RelativeLayout rllf = (RelativeLayout) tw.getChildAt(0); TextView lf = (TextView) rllf.getChildAt(1); lf.setTextSize(21); lf.setPadding(0, 0, 0, 6);
or
final TabWidget tw = (TabWidget)mTabHost.findViewById(android.R.id.tabs); for (int i = 0; i < tw.getChildCount(); ++i) { final View tabView = tw.getChildTabViewAt(i); final TextView tv = (TextView)tabView.findViewById(android.R.id.title); tv.setTextSize(20); }
Its not pretty but try this Dirty Fix :
TabWidget tw = (TabWidget)tabHost.findViewById(android.R.id.tabs); View tabView = tw.getChildTabViewAt(0); TextView tv = (TextView)tabView.findViewById(android.R.id.title); tv.setTextSize(20);
or
//Do this to hack font size of title text LinearLayout ll = (LinearLayout) tabHost.getChildAt(0); TabWidget tw = (TabWidget) ll.getChildAt(0);
// for changing the text size of first tab RelativeLayout rllf = (RelativeLayout) tw.getChildAt(0); TextView lf = (TextView) rllf.getChildAt(1); lf.setTextSize(21); lf.setPadding(0, 0, 0, 6);

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