I would like to add a button to my app which would search google using a specific query. The query would be pulled from the word displayed in a TextView.
Here’s my TextView
<TextView
android:id="@+id/text_random_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:padding="@dimen/padding_medium"
android:text=""
android:textColor="#FF8800"
android:textSize="30dp"
tools:context=".ImHungry" />
based on the comments you gave this will do the trick.