pandabo1985 / android-os-monitor

Automatically exported from code.google.com/p/android-os-monitor
0 stars 0 forks source link

Not all available info is shown in interface tab entries #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the Interface Tab
2. Get an IPV6 address
3.

What is the expected output? What do you see instead?
Not all lines of text are shown in each row. Example: interface flags (up, 
running, etc.) are never shown.

What version of the product are you using? On what operating system?
2.0.5

Please provide any additional information below.
Solution: (at least for my Galaxy S)
Class InterfaceList.java method: getChild() 
Remove: AbsListView.LayoutParams lp = new AbsListView.LayoutParams(
    ViewGroup.LayoutParams.FILL_PARENT, 120);
    TextView textView = new TextView(getApplication());
Remove: textView.setLayoutParams(lp);

Original issue reported on code.google.com by vdtick1...@gmail.com on 3 Nov 2011 at 9:25

GoogleCodeExporter commented 9 years ago
Sorry, my mistake of course don't remove: TextView textView = new 
TextView(getApplication()); (dang copy & past)

Original comment by vdtick1...@gmail.com on 3 Nov 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Very thanks for you help, I will fix on the next version. :>

PS. I am too busy to maintain it recently, however, I will get some free time 
on December and fix it. :D 

Original comment by eolw...@gmail.com on 5 Nov 2011 at 3:44

GoogleCodeExporter commented 9 years ago
Removing these lines also worked for me on a Galaxy Nexus:

AbsListView.LayoutParams lp = new AbsListView.LayoutParams(
    ViewGroup.LayoutParams.FILL_PARENT, 120);
[...]
textView.setLayoutParams(lp);

Original comment by catal...@google.com on 4 Jul 2012 at 5:23