辅导案例-CSE2MAD

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
CSE2MAD Exam Prep Questions – Part 2

Q1. Given the following XML that defines an activity’s layout, draw its final form as it would appear
on the designer/device. [10 marks]


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"
tools:context=".MainActivity">

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="LifeForm:"
tools:text="Lifeform" />

android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:hint="Life Form to Send"
android:inputType="textPersonName" />



51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468