小编Kem*_*rcı的帖子

HTC One X - 触摸后Webview变为白色/空白

我有一个Android应用程序,它有搜索文本框,一些按钮,webviews(1个可见2个不可见)和一个admob adview.该应用程序只搜索一些特殊网站,它在模拟器,三星galaxy设备上运行良好.但我对HTC One X有疑问(不了解其他HTC型号).

问题是,当您单击搜索按钮时,webview会加载页面.然后"有时"当你试图触摸甚至滚动时,webview只返回带有滚动条的全白区域.特别是在广告刷新后,会发生这 甚至有时候广告的背景和文字区域也会变成白色 - 也是不可读的.在广告上只是蓝色箭头和蓝色电话图像保持可见!

有没有人有这样的问题,以及任何解决方案?提前致谢.

这是我的布局xml:

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#ffffff"
    android:orientation="vertical" >

    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical" >

        <LinearLayout
            android:id="@+id/layoutDashboard"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:background="@drawable/border_shape"
            android:orientation="vertical"
            android:paddingTop="1sp" >

            <EditText
                android:id="@+id/editxtKeyword"
                android:layout_width="fill_parent"
                android:layout_height="43dp"
                android:layout_marginLeft="1dp"
                android:layout_marginRight="1dp"
                android:layout_marginTop="2dp"
                android:ems="10"
                android:hint="@string/editxtKeyword_hint"
                android:singleLine="true" >
            </EditText>

            <HorizontalScrollView
                android:id="@+id/horizontalScrollView1"
                android:layout_width="fill_parent"
                android:layout_height="0dip"
                android:layout_gravity="center_vertical"
                android:layout_weight="0.30"
                android:paddingBottom="2dp"
                android:paddingLeft="1dp"
                android:scrollbars="none" >

                <LinearLayout
                    android:id="@+id/layoutButtons"
                    android:layout_width="wrap_content"
                    android:layout_height="fill_parent"
                    android:layout_gravity="center_vertical"
                    android:layout_marginTop="0dp"
                    android:layout_marginBottom="1dp"
                    android:layout_marginLeft="1dp"
                    android:layout_marginRight="1dp"
                    android:orientation="horizontal" >
<
                    <Button
                        android:id="@+id/btnAk"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_vertical"
                        android:layout_margin="1dp"
                        android:background="@drawable/custom_button_shape"
                        android:text="asd" /> …
Run Code Online (Sandbox Code Playgroud)

android webview htc-android

8
推荐指数
1
解决办法
2993
查看次数

主键列如何在Oracle中具有重复值?

我刚刚尝试将Oracle DB导入另一个,它给出了一个错误,告诉我在主键列中找到了重复的值.然后我检查了源表,是的确实PK中存在重复值,并且检查PK已启用且正常.现在我想知道这怎么可能发生.

编辑:我发现索引处于不可用状态.我不知道它是怎么发生的,只是发现了这个:http://asktom.oracle.com/pls/asktom/f?p = 100:11:0 ::::P11_QUESTION_ID: 1859798300346695894

oracle primary-key

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

android ×1

htc-android ×1

oracle ×1

primary-key ×1

webview ×1