title: How to remove RadioButton circle in Android 4.4.4
body: <p>I made a custom RadioButton that looks as follow in a Android 5.0 device.</p>
  
  <p><a href="https://i.stack.imgur.com/sa7Mq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sa7Mq.png" alt="enter image description here"></a></p>
  
  <p>These <em>RadioButtons</em> are dynamic created as shown in the follow methods. So the first method <em>redioButtonPresenterApparence</em> sets its appearance removing circle (setting <em>buttonDrwable</em> to <em>null</em>. The second method set the buttons background later.</p>
  
  <pre><code>private void radioButtonPresenterApparence(RadioButton presenter, int icon) {
      Drawable drawable = getResources().getDrawable(icon);
      presenter.setCompoundDrawablesWithIntrinsicBounds(drawable, null, null, null);
      presenter.setButtonDrawable(null);
      presenter.setGravity(Gravity.CENTER);
  }
  
  private void updateButtonsBackground(){
      int childCount = getChildCount();
      BackgroundSelector bgSelector = new BackgroundSelector(childCount);
      for(int i = 0; i &lt; childCount; i++){
          View rb = getChildAt(i);
          rb.setBackgroundResource( bgSelector.getBackgroundResource(i) );
          rb.requestLayout();
      }
  
      requestLayout();
  }
  </code></pre>
  
  <p>My problem is when testing the same on Samsung Android 4.4.4 devices (not sure about other manufactories), it shows as follow.</p>
  
  <p><a href="https://i.stack.imgur.com/dQcAq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dQcAq.png" alt="enter image description here"></a></p>
  
  <p><strong>PS:</strong> It's a code created RadioButton. You can check it in the follow method:</p>
  
  <pre><code>private void addPresenter(int icon){
      RadioButton presenter = new RadioButton(getContext());  //Create new RadioButton
      radioButtonPresenterApparence(presenter, icon);         //Set icon and configure aparence
      addView(presenter);                                     //Add new button to Selector
      presenterParentAparance(presenter);                     //Config button inside parent
      requestLayout();                                        //Request layout update to Selector
  }
  </code></pre>