how to apply condition for web view if theme change
<p>i have created 2 theme in my application name are Theme.FullScreen and PreferencesTheme now i want apply this theme for my activity its working for text view for all BUt i want set this theme for web view as day mode and night mode </p>

<p>this is class file </p>

<pre><code>public class ClickItemDetail extends Activity {

    String getDescription;
    WebView showData;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);

        Uti.onActivityCreateSetTheme(this); // this for theme setting 

        setContentView(R.layout.click_item_detail);

        getDescription = getIntent().getExtras().getString("description");

        String str1 = "&lt;font color='white'&gt;" + getDescription + "&lt;/font&gt;"; //text color black of web view 

        showData = (WebView) findViewById(R.id.webview1);

        showData.getSettings().setBuiltInZoomControls(true);
        showData.getSettings().setSupportZoom(true);

        showData.getSettings().setTextSize(TextSize.SMALLER);
        showData.loadDataWithBaseURL(" ", "&lt;p align=\"justify\"&gt;&lt;br&gt;" + str1
                + "&lt;/p&gt;&lt;/br&gt;", "text/html", "utf-8", "");
        showData.setWebViewClient(new HelloWebViewClient());
        showData.setBackgroundColor(Color.BLACK);  // back gorund color of web view 

    }

}
</code></pre>

<p>this is cateogry class when user will select then i have to apply this condiotion </p>

<pre><code>@Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.options, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {

        switch (item.getItemId()) {
case R.id.DayMode:

            Uti.changeToTheme(this, Uti.THEME_WHITE);

            return true;

        case R.id.NightMode:

            Uti.changeToTheme(this, Uti.THEME_BLUE);

            return true;

        }

        return true;
    }
</code></pre>

<p>i want to set now day mode for this i have to apply String str1 = "" + getDescription + "" and showData.setBackgroundColor(Color.BLACK); text color blck and back ground white.
so can any one tell me how apply condition </p>
