title: How to add button tint programmatically
body: <p>In the new AppCompat library, we can tint the button this way:</p>
  
  <pre><code>&lt;Button
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="@string/follow"
      android:id="@+id/button_follow"
      android:backgroundTint="@color/blue_100"
      /&gt;
  </code></pre>
  
  <p>How can I set the tint of the button programmatically in my code?
  I'm basically trying to implement a conditional coloring of the button based on some user input.</p>