title: Android Studio - bringToFront must be called from the UI thread
body: <p>since I've imported my Eclipse project to Android Studio I have an error concerning the bringToFront() method.</p>
  
  <pre><code>protected Void doInBackground(String... num_t) {
  
          planningTitle = (TextView) findViewById(R.id.planningTitle);
  
          planningTitle.bringToFront(); /* Bring Planning Title in front of Table Layout */
  
          /* Plubish the result to update Layout */
          publishProgress(num_t[0]);
  
          return null;
      }
  </code></pre>
  
  <p>I saw some similar questions concerning getText() method and understood them but I can't figured out what to do with this bringToFront() method.</p>
  
  <p>Error : Method bringToFront must be called from UI thread, currently inferred thread is worker...</p>
  
  <p>The project is compiling anyway but I'm curious to know where is my mistake.</p>
  
  <p>Thanks in advance.
  C.</p>