title: Update the textview text in runOnUiThread is overlapped with previously setted text
body: <p>I want to set the <code>textview</code> text with the <code>mediaplayer.getCurrentPosition()</code> in <code>runOnuiThread()</code>. But problem is that the updated text is overlap with the previous set text.</p>
  
  <p>i am new to android and want to change text progmatically after some time that i have given</p>
  
  <p>onCreate method </p>
  
  <pre><code>    protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.activity_image_content_pop_up);
  
          imageUrl=new ArrayList&lt;&gt;();
          for(int i=1;i&lt;=3;i++)
          {
              imageUrl.add("https://www.gstatic.com/webp/gallery3/"+i+".png");
          }
          LinearLayoutManager layoutManager=new LinearLayoutManager(this,LinearLayoutManager.HORIZONTAL,false);
          recyclerImagevIew=(RecyclerView)findViewById(R.id.image_recycler_view);
          recyclerImagevIew.setLayoutManager(layoutManager);
          ImagePopupAdapter imagePopupAdapter =new ImagePopupAdapter(this,imageUrl);
          recyclerImagevIew.setAdapter(imagePopupAdapter);
          background_Image=(ImageView) findViewById(R.id.background_image);
          cross_sign =(TextView)findViewById(R.id.cross_button);
          cross_sign.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  finish();
              }
          });
        //  StartAsyncTask();
         // StartTimer();
  
          handler=new Handler();
          runnable= new Runnable() {
              @Override
              public void run() {
                  if(index&lt;imageUrl.size()) {
                      Glide.with(getApplicationContext()).load(imageUrl.get(index)).into(background_Image);
                      index++;
                      handler.postDelayed(runnable, 5000);
                  }
              }
          };
          handler.postDelayed(runnable,1000);
  
  
  
  
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/k25Gl.png" alt="see image here"></p>