Questions tagged as 'android'

2
answers

Partial URL + Uri.parse

I am faced with a problem trying to add a partial URL + a domain or URL generated by an EditText, I leave an example of the code if there could be one telling me where the error is, since I can not find a solution by any means. Code: Uri ur...
asked by 16.11.2016 / 06:27
2
answers

Have an onClick of a deactivated item

I have a textview off. campoTv.setEnabled(false); and I am looking to send a message (toast or similar) with a message saying that it is disabled ... when you click on it. But when I use setEnabled(false) I can not access my...
asked by 06.03.2017 / 20:25
2
answers

Activities on android [closed]

I have doubts about the life cycle of an activity. It is not very clear to me what should be done in what method. It is assumed that in onCreate I simply declare the views and the elements it contains and in onStart and onResume...
asked by 26.11.2016 / 07:46
2
answers

Difference between AppCompatActivity and Activity [closed]

I have a little doubt what difference there is between an AppCompatActivity and an Activity when it comes to extending a class? Thanks in advance     
asked by 02.05.2017 / 19:10
2
answers

Error comparing values in Android (if)

I have the following Activity which starts a service type service on android for it within my class Activity I have the following Intent i_service = new Intent(getApplicationContext(), MyService.class); i_service.putExtra("nombre_clase...
asked by 05.05.2017 / 08:21
1
answer

How to superimpose a layout on top of another layout?

I have a splash screen within a relative layout that is responsible for filling the screen of the mobile with the logo of the app. So far so good, the thing is that I'm trying to implement a progress bar so that as you carry out the checks you i...
asked by 21.04.2017 / 11:46
3
answers

Android components together when running app

First time this problem happens to me, I created a very small application from scratch, everything is perfect in the design, but when you run the app, everything comes together on the top - left side. Here the code: <?xml version="1.0...
asked by 25.04.2017 / 01:29
3
answers

Problem with AndroidStudio library

Good morning, I try to add the compile 'com.android.support:design:22.2.0' library to my program: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' compile 'com.andr...
asked by 27.11.2016 / 22:02
1
answer

How to push the other layouts when scrolling in Listview

Good, as you can see in the image below (this image does not correspond to my app, it's taken from google because it serves as an example), it has a listview , and what I want is to scroll up with your finger, the layout above that contain...
asked by 17.11.2017 / 15:38
2
answers

How can I launch an intent by clicking on the child element of an expandable List?

I want to launch an intent but it gives me an error and I do not locate the why. Any suggestions I get the error when creating the intent: @Override public View getChildView(int groupPosition, final int childPosition,...
asked by 14.02.2017 / 13:41