在myeclipse中的graphical layout里没有找到textview

2025-03-22 14:28:12
推荐回答(1个)
回答1:

您好,Activity_status.xml 如下:

<
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:id="@+id/container"
android:layout_width="match_parent"

android:layout_height="match_parent"
android:orientation="vertical"

tools:context="com.mobile.pingo.StatusActivity"

tools:ignore="MergeRootFrame" >


android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_margin="10dp"
android:gravity="center"

android:text="@string/titleStatus"
android:textSize="30sp"
/>



android:id="@+id/editText"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:layout_weight="1"

android:gravity="top|center_horizontal"

android:hint="@string/hintText" />



android:id="@+id/buttonUpdate"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="@string/buttonUpdate"
android:textSize="20sp"
/>

< /LinearLayout>