Posts by Icaro • 511 points
26 posts
-
0
votes1
answer84
viewsA: Floatingactionbutton using Relativelayout
Andre, you need to fix the button in the margins. That’s how it works. <android.support.design.widget.FloatingActionButton android:id="@+id/floatingActionButton9"…
-
0
votes1
answer325
viewsA: Firebase Removevalue
Use on this line mDatabase = FirebaseDatabase.getInstance().getReference().child("Users"); the uid sought: mDatabase = FirebaseDatabase.getInstance().getReference()…
-
0
votes2
answers257
viewsA: Problem recovering with Firebase
You need to make a change like this. mLikebtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick (View v){ //Aqui você faz a mudança que precisar. //Apois mudar, o…
-
0
votes1
answer694
viewsA: How do I edit a Child in firebase?
After retrieving the comment, you use the same path you recovered to publish again. The comment will be replaced.
-
-1
votes2
answers99
viewsA: Icons in actionbar do not appear
Try to get this super: super.onCreateOptionsMenu(menu, menuInflater);
-
0
votes3
answers2785
viewsA: How to have a full-screen Webview?
EDITED: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <WebView android:id="@+id/webView"…
-
-1
votes1
answer528
views -
1
votes1
answer597
viewsA: Collect data from Facebook SDK User
I think you need to put email here: login_button.setReadPermissions("public_profile"); Thus: login_button.setReadPermissions("public_profile", "email); It is also good to check on the facebook site…
-
1
votes2
answers871
viewsA: How to put notifications in an Android app?
You could use firebase for this, I think quite limited. Better use Signal One. https://onesignal.com/ - https://documentation.onesignal.com/ Easy to follow tutorial -…
-
2
votes2
answers68
viewsA: Como Release App
You need to generate release.store. After watering, you will configure in Generate Signer APK. And put the data you use in Generate Signer APK, in your Gradle.…
-
0
votes1
answer281
viewsA: Tell Likes Firebase Android
You must have a class, which encapsulates the content of the blog post. Adds a variable, which counts the Likes. It can be a list or even an int. In the Database Reader, you capture the content you…
-
2
votes1
answer96
viewsA: Alertdialog with background
You can create a layout.xml and add to Alertdialog final AlertDialog dialog = new AlertDialog.Builder(suaActivity.this) .setView(R.layout.seulayout) .create();…
-
1
votes1
answer83
viewsA: Listview Adapter problems with whitespace
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"…
-
-2
votes1
answer288
viewsA: How to add navigation Drawer
Example of use ta Toolbar with navigation Drawer It’s an example from Ricardo Lecheta’s book…
-
2
votes2
answers633
viewsA: Toast is not displayed
You can only modify the "screen" inside the thread main, the MainThread. Do it in the place you need it to work. SuaAcitivity.this.runOnUiThread(new Runnable() { public void run() {…
-
1
votes1
answer40
viewsA: I’m finding it very complicated to fix the layout in xml
<LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="center_horizontal" android:layout_marginTop="50dp"…
-
0
votes1
answer295
viewsA: Webview with video
You will need to use the Youtube API. https://developers.google.com/youtube/android/player/? hl=en The process seems complicated but is not, implemented in my application in a few minutes.…
-
0
votes2
answers3457
viewsA: How to create a chat app with Firebase and Android?
Here are several examples. https://github.com/search?utf8=%E2%9C%93&q=chat+firebases including the firebase officer…
-
1
votes2
answers344
viewsA: How to put items in a Listview
http://www.codota.com/android/methods/android.widget.ListView/setAdapter Here are the examples. You need "listview" and add an Adapter, with setAdapter(); Take the example, it’s a simple thing.…
-
0
votes1
answer45
viewsA: Sending Arraylist and General value to another Activity
You can do it: Intent it = new Intent(this, proximaAcvitivity.class); it.putExtra("dadosC", vetorConta); startAcvitity(it); The example was seen in this link:…
-
-1
votes3
answers4692
viewsA: Unable to start Activity Componentinfo
Someone of yours is in trouble. Start them on this stretch: int a; int b; int c; Use Log. d to check also.
-
7
votes1
answer792
viewsA: How to change the shape of the button with an animation
Like the Leonardo Dias commented. This is a Fragment Transition Animation Material Design. Sounds complicated but it’s not. It’s just a button that turns into a view that covers the entire fabric. I…
-
1
votes2
answers234
viewsA: I need to click the button twice to get the value
In this section, the process is entering the method, and before finishing textview1.settext("1"+ status); it has already been activated. status = ProcuraReserva(editext1.getText().toString());…
-
4
votes2
answers1017
viewsA: Add new fields dynamically
I believe you can add a new Botton, with addView. Example: "linearLayout.addView(Botton);" Example I have here: View view = getActivity().getLayoutInflater().inflate(R.layout.scroll_crews,…
-
3
votes1
answer1041
viewsA: Onclick problem, I cannot pass Array information to a text view
I don’t think you declared acitivity in manifest.xml "have you declared this Activity in your Androidmanifest.xml?"
-
3
votes1
answer197
viewsQ: How to make a similar google play viewpager?
Expensive, Does anyone know how to make a layout like google play? When Tablayout is selected, the viewpager changes the entire view, not just the bottom (or top) I need to make the change this way.…