【发布时间】:2014-03-11 02:28:26
【问题描述】:
我是编码新手,非常想学习。
我在 developer.android.com 网站上自学。
不幸的是,我陷入了泥潭,无法通过此代码。
请帮忙。我做错了什么?
想看练习的话这里是地址:
http://developer.android.com/training/basics/firstapp/building-ui.html#Button
<?xml version="1.0" encoding ="utf-8" ?>
<LinearLayout xmlns:android ="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" />
<EditText android:id="@+id/edit_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
【问题讨论】:
标签: android xml parsing r.java-file