Questions tagged as 'android'

2
answers

How to update a listview from the action bar button

I'd like to know how I can do to update a listView from a button in the action bar . Clicking on this would be updated by taking the data again from the link site. This listview takes data from the site link and does the imple...
asked by 24.04.2015 / 05:49
1
answer

How to make a Floating Action Button?

I'm developing an Android application, would you like to know or some example to include a Floating Action Button? This Button Floating Action Button would be a shortcut to an action on the system, in my case it would call an activity. This b...
asked by 19.08.2016 / 18:57
1
answer

How to increase text size of AlertDialog?

Can you increase the size of the letters of a message that I display within a AlertDialog ? Code: AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); builder.setMessage("Gasolina"); builder.setTitle("Sua melhor...
asked by 19.08.2016 / 15:06
1
answer

How to disable the scrollView interaction on the user's screen?

On the screen, the user should not be able to tweak Scroll , his move I'm doing all by code like this: Drive: public void move(View v){scroll.scrollTo(160, 0);} I'm looking for a way to block moving the screen to make it just by...
asked by 29.08.2016 / 13:58
2
answers

Using Fragment, Error in Activity

I'm creating an app and would like to know where I'm going wrong, it's working, but in the error fragment activity. package com.example.ronysueliton.patospizzas; import android.app.ActionBar; import android.app.ActionBar.Tab; import android.o...
asked by 11.04.2015 / 17:29
1
answer

Script language for JVM and DVM

I intend to use a script language coupled with Java SE applications, my fear is to develop something and then later have a hard time porting it to the Android platform. I'm not a professional in the area, but I know the importance of portability...
asked by 08.05.2016 / 05:52
1
answer

Why is my app not compatible with some devices on Google play?

I posted an app on google play, but unfortunately it is not available for some of my devices. I'm very confused because in the development with Eclipse, I used the same devices for testing and they work perfectly. Are there any missing settings...
asked by 24.12.2014 / 02:04
1
answer

How to use variables in a location outside the scope where they were created?

I have the following code: public class TracoActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_traco); int mc = 15;...
asked by 26.12.2014 / 07:31
1
answer

CheckBox checked / unchecked does not follow instructions

Activity starts with the layout activity_home and the CheckBox unchecked. When I touch% color, the layout becomes CheckBox , but activity_home_avancado remains unchecked. On the second touch, it is checked...
asked by 17.12.2014 / 04:36
2
answers

ListView duplicating data in the android application

The listView whenever it loads duplicates the data, this happens if I quit the application without shutting down, shutting down the application works normally Whenever the code BackTask bt =new BackTask(); bt.execute(); is executed t...
asked by 28.10.2015 / 20:29