1. Android Central Question's Avatar
    xml:
    <TextView
    android:id="@+id/textView17"
    android:layout_width="100dp"
    android:layout_height="50dp"
    android:layout_centerInParent="true"
    android:layout_marginStart="260dp"
    android:layout_marginTop="44dp"
    android:text="Sign In"
    android:onClick="switchactivities"
    android:focusable="true"
    android:clickable="true"
    android:textColorLink="@color/blue"
    android:textSize="20sp"
    app:layout_constraintBottom_toBottomOf="@+id/imageview1"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintStart_toStartOf="@+id/imageview1"
    app:layout_constraintTop_toTopOf="parent"
    tools:ignore="MissingConstraints" />
    JAVA:
    public void switchactivities(View view) {
    makeText(this, R.string.hai, Toast.LENGTH_SHORT).show();
    Intent intent=new Intent(SecondActivity.this,ThirdActivity.class);
    startActivity(intent);
    }
    11-09-2022 03:17 AM
  2. B. Diddy's Avatar
    Welcome to Android Central! I moved this to the Software Development forum for more specific traffic.

    Please register on this forum, which will allow you to engage in discussion more easily, as well as post images. https://forums.androidcentral.com/as...community.html
    11-09-2022 03:38 AM

Similar Threads

  1. Google Chrome icon has disappeared from my LG Android, how do I get it back?
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 11-10-2022, 02:53 PM
  2. Missing location option in Android 10
    By Android Central Question in forum Android 10
    Replies: 2
    Last Post: 11-09-2022, 12:21 AM
  3. Why doesn't Google understand turn off app in 20 minutes command?
    By Android Central Question in forum Ask a Question
    Replies: 4
    Last Post: 11-08-2022, 11:55 PM
  4. Why is my Samsung messages colors so ugly?
    By delta7 in forum Samsung Galaxy S21 & S21+ & S21 Ultra
    Replies: 2
    Last Post: 11-08-2022, 08:58 PM
  5. Missing location option in Android 10
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 11-08-2022, 05:56 PM
LINK TO POST COPIED TO CLIPBOARD