Example #1
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);
  }