Questions tagged as 'android'

1
answer

open links mo webview without having placed http: // or https: //

I'm creating a browser for android, but I'm having trouble running the url without the need for the protocol on the link, such as open www.google.com and the app automatically puts http: // to stay link and webeview recognize the link. foll...
asked by 30.05.2018 / 05:25
1
answer

Error in image execution of activity_main.xml

I recently installed android studio version 3.0 and followed the installation and configuration instructions, but this error appeared. I uninstalled and reinstalled and persisted in it, what should I do?     
asked by 12.07.2018 / 17:41
1
answer

Android Studio - About Scrollview

I have a normal screen with textview only. And in the end have a Videoview. The scrollview works normally, I can rotate up and down. The problem is that when I start the activity, instead of starting at the top of the screen, it already starts o...
asked by 22.05.2018 / 21:38
1
answer

How to copy children from one node to another node - Android with Firebase

I have an X bank that contains business categories and I want you to manually enter the data into Categories, send a copy to AllBusiness. IamusingthiscodehoweverIamnotfindingawaytojustpickupthechildrenprivatevoidcopyRecord(DatabaseReferencef...
asked by 23.05.2018 / 18:56
2
answers

Error installing mobile app [closed]

I'm getting this error when trying to install the app on my phone, and I'm not able to find the error inside the manifest.     
asked by 03.07.2018 / 16:06
1
answer

Using java.lang.reflect.Parameter in android applications

Hello. I'm trying to implement an android application (with the Android Studio IDE) that uses Reflections to access certain attributes of a class. However, when using the java.lang.reflect.Parameter class in versions lower than 26 (Androi...
asked by 28.05.2018 / 19:55
1
answer

Android - RecyclerView with blanks between items

RecyclerView is showing large white space in the layout. Note: When you start scrolling down, the items appear normally, but when you go back up, you start to see large blanks between the items. Note2: All parent layouts are configured wit...
asked by 24.05.2018 / 03:45
2
answers

TabLayout under the actionbar

I'm going to use a tablouyt but it's underneath the action bar, how to solve it? Screen Xml <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.TabLayout android:id="@+id/tab_Solicitacao" android:l...
asked by 14.06.2018 / 18:30
1
answer

Convert Gson to ListObject

I'm starting to learn how to use the Gson library in my code and need to create a list of objects from a Json file. Json: [{"id":1,"cat":"teste","icone":"icone"},{"id":2,"cat":"teste2","icone":"icone2"}] of this file two Objects (CategoryIt...
asked by 09.05.2018 / 18:41
1
answer

CardView within a ScrollView

I can not get the scrollview to work in my cardview .... As the scrollview works with a single child, I changed the main layout to ScrollView and created a linearLayout to encompass the rest within it. but it does not work at all, I did exactly...
asked by 05.05.2018 / 21:28