@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    config = ConfigManager.getInstance(getActivity());
    mDao = WallpaperDAO.getInstance(getActivity());

    calendar = Calendar.getInstance();
  }
Esempio n. 2
0
  public LockerModeRing(Context context) {
    super(context);
    config = ConfigManager.getInstance(context);

    RelativeLayout.LayoutParams params =
        new RelativeLayout.LayoutParams(config.getScreenWidth(), config.getScreenWidth());
    params.addRule(RelativeLayout.BELOW, R.id.edi_indicator);
    rpv.setLayoutParams(params);
  }