Questions tagged as 'android'

1
answer

Unreachable Statement

I need help, at line 107 android studio shows an error that says:    "Error: (107, 48) error: unreachable statement" Since Line 106, which is AdapterView.AdapterContextMenuInfo info, is in red. When I remove line 107 which is the...
asked by 15.07.2015 / 19:17
1
answer

How to change minSdkVersion on Android

I'm having some problems running on my actual device. Essseisabovemydevice,andtheonebelowistheconfigurationofmyproject.applyplugin:'com.android.application'android{compileSdkVersion22buildToolsVersion"22.0.1" defaultConfig { appl...
asked by 03.07.2015 / 22:24
2
answers

Error in the device (Samsung Galaxy S4) when running app, but in the Emulator it works!

I have a problem, I made an application that consumes a webservice RestFull made in Visual Studio, when I run the Android Studio application, it consumes without problems, but when I use it on the device (Galaxy S4) or Samsung Tablet, it does...
asked by 28.07.2015 / 17:59
1
answer

What is RecyclerView on Android?

What is the function of RecyclerView in an Android application?     
asked by 24.08.2015 / 21:44
1
answer

How to change the brightness of the EditText cursor?

I would like to know the name of the attribute that changes that color bar, Thanks.     
asked by 02.07.2016 / 22:45
2
answers

Error using string of values

Hello, I'm using string within values. It's all working fine, but when the sentence is made up of something that comes from the bank (for example) and a string, it's putting numbers instead of text. numeroAvaliacoes.setText(" " + object.get...
asked by 12.12.2016 / 14:05
2
answers

Underline a word inside a TextView [duplicate]

How can I emphasize, leave a single word inside a TextView in bold / italic? For example: <TextView android:text="Abelha Barco Casa Dado" android:layout_width="wrap_content" android:layout...
asked by 22.12.2016 / 20:50
1
answer

Open screen inside the mainactivity

I'm doing a mechanics calculator, but I wanted to make several calculation options in navigation drawer and when I click the specified calculator loads on the screen (the intention is to make a activity for each type of calculation...
asked by 20.12.2016 / 19:18
1
answer

I have a checkbox set but only wanted one selected

I have a set of checkbox but only wanted one selected and, if they selected another, the one that was selected was deselected. I've tried this, but it does not work: if (chkfemenino.isChecked()) { params.add(new BasicNameValuePai...
asked by 28.04.2015 / 12:58
3
answers

How to make the "adapter.getItemPosition" get only part of the String and hide the other party at the time of displaying the ListView?

I have a listView that returns two strings to one each row. The code and the name of a country, I would not like to present the code but I need it for when the user clicks on the line to get the code and search the bank. My line is like "345 Bra...
asked by 29.09.2015 / 15:52