Questions tagged as 'android-studio'

1
answer

onAttach Android Method

Well, I'm having trouble on how to use onattach. I have a view that is set visible when a button is triggered. I would like this View to disappear at the end of a fragment operation. Look at the Code that will make more sense. In Activity:...
asked by 08.09.2015 / 14:55
0
answers

How to customize ShowcaseView?

Hello, I'm having some trouble using the following link library I've browsed, including the proposed documentation. But I can not use certain methods, as android studio does not recognize them. And to be a bit more specific, I would like to...
asked by 07.09.2015 / 12:33
1
answer

Error when trying to open a new activity

This is MainActivity: public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ac...
asked by 26.04.2015 / 06:25
1
answer

problems with emulator

I am trying to program in Android Studio, but I am not able to make the emulator work, I already tried to use my phone, but the choose device does not recognize, but on other computers my phone is recognized and used, what I am doing wrong ?   ...
asked by 10.05.2015 / 18:12
2
answers

How to display the GPS coordinates [closed]

I'm a newcomer, I'm working on Sistemas de Informação and a job has been proposed in which I need to use a hardware element in my cell phone. I have chosen to make an application that displays the coordinates, I manually type the locat...
asked by 18.03.2015 / 00:42
0
answers

Android bug when executing project in emulator

I'm trying to run a project in Android Studio and it's giving an error that I do not know how to solve. Gradle Console: > Executing tasks: [:app:generateDebugSources, > :app:generateDebugTestSources] > > Configuration on de...
asked by 19.02.2015 / 20:29
2
answers

How to remove a View from an xml layout?

for example ... I want to inflate a layout with a certain class, it removes unnecessary views and only uses the necessary ones ... Is there a method to remove views?     
asked by 01.06.2015 / 04:05
0
answers

ImageView Android Responsive for all devices

I have an ImageView and the problem is as follows: On smaller screens the image becomes too large; On larger screens, it gets very small. I have already made the folders hdpi , xhdpi and similar, but it did not help, I was won...
asked by 04.03.2015 / 17:14
0
answers

Use Navigation Drawer and Page Sliding Tab Strip

I tried in every way that I imagine importing this library ( Navigation Drawer and Page Sliding Tab Strip ) in a project, but to no avail. I followed the step by step (importing the other libraries that are mandatory for this library, importing...
asked by 30.10.2014 / 14:35
1
answer

Error occurring in specific API versions

When I create a new project AndIchoosetheminimumSDK10 It creates the Android package with main.java and activy_main.xml (and other things) only when it compiles the codes of those errors and I do not know why. I tested up API 16...
asked by 29.11.2014 / 00:09