<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    我的家園

    我的家園

    問(wèn)題:

    Android: couldn't save which view has focus because the focused view ### has no id



    可能引起原因有兩種,對(duì)應(yīng)解決方法如下:

    解決方案一:

    <application

            android:icon="@drawable/icon" android:label="@string/app_name" >

            <activity

                android:label="@string/app_name"

               android:configChanges="orientation|keyboardHidden|keyboard|screenLayout

                android:name=".Main" >

                <intent-filter >

                    <action android:name="android.intent.action.MAIN" />

                    <category android:name="android.intent.category.LAUNCHER" />

                </intent-filter>

            </activity>

        </application>


    解決方案二:

    What probably happened is that you created a thread in the surfaceCreated() method but didn’t stop it or get rid of it in the surfaceDestroy() method.

    When you didn’t give a theme for the preferences, it took over the whole screen and your old surface was destroyed. But when you specified a dialog-like theme, the old surface was still there because it was visible underneath the preferences.

     public void surfaceCreated(SurfaceHolder holder)
    {
      if (_thread == null || _thread.getState() == Thread.State.TERMINATED)
      {
        _thread = new TutorialThread(getHolder(), this);
        _thread.setRunning(true);
        _thread.start();
      }
      else
      {
        _thread.setRunning(true);
        _thread.start();
      } 
    }

    This solved the problem for me, a thread’s start method cannot be called twice, so I had to reallocate…

    http://forums.pragprog.com/forums/138/topics/4085



    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: a在线视频免费观看| 中文字幕亚洲精品无码| 永久免费无码网站在线观看个| 男人的好看免费观看在线视频| 亚洲精品国产手机| 特级精品毛片免费观看| 亚洲av福利无码无一区二区| 成人无码WWW免费视频| 久久九九亚洲精品| 免费观看成人久久网免费观看| 亚洲AV无码乱码在线观看富二代| 国产午夜成人免费看片无遮挡| 国产V亚洲V天堂无码久久久| 蜜桃视频在线观看免费视频网站WWW| 亚洲电影中文字幕| 69堂人成无码免费视频果冻传媒| 亚洲一区免费在线观看| 精品久久洲久久久久护士免费 | 亚洲AV无码专区国产乱码电影| 99视频免费在线观看| 亚洲av网址在线观看| 日本片免费观看一区二区| 亚洲乱亚洲乱妇24p| 免费看一级做a爰片久久| 免费夜色污私人影院网站电影| 综合亚洲伊人午夜网| 久久精品人成免费| 国产亚洲精品VA片在线播放| 国产一区在线观看免费| 中文字幕av免费专区| 亚洲乱码一二三四五六区| 国内精品免费视频自在线| 精品国产福利尤物免费| 亚洲午夜精品久久久久久人妖| 成年女人毛片免费视频| 国产精品免费看久久久香蕉| 亚洲欧洲日产国码二区首页| 日本一道一区二区免费看| 中国在线观看免费的www| 国产精品亚洲精品观看不卡| 亚洲欧洲久久av|