title: Android change text properties of a view
body: <p>How can I write a function so that it accept <code>TextView</code>, <code>Button</code> or <code>EditText</code>. I want to change the text properites. Do these has a base class so I can do like below, or do I have to write three different functions?</p>
  
  <pre><code> void changeTextProperties(BaseClass view) {
          view.setText("text");
          view.setTextColor(color);
          //-- etc ..
  
      }
  </code></pre>