Questions tagged as 'xml'

2
answers

It has how to configure an image in ImageView so that it takes the whole screen of the mobile

The following declare normal to ImageView : <ImageView android:id="@+id/imageView1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/imagem"/> but the image does not f...
asked by 27.01.2015 / 12:44
2
answers

Process NFe XML in Python

I have the following code that aims to fetch a particular node from an Electronic Invoice XML, but without success. I tested it with other XMLs and it worked. import xml.etree.ElementTree as ET tree = ET.parse("nfe.xml") doc = tree.getroot()...
asked by 01.06.2016 / 10:41
1
answer

What is the difference between marginStart / marginLeft and marginEnd / marginRight?

I know this is a fairly simple question, but I have already tried it and still have not found a satisfactory answer. After all, is marginLeft not equivalent to marginStart ? And would not it be the same for marginEnd and m...
asked by 21.12.2016 / 19:30
2
answers

Extract XML tags C #

I was able to get a tag, but I did not find a way to get a repeat tag and store each repetition in a list. XML Example <casa> <porta> <janela>Janela 1</janela> <janela>Janela 2</janela> &...
asked by 11.10.2018 / 13:44
1
answer

How to create a TextView and ImageView via code?

I would like to know how to create a code TextView and ImageView and destroy it via code.     
asked by 20.02.2016 / 14:20
2
answers

Read XML with like nodes PHP

I have the xml example: <Listings> <Listing> <Title>Nome</Title> <Details> <Description> dados </Description> </Details>...
asked by 30.08.2018 / 02:56
1
answer

Deserialization XML

I have a method that does a query to a WebService, with the return I do a deserialization of the XML received. It turns out that if I do the deserialization in memory it gives an error saying:    xmlns="http://www.portalfiscal.inf.br/nfe" not...
asked by 18.08.2016 / 22:54
1
answer

XSD For Class C # Enum

I'm generating a class with XSD.EXE from a schema. I am summarizing the posting only the part of the schema that generates the enum that I doubt. <xs:simpleType name="TCodUfIBGE"> <xs:annotation> <xs:documentation>...
asked by 21.09.2016 / 16:41
3
answers

how to change the color of the button via code in android?

How to change the color of the button via code, because when touching the button I want it to change the color, the color is inside the drawable.     
asked by 18.02.2015 / 18:49