Bug 30626 - APT0000 error for the followins xml file
Summary: APT0000 error for the followins xml file
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-05-31 18:29 UTC by Salow
Modified: 2015-06-01 13:43 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Salow 2015-05-31 18:29:16 UTC
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

	<item android:state_pressed="false">

	<layer-list>
		<item android:right="5dp" android:top="5dp">
		<shape>
		<corners android:radius="4000dp"/>
		<solid android:color="#D6D6D6"/>
		</shape>
		</item>

		<item android:bottem="2dp" android:left="2dp">
		<shape>
			<gradient android:angle="270" android:endColor="#4A6EA9" android:startColor="#0092ff"/>
			<stroke android:width="1dp" android:color="#BABABA"/>
			<corners android:radius="4000dp"/>
			<padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp"/>
		</shape>
		</item>
	</layer-list>

	</item>


	<item android:state_pressed="true">

	<layer-list>
		<item android:right="5dp" android:top="5dp">
		<shape>
		<corners android:radius="2dp"/>
		<solid android:color="#D6D6D6"/>
		</shape>
		</item>

		<item android:bottem="2dp" android:left="2dp">
		<shape>
			<gradient android:angle="270" android:endColor="#7C97C1" android:startColor="#4A6EA9"/>
			<stroke android:width="1dp" android:color="#BABABA"/>
			<corners android:radius="4dp"/>
			<padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp"/>
		</shape>
		</item>
	</layer-list>

	</item>



</selector>
Comment 1 Salow 2015-05-31 18:33:17 UTC
I have updated xamarin studio to 5.8 and also updated android API but the error occurs "NO resource identifier found for attribute 'bottem' in package 'android' (APT0000)"
Comment 2 Jonathan Pryor 2015-06-01 13:43:32 UTC
@Salow: You have a typo:

http://developer.android.com/guide/topics/resources/drawable-resource.html#LayerList

It should be "android:bottom", not "android:bottem" (note "om", not "em").

You're seeing an error because there is, in fact, an error.