Questions tagged as 'xml'

2
answers

Import custom fonts to Android Studio for use in Layouts?

Good, how do I use custom fonts in android studio for Layouts, can they only be set programmatically or is there a way to place them directly in Layout in XML?     
asked by 24.05.2016 / 20:30
1
answer

How can I modify an xml file, delete and write a child, in java?

I have an eclipse project based on JAVA, in this project I have an XML file where I keep data from nursing staff, what I want is to eliminate a nurse (a child) from this file, I also want to write about this data . please give me examples, some...
asked by 12.06.2016 / 01:56
1
answer

read .xml files in reverse order

I am generating the reading and writing of files .xml via php, the problem is that they appear from the first to the last one and I want the last ones to be added to be the first to appear. Here is the code: <?php for ($i...
asked by 05.06.2016 / 21:33
1
answer

java properties / xml as constant

I try to collect values from a .properties to use it in an annotation, but it is not possible to do it with ResourceBundle since the annotations work with constants and the result of this, it is not. I tried to change the properties to .xml by c...
asked by 04.09.2018 / 13:01
1
answer

Type password in android EditText

When entering the password, I want them to leave *, periods or something so that it is not visible. I have the following editText <EditText android:id="@+id/edit1" android:layout_width="match_parent" android:layout_height="wrap_...
asked by 27.09.2018 / 17:52
1
answer

Delete xml elements

Hi guys I'm loading the tag items from the following xml in a dridView: <?xml version="1.0" encoding="utf-8"?> <grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="es-MX" mode="voice" tag-format="semantics/1.0" r...
asked by 01.10.2018 / 17:59
2
answers

Error printing XML created in Java

Good morning, I am developing a program that through classes I can generate an XML, this is my code, which DOES NOT have any error, I do not mark error in any line. (I'm developing with xstream bookstores) Book package ejemplo.xstream; publ...
asked by 29.11.2018 / 18:23
2
answers

Android ScrollView Hidden Elements

I have an XML which adds a ScrollView if some device had a smaller screen, the problem comes in that by focusing on the last element of my edittexts the accept button which is always in BOTTOM true I cover my box where I am...
asked by 15.03.2018 / 18:11
1
answer

Read xml file and persist information every so often

This is the scenario: I have an xml file that contains information that must be stored, updated or deleted from my database every month. I have taken two approaches to read the file from Java every so often: I used a cron with @Scheduled...
asked by 16.03.2018 / 11:55
2
answers

ScrollView does not work: ScrollView can host only one direct child

Good afternoon, I'm trying to add a ScrollView but it's not working, the xml file is: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://...
asked by 29.01.2018 / 21:48