Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am getting errors around some TextViews in my Layout files.
- This is an example.
- @+id/tvZZE_SESSION_NAME01 is giving this error:
- Header Expected
- Manifest file does not end with a final NewLine
- All of the android:id="" have this same issue.
- Is this a real error or warning, can I ignore it... or it is something?
- AndroidManifeast.xml
- //------------------
- <?xml version="1.0" encoding="utf-8"?>
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.techlatin.loge" >
- <uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- <uses-feature android:name="android.hardware.camera" />
- <application
- android:allowBackup="true"
- android:icon="@drawable/ic_launcher"
- android:label="@string/app_name"
- android:theme="@style/AppTheme" >
- <activity
- android:name="com.techlatin.loge.MainActivity"
- android:label="@string/app_name"
- android:screenOrientation="portrait" >
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity
- android:name="com.techlatin.loge.LOGIN01"
- android:label="@string/title_activity_login01"
- android:screenOrientation="portrait" >
- </activity>
- <activity
- android:name="com.techlatin.loge.ZZA_MAINMENU01"
- android:label="@string/title_activity_zza__mainmenu01"
- android:screenOrientation="portrait" >
- </activity>
- <activity
- android:name="com.techlatin.loge.ZZD_NewAssignments01"
- android:label="@string/title_activity_zzd__new_assignments01"
- android:screenOrientation="portrait">
- </activity>
- <activity
- android:name="com.techlatin.loge.ZZE_NewLocations"
- android:label="@string/title_activity_zze__new_locations"
- android:screenOrientation="portrait">
- </activity>
- <activity
- android:name="com.techlatin.loge.ZZF_LOGS"
- android:label="@string/title_activity_zzf__logs"
- android:screenOrientation="portrait">
- </activity>
- </application>
- </manifest>
- //-----------------------------
- fragment_zze_new_locations.xml
- <RelativeLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin"
- tools:context="com.techlatin.loge.ZZE_NewLocations$PlaceholderFragment">
- <TextView
- android:text="ZZE_NewLocations"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/textView" />
- <Button
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="A - IDENTIFY/LOCATE"
- android:id="@+id/button"
- android:layout_below="@+id/tv_ZZE_WHAT_ABOUT"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_marginTop="10dp"
- android:onClick="btnClick_zze_01__loc_id" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Add WHAT ABOUT HERE"
- android:id="@+id/tv_ZZE_WHAT_ABOUT"
- android:layout_below="@+id/textView"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_marginTop="33dp"
- android:layout_marginBottom="5dp" />
- <Button
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="B - DETAILS ABOUT SITE"
- android:id="@+id/button2"
- android:layout_below="@+id/button"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_marginTop="30dp" />
- <Button
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="C - EMAIL PICTURES"
- android:id="@+id/button3"
- android:layout_below="@+id/button2"
- android:layout_marginTop="30dp"
- android:layout_alignRight="@+id/button2"
- android:layout_alignEnd="@+id/button2" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="tvASSET_ID:"
- android:id="@+id/tvASSET_ID"
- android:layout_below="@+id/button3"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_marginTop="48dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:text="tvZZE_SESSION_NAME01"
- android:id="@+id/tvZZE_SESSION_NAME01"
- android:layout_below="@+id/tvASSET_ID"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_marginTop="47dp" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement