Questions tagged as 'xml'

2
answers

How to do setNestedScrollView in versions prior to Lollipop?

I would like to be able to do a NestedScrollView adapted to versions before Lollipop (API 21) and I am trying to follow the following tutorial: link but I still can not scroll in the text, I use a very simple framework and...
asked by 08.03.2016 / 19:28
1
answer

How do I close an XML document that opens with XDocument in c #?

I want to save an XML document several times in a certain direction. The first time I save my document there is no problem, the situation comes after I want to write it with new information. Try doing it with the following code lines: XDocum...
asked by 31.05.2018 / 18:19
1
answer

XML deserialization to objects C # The specified type is not recognized:

I'm trying to perform the deserialization of an xml to an object. The problem is that when I try to perform this operation I get the following error: {"The specified type is not recognized: name = 'ProductTransfer', namespace = ' link ', in...
asked by 30.06.2018 / 00:22
1
answer

Change the color of a button when pressed [duplicated]

I'm trying to make a Button change color by pressing it but there's no way activity_xml: drawable:     
asked by 01.02.2018 / 05:24
1
answer

Optimize path of XML nodes in VB.NET

I am making an application to extract data from an xml and through them classify the documents in different folders. I use the XmlNodeList and the XmlElement to extract the attribute from the elements but I do it with two for cycles to achieve t...
asked by 08.03.2018 / 19:04
1
answer

TABLE LAYOUT ANDROID

I have the following table with images <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"...
asked by 28.12.2017 / 21:56
1
answer

Prevent EditText from expanding with long text

I have a EditText and two buttons in a relative layout. The problem is that when writing a text that is too long in EditText , even if it fits, the text is displayed behind the buttons. I would like to know if you can limit it to wh...
asked by 26.07.2017 / 16:35
1
answer

The app is closed

The app is running but pressing a button closes the application. JAVA code: package com.example.calculadora.calculadorabasica; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View;...
asked by 14.06.2017 / 09:20
1
answer

Android custom layouts

How can I make two containers in a layout that I have created? The idea is to try to do something similar to what is highlighted in the following image. And try to insert something similar in the topLinearLayout of my code In t...
asked by 22.04.2017 / 01:37
1
answer

Hide keyboard when clicking anywhere in the Activity

First of all, I have seen the questions on this topic but no answer has helped me, so I decided to open a new one. I want the keyboard to close whenever I click outside of it, it does not matter if I do it in a TextView , ImageView...
asked by 11.03.2017 / 23:46