Questions tagged as 'xml'

1
answer

Magento 2, how to know the names of the blocks?

I'm looking for a way to know the names of the blocks to be able to modify them, if I want to change the location to the blocks. I'm working on Magento_catalog . Those who have good knowledge of Magento 2, how to completely change th...
asked by 18.09.2016 / 20:16
2
answers

distance 0 between a LinearLayout and a FloatingActionButton within a Scrollview

How can I leave a LinearLayout and FloatingActionButton inside a Scrollview with no distance between them. For example convert image one to image two          image 1             image 2 Code xml <ScrollView android:...
asked by 13.12.2017 / 01:03
1
answer

How to prevent the text of a ListView from leaving the frame?

basically my problem is described in the following image. What would be his would be that each element of the ListView was according to a fixed size, and in the case that it will surpass that it was written below. Step part of th...
asked by 04.05.2017 / 12:17
0
answers

Parallax Android ObservableScrollView without Toolbar

I am interested in doing a XML to make the Parallax effect with the following items, using a third-party library called ObservableScrollView : <ImageView/> <CardView/> //ImageView y CardView creo que deben de ir en un mismo...
asked by 04.04.2016 / 11:47
3
answers

How to get the elements of the same name from an XML?

I need to get the attribute url of all elements <media:content/> of an XML similar to this one. <rss version='2.0' xmlns:media='http://search.yahoo.com/mrss/'> <channel> <item> <...
asked by 01.04.2016 / 20:23
3
answers

Get Button ID

I'm doing an app where I insert a series of buttons programmatically, this is my code and it generates it perfectly well. Where I have doubts is how to get the id of each button and show a msg that has been clicked on that button I hope you can...
asked by 18.05.2018 / 21:26
3
answers

Equivalent to "Position relative" in XML android studio, overlay layouts

How can I superimpose two layout in order to create the effect of the image with the number 2 using XML in Android? I think I have read at some point a property that works similar to what is in CSS position relative, which allowed moving the...
asked by 19.09.2018 / 20:36
3
answers

Problem in XML document declaration [closed]

I create an XML document from code, and I need the statement to look like this: <?xml version="1.0" encoding="UTF-8"?> With the code that I wrote it only shows the version, How can I do it to show the coding? <?xml version="1.0"?...
asked by 07.02.2018 / 15:05
3
answers

Cleaning indexes in Google Datastore

I have an application in
asked by 14.06.2016 / 06:39
1
answer

Convert a date format to Java

I have a method to parse from an xml in the form of a string, to a Request object. But in the xml the date comes to me like this: 2009-06-12T00: 00: 00 + 02: 00 Then I do not know what format to give the SimpleDateFormat to be able to conv...
asked by 21.09.2018 / 10:13