Questions tagged as 'android-studio'

1
answer

How do I assign click effects to an ImageButton? [closed]

For example, I added to my xml layout an ImageButton, I put an image and left it with transparent background, for doing so it lost the characteristics of a button, how do I add click effect?     
asked by 07.06.2015 / 17:54
1
answer

ERROR in Android Studio [closed]

This error appeared from nowhere and now I can not emulate the app on the mobile as the simulator follows the error.    Error: C: \ Users \ Rodolfo.gradle \ caches \ 2.8 \ scripts \ asLocalRepo19_3gzxk3w9gvngw8gydvjit5r7x \ cp_init \ cache.pr...
asked by 20.01.2016 / 00:50
1
answer

How to create new folder in an Android Studio project

I'm a beginner in Android Studio and I'm trying to create new folders (values-ldpi, values-mdip, and so on) in the project structure, but I have no option.     
asked by 18.02.2014 / 16:56
1
answer

Pass an image from an activity to main screen

How can I move an image from an activity to another actiivity? I have an image on my settings screen, I want to send it to my home screen. I saved it in my sharedPreferences and would like to use the key on my other screen, just like I do...
asked by 29.11.2018 / 14:06
1
answer

How to install plugins in Android Studio?

How to install plugins to increase the functions of Android Studio? Android Studio is a great tool that really helps to slow down time creating apps, however I'd like to increase my productivity by adding more plugins than automating tasks. A...
asked by 20.02.2018 / 20:29
1
answer

Where are the project files developed in Android Studio on Linux?

I'm developing an Android app using Android Studio, but as I have not yet published it, it's my custom to make a backup at the end of the work day. I'm using Linux and I'm not finding where the project files are for me to do this backup. Where e...
asked by 01.02.2018 / 18:54
1
answer

Error inflating class android.support.design.widget.NavigationView Android NavigationView

Good evening everyone!    I'm trying to create an application with navigationView pwla the first time and I'm encountering problems at the time of the setContentView call (R.layout.activity_main); the application consists of the activity main ca...
asked by 31.08.2017 / 03:25
1
answer

Build Variant Android studio

Why does my build variants (first image) not have the options I want for the build? In this case I intended the "mockdebug" as shown in the second image. WhatdoIneedtodotogetalltheseoptionsinbuildvariants?build.gradleapplyplugin:'com.an...
asked by 21.08.2017 / 16:18
1
answer

Set FloatingActionButton size on Android

private FloatingActionButton createButton(int id) { FloatingActionButton fab = new FloatingActionButton(this); fab.setId(id); fab.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v)...
asked by 29.06.2017 / 23:45
3
answers

Is it possible to reuse a base project for other projects?

I'm developing three similar projects, where basically the behavior of the screens and layouts will be the same. What will change from one to another are texts, background images, icons. How could I reuse a project without having to start over w...
asked by 24.04.2017 / 16:32