title: How to make the text from a Plain Text a String(Android Studio)
body: <p>I am making this app, and in the design part, I Placed a Plain Text, the Id is TEXT1,
  and I want the String A to be equal to what ever the user place in the Plain Text(TEXT1),
  but it doesn't work...</p>
  
  <pre><code>@Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_fullscreen);
  
          final Text TEXT1=(Text)findViewById(R.id.TEXT1);
          final Button TRANSLATE=(Button)findViewById(R.id.TRANSLATE);
          TRADUCIR.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
  
                  String A;
                  A=(Text)findViewById(TEXT1);   // ERROR IS IN HERE!
  
                  Toast.makeText(getApplicationContext(), A,Toast.LENGTH_LONG).show();
              }
          });
  </code></pre>