Questions tagged as 'android-activity'

1
answer

How to remove the back button on android

How do I remove this back button from my application?     
asked by 13.10.2015 / 01:27
1
answer

Navigation Drawer Activity

I have a problem with an application that I'm developing in Android Studio, it has the option to insert a activity (Navigation Drawer Activity) I inserted it and put a button to call it. The problem is that when I click the button the appli...
asked by 04.02.2015 / 13:37
1
answer

What is the name of this screen on android?

I'd like to know the name of this screen on Android to add to my project. I appreciate it right away.     
asked by 01.12.2014 / 20:55
2
answers

How to close an activity (remove from Foreground)?

I have the following code in my MainActivity class that has an AlertDialog and the onClick () method handling: import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; impo...
asked by 27.09.2014 / 08:16
1
answer

When executing an Activity, I want the execution to wait for the closing to continue, or sequentially execute the code

How do I execute an activity and after closing it continue to execute the code where it stopped, for example: listmarcacoes.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(A...
asked by 21.10.2014 / 23:38
1
answer

Use NotificationManager in a class that is not Activity

I'm having a problem and I'm not getting any better. The problem is this: I have a Fragment in my app, and I want to trigger a notification from it. The line I'm having problems with is this: NotificationManager mNotificationManager = (Notifi...
asked by 22.07.2014 / 20:38
0
answers

How to leave two screens in an activity, being able to change one of them via code

Good morning, afternoon or evening !! I need to make a screen in the android divide in the middle, where the screen above screen a video player, and the bottom a chat, where in a due event will be replaced by another screen, a call screen that w...
asked by 01.10.2018 / 15:00
2
answers

Make FloatingActionButton overlap LinearLayout

Hello, I'm doing a type of ActionBar and I need the FloatingActionButton to override the LinearLayout that is fixed at the bottom, it needs to stay in the same position however on the front of the bar. Follow the image below the LinearLayo...
asked by 12.09.2018 / 12:38
0
answers

Adapting to notifications

Based on some answers found in this site I adapted a code to get notifications at a certain time if someone can finalize this code and help me to activate the notifications Screen on which to call the notification: public class EscolhaLuzCa...
asked by 07.06.2018 / 01:45
0
answers

How to pass an object to another Activity [duplicate]

public class Despesa { private long id ; private Date data; private String local; private String endereco ; private String cnpj ; private LinkedList <Item> itens; private Str...
asked by 29.03.2018 / 03:34