gpt4 book ai didi

android - NestedScrollView 崩溃 Android

转载 作者:行者123 更新时间:2023-11-29 19:16:44 25 4
gpt4 key购买 nike

<分区>

试图在 android 中恢复编码。为什么当我将另一个 TextView 添加到我的 XML 文件时我的程序会崩溃?

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_comp_analysis"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.oscarorellana.physicscalaculators.Math.CompAnalysis">


<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="Enter a complex number below"
android:textSize="20dp"
android:textStyle="bold"
/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TEST"
/>
</android.support.v4.widget.NestedScrollView>

XML 文件是我的一个 Android Activity 中的内容文件。可能真的很基本,但我找不到错误。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com