Course Solutions Uncategorized (Solved) : Make 4 Checkboxes Pizza Toppings Ham Pineapple Anchovies Olives Struggling Complete Part Q Q30683576 . . . .

(Solved) : Make 4 Checkboxes Pizza Toppings Ham Pineapple Anchovies Olives Struggling Complete Part Q Q30683576 . . . .

 

Make 4 checkboxes for pizza toppings: Ham, Pineapple, Anchovies.and Olives

I am struggling to complete this part of the question “Alsoinclude a button which when pressed produces text such as “yourtoppings are Ham and Pineapple” in a TextView.”.

//XML

<?xml version=“1.0” encoding=“utf-8”?><android.support.constraint.ConstraintLayout xmlns:android=“http://schemas.android.com/apk/res/android” xmlns:app=“http://schemas.android.com/apk/res-auto” xmlns:tools=“http://schemas.android.com/tools” android:layout_width=“match_parent” android:layout_height=“match_parent” app:layout_behavior=“@string/appbar_scrolling_view_behavior” tools:context=“.MainActivity” tools:layout_editor_absoluteY=“81dp” tools:showIn=“@layout/activity_main”> <CheckBox android:id=“@+id/ham” android:layout_width=“144dp” android:layout_height=“42dp” android:layout_marginBottom=“14dp” android:layout_marginStart=“16dp” android:layout_marginTop=“16dp” android:text=“Ham” android:onClick=“onClick” app:layout_constraintBottom_toTopOf=“@+id/pineapple” app:layout_constraintStart_toStartOf=“parent” app:layout_constraintTop_toTopOf=“parent” /> <CheckBox android:id=“@+id/pineapple” android:layout_width=“0dp” android:layout_height=“44dp” android:layout_marginBottom=“14dp” android:text=“Pineapple” android:onClick=“onClick” app:layout_constraintBottom_toTopOf=“@+id/anchovies” app:layout_constraintEnd_toEndOf=“@+id/ham” app:layout_constraintStart_toStartOf=“@+id/ham” app:layout_constraintTop_toBottomOf=“@+id/ham” /> <CheckBox android:id=“@+id/anchovies” android:layout_width=“0dp” android:layout_height=“40dp” android:layout_marginBottom=“12dp” android:layout_marginEnd=“3dp” android:text=“Anchovies” android:onClick=“onClick” app:layout_constraintBottom_toTopOf=“@+id/olives” app:layout_constraintEnd_toEndOf=“@+id/pineapple” app:layout_constraintStart_toStartOf=“@+id/olives” app:layout_constraintTop_toBottomOf=“@+id/pineapple” /> <CheckBox android:id=“@+id/olives”

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post