Questions tagged as 'android'

2
answers

Error compiling a project in Android Studio

Update to version 3.0 of Android studio, now when loading my project I get this error:    files under the "build" folder are generated and should not be edited I tried sync project with gradle files . Close and open but from what I have...
asked by 30.10.2017 / 21:05
1
answer

Uri in ImageView, does not load when closing application

Currently in my Android application, I have in my menu the possibility of saving an image, for this I have a form where I ask the user to choose one of your phone with the following code Code: @Override protected void onActivityResult(int r...
asked by 06.11.2017 / 19:06
1
answer

Deprecated .crossFade () on Android 4 Glide

I have updated from Glide 3.8.0 to Glide 4.1.1 and I find that part of the code has been compatible I followed the installation of Started Glide 4 compile 'com.github.bumptech.glide:glide:4.1.1' annotationProcessor 'com.gith...
asked by 28.10.2017 / 21:58
1
answer

How to fix It does not allow me to modify android: layout_height in a LinearLayout

I'm trying to change the height of the rows that would be displayed in a ExpandableListView , but I've modified the android: layout_height attribute with different values, when emulating changes are not noticed, it is as if it were always "w...
asked by 28.10.2017 / 22:32
1
answer

Help ... ListView does not show Items in fragment until after entering an activity and returning

I have an activity with 2 fragments, The first fragment that is the first one that opens opens the information correctly. The second fragment has a listView that contains a format as if they were comments, this listview fills it with da...
asked by 19.10.2017 / 21:18
1
answer

NavigationView Takes Too Much Space Toolbar

Currently estimated I use NavigationView <android.support.design.widget.NavigationView android:id="@+id/nav_view" android:layout_width="330dp" android:layout_height="match_parent" android:layout_gravity="star...
asked by 03.11.2017 / 18:24
1
answer

Problems with the android emulator

I was working well with the android emulator and when I emulated my app it no longer displays this in the window (Select Deployment Target) , it appears blank and the emulator is ready to be used . I get this error:    C: \ Users \ reddr \ A...
asked by 02.11.2017 / 22:47
1
answer

Default Activity not found

After having deleted and recreated an activity I have the following problem when starting my application, I get "Default Activity not found", this is the file AndroidManifest.xml <application android:allowBackup="true" android:ic...
asked by 03.11.2017 / 16:28
1
answer

Know a key and value with For iterator (DataSnapshot), Firebase - Android Studio

I have a problem with the for iterator (DataSnapshot) since in my app I have an EditText in which when you enter a number it is compared with all the "key" in the database Firebase and if that number entered is equal to some "key" the "value"...
asked by 03.11.2017 / 01:10
1
answer

Error in android.widget.Button.setOnClickListener, "Attempt to invoke virtual method"

Why do I have the following error:    Attempt to invoke virtual method ... on a null object reference the signIn.java is public class SignIn extends AppCompatActivity { EditText edtPhone,edtPassword; Button btnSignIn;...
asked by 12.11.2017 / 15:14