Build a recipe app using Android studio. The Data used for recipes should be in
ID: 3864635 • Letter: B
Question
Build a recipe app using Android studio. The Data used for recipes should be in the arrays in string.xml file! On start the app should show a list of recipes.(3 lists is enough) Each row consists of 2 parts. The left is a small icon to show the food, and the right is the recipe name. Tap the image a new screen should be launched with a high resolution image of the icon. Tap the high resolution image to traverse back to the main list. Tap recipe name to show 1 sentence description about the food should be able to go back using back buttonExplanation / Answer
building an android app via chegg is not practical!
i can guide you for all the sub-parts i can find in the question :)
---------------------------------------------------
storing data of the recipes in string.xml
store the recipe name, description and such in the arraay inside the <dict> tags.. as shown.
-----------------------------------------------------------------------------------------------
to implement the back button use android:parentActivityname in the manifest inside the <activity>
<activity
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android.value=*pass the name of the activity to be backed here*
ex- android:value="com.example.myfirstapp.MainActivity"
further, create a stack to maintain all pages traversed to successfully back them ,
Adding activities to the back stack begins upon the event that takes the user into your app. That is, instead of calling startActivity(), use theTaskStackBuilder APIs to define each activity that should be placed into a new back stack. Then begin the target activity by calling startActivities(), or create the appropriate PendingIntent by calling getPendingIntent().
----------------------------------------------------
taping an image so that it gets launched as a high resolution one -
To make this two ImageView components are used; one for thumbnail and another for large image. The large imageview is for full screen size and small imageview is for thumbnail size.
Once you apply your layout, set up the event handlers that trigger the zoom animation. Add a View.OnClickListener to the ImageButton to execute the zoom animation when the user clicks the image button.
now to enlarge it,
----------------------------------------------------------------------------
thank you
<string>apps/android</string> <key>NAME</key> <string>AndroidStudio</string> <key>pkginfo</key> <dict> <key>catalogs</key> <array> <string>development-android-AndroidStudio</string> </array> <key>category</key> <string>Development</string> <key>description</key> <string>Android Studio is the official IDE for Android application development, based on IntelliJ IDEA.</string> <key>developer</key> <string>Google</string> <key>display_name</key> <string>Android Studio</string> <key>name</key> <string>%NAME%</string> <key>requires</key> <array> <string>OracleJava8JDK</string> </array> <key>unattended_install</key>store the recipe name, description and such in the arraay inside the <dict> tags.. as shown.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.