Question: Can you help see if i'm doing my Case Project 4-4 correctly? If i'm not, can you please correct my code for me? activity_main.xml code

Can you help see if i'm doing my Case Project 4-4 correctly? If i'm not, can you please correct my code for me?

Can you help see if i'm doing my Case Project 4-4 correctly?

If i'm not, can you please correct my code for me? activity_main.xml

code MainActivity.java code package com.example.gerald_chapter4_4; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity

extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); }

} Case Project 44: Floor Tiling App ** Requirements Document Application title:

activity_main.xml code

       

MainActivity.java code

package com.example.gerald_chapter4_4; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } }

Case Project 44: Floor Tiling App ** Requirements Document Application title: Purpose: Algorithms: Floor Tiling App The tiling app allows you to calculate how many tiles you need to cover a rectangular area. 1. The opening screen requests the length and the width of a room in whole feet 2. The user selects whether the tiles are 12 inches by 12 inches or 18 inches by 18 inches. 3. The number of tiles needed to cover the area in square feet is displayed. File Edit View Navigate Code Analyze Refactor Build Run Tools VCS Window Help Gerald_Chapter4_4 - activity_main.xml [Android Studio Projects. Gerald_Chapter4_4.app] - Android Studio Gerald_Chapter4_4 app src main res layout layout activity_main.xml Android Studio Projects. Gerald_Chapter4_4.app C. Pixel 2 API 30 Android MainActivity.java activity_main.xml QA Code Il Split Design Palette Pixel 30 Gerald_Chapter4_4 Default (en-us) Attributes a Resource Manager T 1: Project Common O, IB + 1 Ab tv TextView Gradle Layout Validation Text 9 id ty Buttons Ab TextView Button ImageView RecyclerView ScrollView - Switch Declared... + - Widgets Enter length len Layout Layouts Enter width wild app manifests Android Manifest.xml java com.example.gerald_chapter4_4 MainActivity com.example.gerald_chapter4_4 (androidTest) com.example.gerald_chapter4_4 (test) s java (generated) com.example.gerald_chapter4_4 BuildConfig res drawable I layout activity_main.xml Imipmap values res (generated) Gradle Scripts layout... mati Containers Enter 12 or 18 inches In layout... wrap Helpers AREA AREA 0 Google layout... visibility visib... Legacy Transforms Component Tree 1- 7: Structure LinearLayout (vertical) Ab len Ab wid Ab in area "area" Ab tv A A A View Device File Explorer Build Variants * 2 Favorites + OneDrive Screenshot saved The screenshot was added to your OneDrive. Emulator LinearLayout > TextView Profiler DE TODO - Terminal Build Database Inspector O * daemon started successfully (33 minutes ago) 6: Logcat 1363 cridrs, 41 une vredks 30:37 LALE Ur-o 4 Spaces w Type here to search o A 1:31 AM 2/11/2021 File Edit View Navigate Code Analyze Refactor Build Run Tools VCS Window Help Gerald_Chapter4_4 - activity_main.xml [Android Studio Projects. Gerald_Chapter4_4.app] - Android Studio Gerald_Chapter4_4 app src main res layout layout activity_main.xml Android Studio Projects. Gerald_Chapter4_4.app C. Pixel 2 API 30 Android MainActivity.java activity_main.xml a Code 1 Split Design 1 2 C Resource Manager T 1: Project 3 4. 5 6 7 app manifests Android Manifest.xml java com.example.gerald_chapter4_4 MainActivity com.example.gerald_chapter4_4 (androidTest) com.example.gerald_chapter4_4 (test) s java (generated) com.example.gerald_chapter4_4 BuildConfig res drawable I layout activity_main.xml Imipmap values res (generated) Gradle Scripts Button Profiler = 6: Logcat DE TODO - Terminal Build Database Inspector O * daemon started successfully (38 minutes ago) Event Log Layout Inspector 29:12 CRLF UTF-8 4 spaces 2 1:36 AM ? ^ O CD 1) 2/11/2021 Type here to search O A QA Code Il Split Design o - Resource Manager T 1: Project Gradle Layout Validation 24 25 26 27 28 File Edit View Navigate Code Analyze Refactor Build Run Tools VCS Window Help Gerald_Chapter4_4 - activity_main.xml [Android Studio Projects. Gerald_Chapter4_4.app] - Android Studio Gerald_Chapter4_4 app src main res layout layout activity_main.xml Android Studio Projects. Gerald_Chapter4_4.app C. Pixel 2 API 30 Android MainActivity.java activity_main.xml app manifests 21 Android Manifest.xml 22 java 23 com.example.gerald_chapter4_4 BuildConfig 29 30 31 32 33 34 1- 7: Structure 36 37 38 39 40 41 42 Build Variants 2: Favorites Device File Explorer Emulator LinearLayout > Button Profiler 6: Logcat DE TODO - Terminal Build Database Inspector O * daemon started successfully (39 minutes ago) Event Log Layout Inspector 29:12 CRLF UTF-8 4 spaces 2 1:36 AM ? ^ O O 1 2/11/2021 Type here to search o AL QA 1 Gradle 2 3 Resource Manager T 1: Project 4 5 File Edit View Navigate Code Analyze Refactor Build Run Tools VCS Window Help Gerald_Chapter4_4 - MainActivity.java [Android Studio Projects. Gerald_Chapter4_4.app] - Android Studio 4_4 app src main java com example gerald_chapter4_4 MainActivity Android Studio Projects. Gerald_Chapter4_4.app C. Pixel 2 API 30 Android MainActivity.java activity_main.xml Lapp package com.example.gerald_chapter4_4; manifests MF Android Manifest.xml import androidx.appcompat.app.AppCompatActivity; java com.example.gerald_chapter4_4 import android.os.Bundle; MainActivity 72 com.example.gerald_chapter4_4 (androidTest) public class MainActivity extends AppCompatActivity i com.example.gerald_chapter4_4 (test) Isljava (generated) @Override com.example.gerald_chapter4_4 10 of protected void onCreate(Bundle savedInstanceState) { BuildConfig super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); drawable } I layout activity_main.xml Imipmap values res (generated) Gradle Scripts 6 8 9 11 res 12 13 14 1. 7: Structure Build Variants * 2 Favorites Device File Explorer d'Emulator Profiler 6: Logcat DE TODO - Terminal Build Database Inspector O * daemon started successfully (32 minutes ago) Event Log Layout Inspector 142 CRLF UTF-8 4 spaces 1 1:30 AM ? ^ OOO a (1) 2/11/2021 Type here to search O AL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!