Posts by Artur Mafezzoli Júnior • 441 points
53 posts
-
0
votes1
answer118
viewsQ: Center an image within a Textview
How do I center an image inside a Textview? I used the attribute: android:drawableStart="@drawable/email" But the image is decentralized: In this case I can work with this image inside Textview or…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer777
viewsQ: Connect Firebase to Postman
There is possibility to connect to firebase the Postman tool ? I need some program to make the connection and then perform "POST" inside the firebase. I need to register several products there that…
-
0
votes0
answers113
viewsQ: Image getting behind the background
I would like to put an image in front of another image. I’ll explain it better. I have a background and want to put an image on the dividing line between Relativelayout and Scrollview. On native…
-
0
votes1
answer176
viewsQ: Cardview with multiple images
Could someone help me as I do for each card of that ai exchange the images using the library ?…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer24
viewsA: maxLine already set but jumps line
Library utilizes: app:met_singleLineEllipsis="true"
androidanswered Artur Mafezzoli Júnior 441 -
1
votes1
answer24
viewsQ: maxLine already set but jumps line
I know if using the native Textview android and set the android:maxLines="1" it does not let the user skip line. But I’m using Textviews from <com.rengwuxian.materialedittext.MaterialEditText:…
androidasked Artur Mafezzoli Júnior 441 -
0
votes2
answers83
viewsQ: Listview surpassing Toolbar
Does anyone know why mine listview is overtaking the toolbar? I already put the attribute app:layout_behavior="@string/appbar_scrolling_view_behavior" and yet it won’t. Code: <?xml version="1.0"…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer306
viewsQ: Automatic synchronization Firebase
Hi, I’m going to ask this question because I’ve read several Firebase documents and I haven’t been able to get anything so far. First of all I know that my question may have several extensive…
-
0
votes2
answers100
viewsQ: Scroolview passing the Toolbar
I’m trying to create a registration screen with a Scroll, with a Scroll. However Scroll is overwriting the Toolbar. I tried to put the attribute…
-
0
votes1
answer6674
viewsQ: Install Apcu in PHP 7.1
I would like to install Apcu in PHP 7.1 through windows. I am installing an application and running directly on my machine by XAMPP, but when it arrives at the time of installation shows the…
phpasked Artur Mafezzoli Júnior 441 -
0
votes2
answers374
viewsQ: Query bringing duplicate items + product code
Hi, I’m performing an SQL query on my Firebird server. I made the query using the following syntax: select ds_produto_servico, count(ds_produto_servico) from tb_produto_servico group by…
-
0
votes0
answers24
viewsQ: Lines intercalating the colors android studio
I need to merge the colors of the lines in my Android Studio app. I have a part in my app that brings the product features. You can create a table type by interspersing the colors of the lines ? Ex:…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer7024
viewsQ: Paint cell with conditional formatting using SE
I wanted to know how to paint the cell phone of a certain value: For example: I have a salary of R$100,00 in cell A1 In cell B2 goes the sum of my accounts So in cell C1 I would like to paint red if…
excelasked Artur Mafezzoli Júnior 441 -
0
votes1
answer455
viewsQ: Custom listview
I am trying to make a Custom Listview. I have my XLM <ListView android:id="@+id/listViewCliente" android:layout_width="match_parent" android:layout_height="wrap_content"…
androidasked Artur Mafezzoli Júnior 441 -
-1
votes1
answer113
viewsQ: Set comma in a return Json
Guys I’m developing an application in C# with API. It will query and shows the result. Simple thing. But in one of my methods it returns the height of the guy without comma. It comes for example…
c#asked Artur Mafezzoli Júnior 441 -
1
votes0
answers84
viewsQ: Integrate Facebook Login into the application. Error in keytool
Hello, I’m trying to integrate Facebook login in my application, so when the user registers he can do this with Facebook. I’ve seen several tutorials here - on the site- and on the internet how it…
androidasked Artur Mafezzoli Júnior 441 -
1
votes0
answers309
viewsQ: Material and design contact profile screen
Opa. Does anyone know if you have any project ready on github or elsewhere on this type of screen ? It is the contact screen with material and design I would like to implement this screen in my…
-
2
votes1
answer274
viewsQ: Collapsingtoolbarlayout change and leave transparent
I can’t change the color of Collapsingtoolbarlayout When I roll it up it gets the image I put in and doesn’t change the color. Before: Afterward: I wanted to take the image and make Toolbar…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer345
viewsQ: Click the button on Toolbar
I have two buttons Save and Record on my Toolbar. I’m not getting the click. If I put the button click in the normal view I can catch the click private class btGravar implements View.OnClickListener…
androidasked Artur Mafezzoli Júnior 441 -
0
votes0
answers35
viewsQ: Parse server query returning empty
I picked up a design from a Listrview’s website Android Hive On this site he makes a query on the parse server and returns the list. I did the same thing in mine but using my server parse. It does…
-
0
votes0
answers42
viewsQ: Custom Listview Not Appearing
I am trying to create a custom Listview. In another project I created a row_client xml and in Listview I put tools:listitem="@layout/row_cliente", but it doesn’t trim my custom list but rather the…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer427
viewsQ: Error in string to integer conversion
I’m trying to register a client in Android internal comic book. I have a field String where I put the user’s phone. This field I do the conversion to Integer using the parseInt…
-
0
votes1
answer730
viewsQ: Recover firebase ID on a Listview
I’m trying to recover the firebase id on my android project. I’m starting firebase now and don’t know much. It’s kind of different from Parde where he already shows me the ID. Does anyone know how…
-
2
votes1
answer420
viewsQ: Error while casting Edittext
I have a problem in my project saving the fields after the changes. On the detail screen I have a change button that when I click it plays to this screen that is below: I believe the error should be…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer36
viewsQ: Click on FAB but do not switch to new Intent
I am taking the click of a list and passing to another Intent. However when I click on the add it gives error. Code; Button cadastrar = (Button) findViewById(R.id.fab);…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer438
viewsQ: Screen "loading" on Activity
I would like to know or understand how to put a loading on the screen. My app consults on a webservice, and sometimes depending on the connection it takes to bring the information. And the app turns…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer134
viewsQ: Error in the Arrayadapter
Does anyone know why you are giving this problem ? After I changed the name of Googleapiclient it gives this error =/ private GoogleApiClient client; @Override protected void onCreate(Bundle…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer174
viewsA: Firebase shows data on one Activity and the other not
Guys, I got it done yesterday. What was happening is a bug. After uninstalling the app and running it again it accessed correctly. Thank you.
androidanswered Artur Mafezzoli Júnior 441 -
1
votes1
answer174
viewsQ: Firebase shows data on one Activity and the other not
I am using firebase. To take a test and how to use it I did the whole procedure in a test Activity of my app. I saw that it worked, so I want to put it to the correct Activity. The codes of both are…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer322
viewsQ: Take current Activity and put on another Activity
My app has an Activity which is a customer list and also a sales Activity. When I only click on a name on the customer list it opens the customer details. There’s all the customer data. So far so…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer110
viewsQ: Grab master key android studio to set up in parse
I am configuring the Parse server in my project. As I have never handled this before, I did a test before in a test application and ran 100%. I tried to configure again for my android project and…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer64
viewsQ: Open Inside of a listview
I have a list of customers. I would like when I click on a customer to open a new website. But I did something wrong. Follows the codes: list.setOnClickListener(new View.OnClickListener(){ @Override…
androidasked Artur Mafezzoli Júnior 441 -
3
votes1
answer1218
viewsQ: Animation when you touch the button
I have a registration screen, where a standard photo is already set. If I press on top of the photo it opens 2 options to change the photo. Either grab by the gallery or take a photo. By clicking on…
-
0
votes1
answer352
viewsQ: Firebase does not communicate with app
I recently started working with firebase. I am following a tutorial on the internet, and in my application the status does not update. I know that with Firebase he updates on time. I’m working on…
androidasked Artur Mafezzoli Júnior 441 -
1
votes2
answers287
viewsQ: Cardview of welcome
I got a welcome cardview. I would like after the first view the user pressed the Ok button, understood and the card left and no longer appears. I already put onClick in XML:…
androidasked Artur Mafezzoli Júnior 441 -
1
votes2
answers467
viewsQ: Nav Header with login
I have the Drawer navigation menu and in the header part I have only one image. I would like to put for the user to perform a login. As kids I would like to leave as in the image below: I would like…
-
3
votes2
answers154
viewsQ: Toolbar stands in front
I have a problem where my Toolbar is in front of my view. I have a scroll view and when I slide it up it looks like this. Follows the xml: <LinearLayout…
-
4
votes1
answer1246
viewsQ: Tap the photo and open the gallery and camera
I have a registration screen where you have a default photo of a user. I would like to put both options. When the user touches the photo open an option for him to take a photo of the crowd and…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer3604
viewsQ: Coin mask on the field
I would like to create masks in my android number field. I’ve already managed to add the mask ###,##. But this is not a good practice, because if I want to add a value of R $ 1,000,00 the field does…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer565
viewsQ: Function to Open Calendarview by clicking on Relayoutlayout
I have a screen where I would like the user to click and open the system’s native calendar. Only I would like the CalendarView was opened even if you clicked on RelativeLayout that covers it. I…
androidasked Artur Mafezzoli Júnior 441 -
3
votes2
answers639
viewsQ: Registration screen skipping field with "Enter"
I made a registration screen, but when the user gives enter on the keyboard it skips a line. Is there any way to block this ? Follow the prints for better understanding:…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer355
viewsQ: Transparent Toolbar on an Activity only
I have an xml called Toolbar, and reuse it on all my screens calling the <include layout="@layout/toolbar" /> On a specific screen I would like Toolbar to be transparent, but with a slight…
androidasked Artur Mafezzoli Júnior 441 -
4
votes1
answer105
viewsQ: Typing box
I want to implement in my application the similar model of google Contacts. I’ve tried to put app:civ_border_width="1dp" in xml but also failed. I would like to do the same image below:…
-
2
votes1
answer358
viewsQ: Dependencies Gradle with error
Every time I try to introduce any API in my project and put Compile there in the dependencies of Gradle it gives error and does not come out of it. I’ve tried synchronizing too. The Gradle only…
androidasked Artur Mafezzoli Júnior 441 -
0
votes2
answers771
viewsQ: Back button without action bar
I removed the action bar from a single acitivity. But in my Action bar has the back button. If I remove the action bar logically the button comes out together. But I would like the button come back,…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer436
viewsQ: What to use instead of . getIntent
Does anyone know what syntax I use instead of .getIntent. Follows my code: Intent myIntent = Intent.getIntent(); if(Intent.ACTION_SEARCH.equals(myIntent.getAction())){ String query =…
androidasked Artur Mafezzoli Júnior 441 -
1
votes1
answer168
viewsQ: Click on the icon of the action bar to open a new entry
I would like to know how to click on the icon/word in the action bar and open a new. Here’s what I’m doing: @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId())…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer426
viewsQ: Card View with Scroll
People started to make my application, but I forgot to put a scrollbar for it to slide. Result, the cardview went past the screen. I tried to add the Scrollview tag at first but it doesn’t work.…
androidasked Artur Mafezzoli Júnior 441 -
0
votes1
answer334
viewsQ: Text inside cardview by half
I wonder how I put the text inside a cardview higher. In my code it’s like this: <android.support.v7.widget.CardView android:id="@+id/card_view8" android:layout_width="fill_parent"…
-
0
votes1
answer97
viewsQ: Toolbar together with Tabhost
Hello. I have created two tabs in my application. Open Request and Closed Orders. But in this Activity Toolbar does not take. Code: public class PedidoActivity extends Activity { /** Called when the…
androidasked Artur Mafezzoli Júnior 441