In Android Studio, how do I display only “list rows” function onthe menu in the first screen (the first image) and display only”back” function on the menu in the second screen (secondimage).


//content_screen2.xml
<LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android” android:orientation=“vertical” android:layout_width=“match_parent” android:layout_height=“match_parent” android:paddingTop=“70dp” android:background=“#F0F8FF” > <TextView android:layout_width=“match_parent” android:layout_height=“wrap_content” android:id=“@+id/response” /> <TextView android:layout_width=“match_parent” android:layout_height=“wrap_content” android:id=“@+id/studrec” /> <TableLayout android:id=“@+id/add_table” android:layout_width=“match_parent” android:layout_height=“606dp” android:paddingTop=“40dp”> <TableRow>
PayPal Gateway not configured
PayPal Gateway not configured