Posts by Jose Ribamar • 41 points
8 posts
-
2
votes2
answers385
viewsA: Problem with notification icon
Perform the following Test: { "to": "MYDEVICETOKEN", "notification": { "body": "Test from postman", "icon": "ic_notification" } }
-
0
votes2
answers709
viewsA: How do I place the image next to the listview items?
You just need to create an xml of your list item. <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout…
-
0
votes1
answer48
viewsA: With creating a Archbar without the arrow icon in the left corner?
If you are using the v7 toolbar, you can remove this button with this code: ActionBar actionBar = getSupportActionBar(); actionBar.setDisplayHomeAsUpEnabled(false); you can read android here and…
-
0
votes1
answer143
viewsA: Add navigation-Drawer layout to a project with activitys already created
To start using the Drawerlayout and the Navigationview in your project, you will need to import the Android support and design libraries. Therefore, add them to the file build.Gradle from your…
-
0
votes1
answer208
viewsA: How to change GPS location icon in Android Studio?
Hello you can use the Marker class https://developers.google.com/android/reference/com/google/android/gms/maps/model/Marker GoogleMap map = ... // get a map. Marker marker = map.addMarker(new…
-
0
votes1
answer39
viewsA: Scrollview containing Relativelayout
Utilizes the NestedScrollView, as the name suggests is used when there is need for a scrolling view within another scrolling view. Normally, this would be difficult to accomplish, since the system…
androidanswered Jose Ribamar 41 -
1
votes3
answers487
viewsA: Execute code before executing the first Activity
You can control this by creating a class that inherits from the Application class, and in it you control a variable that will be saved in preferences. Defining your application class If we want a…
androidanswered Jose Ribamar 41 -
1
votes2
answers123
viewsA: How do I get data from one node within another node in Firebase with android?
You can scroll through the Datasnapshot object with the Child key Ex: for(DataSnapshot dados: dataSnapshot.child("usrCategoriaUsuario").getChildren()) { if(dados.exists()) { Categoria cgr =…