Questions tagged as 'android-activity'

1
answer

Problem with updating a Fragment

I'm learning Android and when trying to develop an application I came across the following situation: I have an Activity that has two Fragments: ReminderListFragment and FilterListFragment . The first fragment has a list of Remin...
asked by 21.05.2018 / 15:51
1
answer

how to show video loop in videoview no android studio

I have a videoview in my android application and the background video is set that way String uri = "android.resource://" + getPackageName() + "/" + R.raw.oceans; VideoView mVideoView = (VideoView)findViewById(R.id.video_login); if (mVideoVi...
asked by 14.05.2018 / 21:03
1
answer

Android message appears in the security configuration log

I have an application that does query data in a WebService using JSON. When I run my application I get the following message in the logs: D/NetworkSecurityConfig: No Network Security Config specified, using platform default Is this an error...
asked by 13.05.2018 / 23:30
1
answer

ViewHolder Pattern in an Activity

Suppose I have an Activity with its layout and, using ButterKnife and the ViewHolder Pattern, I create a nested class in which I step the View root and inject the ButterKnife in it. The goal would be for example, instead of passing View by View...
asked by 19.01.2018 / 18:39
1
answer

ProgressDialog closing before Second Activity opens

I have an Activity called Login_Activity, when the user logs in, I want a ProgressDialog to appear, until the other Activity is fully loaded, because since I'm going to put some things to execute in the onCreate method of the second Activity, th...
asked by 30.11.2017 / 19:05
2
answers

How to call a method of a fragment in an activity?

I need to use a method of a fragment within an activity, but I can not pass a reference to this activity. Can someone help me? The idea is this: public class MinhaFragment extends Fragment{ ... @Override public void onC...
asked by 14.11.2017 / 23:31
2
answers

Passing values between screens [duplicate]

I would like help, I'm new to android development and I'm trying to develop an app. Basically I will need 4 "screens" where 1 is typed one value, next to next, in this "screen" choose one option and goes to the next one, depending on the optio...
asked by 19.10.2017 / 18:55
1
answer

Problems creating app to consume mail services

I'm developing an application that has the objective of consulting prices and ordering times consuming the service of the Post Office. But I'm having trouble implementing the in-app service. How do I transfer data from the entries of the first a...
asked by 08.11.2017 / 22:47
1
answer

When the keyboard is hidden space is not rendered

I have a problem with one of the Activities, in this Activity I have a lot of content, so I'm using a ScrollView. The problem is that as soon as I finish typing in EditText and the keyboard is hidden the space that the keyboard was occupying bec...
asked by 17.09.2017 / 00:13
1
answer

Space between ImageButton Android

I wanted to leave a space between the ImageButton, and a space between the ImageButton and the sides, but I can not. I would like the application to look something like this: ButsheisthiswaywiththeImageButtonalltogether,andpastedonthesideoft...
asked by 29.08.2017 / 07:16