奇怪的黑线的列表视图顶部黑线、视图、奇怪、列表

由网友(安於現狀。)分享简介:我创造一个布局的的ListView 键,在列表的最上方有这个奇怪的黑线,我似乎无法弄清楚如何获得干掉!这是的ListView 的一部分,因为它的动作向上和向下,我大小的ListView 。有没有人碰到过?I am creating a layout with a ListView and at the very to...

我创造一个布局的的ListView 键,在列表的最上方有这个奇怪的黑线,我似乎无法弄清楚如何获得干掉!这是的ListView 的一部分,因为它的动作向上和向下,我大小的ListView 。有没有人碰到过?

I am creating a layout with a ListView and at the very top of the list there is this weird black line that I can't seem to figure out how to get rid of! It's part of the ListView because it moves up and down as I size the ListView. Has anyone ran into this before?

我不能让DDMS采取屏幕捕获由于某种原因,所以我采取了屏幕的图片与我的G1,所以请原谅的质量!正如你所看到的行是在有褪色的顶出在列表中。

I couldn't get DDMS to take a screen capture for some reason so I took a picture of the screen with my G1, so please forgive the quality! As you can see the line is there at the top of the fade out in the list.

推荐答案

问题不在于分频器。

我也一直在寻找一个解决方案,这一点,我发现之一:

I was also looking for a solution to this and I found one :

您可以做自己的主题与此

You can do your own theme with this

<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="Theme" parent="android:Theme">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>

</resources>

和设置主题,以您的清单XML文件,它的工作原理。

And setting the theme to your manifest xml file and it works.

在windowContentOverlay为null解决问题。

The windowContentOverlay to null fix the problem.

阅读全文

相关推荐

最新文章