Questions tagged as 'android'

3
answers

Animate the text of a textView so that it can be displayed progressively?

I would like the textView text present in my activity not to be displayed all at once, but gradually, something like a Power Point transition. An example of what I want to do exactly would be dialogue texts from the GBA pokemon games SEE FRO...
asked by 20.03.2017 / 22:36
1
answer

How do I call a component and its properties in the Fragment?

I needed to enter Fragment to execute this method Verifcar() on main Activity to check the condition and not show RecyclerView . MainActivity.Java public void Verificar(){ if(pref.getBoolean(Constants....
asked by 24.05.2018 / 15:44
1
answer

I'm having trouble opening an activity fragment

I'm using trying to set up a floating button for this action: Xml: <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xml...
asked by 08.05.2018 / 19:11
0
answers

Change the text color of a button via XML when clicking on it

Good afternoon!   I'm creating a styleGuides for an android application and I'm having a hard time changing the text color of the button to the moment it is clicked by the user:   In this example I'm creating a cancel button, where, initially, t...
asked by 05.05.2018 / 20:08
1
answer

Cast webview android studio

I'm making an app for my site, which is just a webview, can someone tell me if it's possible to put it on Smart TV? if so, can you tell me where to study? or even help me right here, I only have WEBVIEW so far.     
asked by 17.05.2018 / 06:47
1
answer

Android - Is it possible to play videos in a WebView?

I'm developing a browser for android with java. It works entirely through WebViews. But the app is not able to play videos via stream ... I wonder if it's possible to get it done. Thank you. WebView in xml: <WebView android:layout_height...
asked by 29.04.2018 / 16:38
0
answers

How to add a Menu in a single Fragment?

I have 3 Fragments and all of them in a single Mother activity. I want the following menu: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:titl...
asked by 07.05.2018 / 17:02
0
answers

TextField with initial value in ConstraintLayout

I can not identify the error in the XML specification, with each character added at TextField initialization, which is inside the ConstraintLayout, the LinearLayout root increases height. In advance thank you. Theredbackgroundlayout,which...
asked by 14.05.2018 / 23:05
1
answer

Cast on a SoapObject

I have the following code to consume WebService : public List<Convenio_Conselho_Grid_BD> Pesquisar_Convenios(int pCodigo_Entidade) { SoapObject request = new SoapObject(oFinanceiro.WSDL_TARGET_NAMESPACE, oFinanceiro.OPERATIO...
asked by 02.05.2018 / 22:10
1
answer

Android - How do I create and combine two tables within a list of SQLite tables on Android?

I'm creating an application to monitor the aquarium settings using the following scheme: The user can monitor as many tanks as he wants, but every time he adds a new aquarium, these two tables should be created and always linked. And...
asked by 03.05.2018 / 11:05