Android Open Source - Whats-My-Number Configuration Dialog






From Project

Back to project page Whats-My-Number.

License

The source code is released under:

GNU General Public License

If you think the Android project Whats-My-Number listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package mynumberwidget.app.narrow;
//w ww  .  j av a2s . c  o  m
import mynumberwidget.app.AbstractConfigurationDialog;
import mynumberwidget.app.R;
import mynumberwidget.app.WidgetUpdateHelper;
import android.widget.RadioButton;

public class ConfigurationDialog extends AbstractConfigurationDialog {
  
  protected int applyThemeSetting() {
    // Get the theme setting
    RadioButton themeDark = (RadioButton)findViewById(R.id.theme_dark);
    int theme = WidgetUpdateHelper.THEME_NARROW_LIGHT;
    if (themeDark.isChecked()) {
      theme = WidgetUpdateHelper.THEME_NARROW_DARK;
    }
    
    return theme;
  }
  
}




Java Source Code List

mynumberwidget.app.AbstractConfigurationDialog.java
mynumberwidget.app.WidgetUpdateHelper.java
mynumberwidget.app.action.CopyToClipboard.java
mynumberwidget.app.action.DisplayPhoneNumber.java
mynumberwidget.app.narrow.ConfigurationDialog.java
mynumberwidget.app.narrow.MyNumberWidget.java
mynumberwidget.app.wide.ConfigurationDialog.java
mynumberwidget.app.wide.MyNumberWidget.java