Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>change <code>private void sendMessage(View view)</code> to <code>public void sendMessage(View view)</code> (private to public)</p> <p>LAYOUT OF FIRST ACTIVITY: </p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical" &gt; &lt;TextView android:id="@+id/TextView1_MainActivity" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@+string/title_MainActivity" android:textStyle="bold"/&gt; &lt;EditText android:id="@+id/EditText1_MainActivity" android:layout_width="wrap_content" android:layout_height="wrap_content" android:hint="@string/EditText_MainActivity" android:textStyle="italic" /&gt; &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/Button_MainActivity" android:onClick="sendMessage"/&gt; </code></pre> <p></p> <p>LAYOUT OF SECOND ACTIVITY: -</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:gravity="center_vertical" tools:context=".SecondActivity"&gt; &lt;TextView android:layout_alignParentTop="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@+string/title_SecondActivity" android:textStyle="bold"/&gt; &lt;TextView android:id="@+id/TextView2_SecondActivity" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload