- Update The Following Piece Of Code Such That It Displays A Toast That Shows The Number Of Double Tap Gestures That Occur 1 (51.17 KiB) Viewed 39 times
Update the following piece of code such that it displays a toast that shows the number of double-tap gestures that occur
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Update the following piece of code such that it displays a toast that shows the number of double-tap gestures that occur
Update the following piece of code such that it displays a toast that shows the number of double-tap gestures that occurred on the layout 'main_layout' so far. Note: You must provide the shortest possible code. import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); View layout=findViewById(R.id.main_layout); }