title: TextView set visibility gone if its empty
body: <p>Hi everyone why this code dose not work?
  I have TextView get the value from sqlite database I want check if its empty hide TextView.</p>
  
  <pre><code>mTel1 = (TextView) findViewById(R.id.tv_tel1);
      String ed_text = mTel1.getText().toString().trim();
  
      if(ed_text.length() == 0 || ed_text.equals("") || ed_text == null)
      {
          mTel1.setVisibility(View.VISIBLE);
  
      }
      else
      {
          mTel1.setVisibility(View.GONE);
      }
  </code></pre>
  
  <p>XML</p>
  
  <pre><code>  &lt;TextView
          android:id="@+id/tv_tel1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginBottom="3dp"
          android:layout_marginLeft="5dp"
          android:layout_marginRight="5dp"
          android:layout_marginTop="3dp"
          android:background="@drawable/border"
          android:clickable="true"
          android:padding="10dp"
          android:textColor="#0066cc"
          android:textSize="18sp" /&gt;
  </code></pre>