[英]No resource identifier found for attribute 'paddingEnd' in Package 'android'
[英]No resource identifier found for attribute 'linearLayoutOrientation' in package 'android'
我正在用我的應用程序構建,所有突然發生的錯誤都出現了:
No resource identifier found for attribute 'linearLayoutOrientation' in package 'android'
我知道在哪里創建錯誤,但我不知道該如何解決。 可以看一下,告訴我我做錯了什么嗎? 我正在Xamarin Studio中構建應用程序。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffd8d8d8">
<TextView
android:id="@+id/Heading"
android:text="."
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#ff0f62ae"
android:textSize="30dp"
android:textColor="#FFFFFFFF"
android:textStyle="bold"
android:padding="15dp" />
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ffffffff"
android:height="40dp"
android:minHeight="40dp"
android:layout_marginRight="0.0dp"
android:linearLayoutOrientation="vertical" />
<View
android:layout_width="fill_parent"
android:layout_height="4.0dp"
android:id="@+id/separator"
android:visibility="visible"
android:background="#ff0b487f" />
<ListView
android:id="@+id/dataListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="#ff0f62ae" />
</LinearLayout>
提前致謝
去掉
android:linearLayoutOrientation="vertical"
從edittext
標簽並添加
android:orientation="vertical"
在LinearLayout
標簽中
從布局中的android:linearLayoutOrientation="vertical"
移除android:linearLayoutOrientation="vertical"
,因為您已提供它解決了這種情況下的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.