Question: < RelativeLayout 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 :id= @+id/BasicCalc android :layout_width= match_parent android :layout_height= match_parent tools :context=

xml version="1.0" encoding="utf-8"?> <RelativeLayout 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:id="@+id/BasicCalc" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <Button android:id="@+id/bttnEql" android:layout_width="61dp" android:layout_height="27dp" android:layout_alignParentStart="true" android:layout_alignParentTop="true" android:layout_marginStart="305dp" android:layout_marginTop="227dp" android:layout_marginBottom="-103dp" android:background="@color/buttonColor" android:text="=" tools:layout_alignParentStart="true" />

Android:id=@+id/textView

Android:layout_width=wrap_content

Android:layout_height=wrap_content

Andriod:text=I am a TextView Attribute />

Identify each of the following in the XML code above:

  • Root element
  • Prolog line
  • An attribute
  • Elements

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!