Android Activity
<p>if i create static button in one activity  and use in another activity it shows error as </p>

<pre><code>/*********************************

01-12 19:57:17.030: DEBUG/PhoneWindow(21860): 
couldn't save which view has focus because the focused view com.android.internal.policy.impl.PhoneWindow$DecorView@2f5671b8 has no id.

*************************************/
</code></pre>

<p>my code is ::</p>

<pre><code>public static LoginButton bttn;
  findViewById(R.id.login).setOnClickListener(new OnClickListener(){

   public void onClick(View v) {
    // TODO Auto-generated method stub
    bttn = (LoginButton)findViewById(R.id.login);

    startActivity(new Intent(Account.this,Example.class));

   }

  });
</code></pre>

<p>In 2nd activity i use this static button as</p>

<pre><code>Account.bttn.init(this, mFacebook);
</code></pre>
