I have an application that is basically a video player, in the gallery it happens that when I change the orientation of the screen or return of the player to the fragment the bottom of the RecyclerView gets "polluted":
Asyoucansee,it'sasif...
This is my scenario, I have Activity with Navigation Drawer implemented, and in that Activity contains a container where Fragments is called.
My problem is this: I want the Navigation Drawer burger icon to b...
I have a TabLayout , and within one of the tabs a Fragment , which has a RecyclerView , and each item is a CardView .
I had just tested this part on a separate project and it worked perfectly, but when I went through t...
I can not add a map in a fragment, does anyone please have some example of how to implement it in an app with android 5.0 or higher?
Map tab: has a map with some markers.
Projects tab has a projects listview
Button + add a project...
Good evening .. I'm a beginner in Java Android and I'm developing an application to be used in the Gertec credit card machine. But my application will have other forms of payment besides card (money, check, term note).
I'm doing the selling part...
Good night, I'm having problems in calling a dialog fragment in android, with an activity that is encoded in Kotlin, calling a Java-encoded fragment dialog, the NPE error is happening in the line "datePicker = getActivity (). getLayoutInflater (...
I'm trying to overwrite the OnItemSelected method of a Spinner in my Fragment , just as I did with the Button , but it is not working ... How would I achieve the same result?
Inside the OnCreate, the commented block works perfectly, bu...
I have 2 layouts and the fragment classes, one layout is what should appear when the screen is vertical, and the other is for when the screen is horizontal. How do I "inflate" one and "deflate" the other for when the screen rotation occurs and...
While opening the Android app project for a friend of mine on my PC, I came across these errors.
How do I resolve this?
screenshots:
Grandle'scode(moduloapp):
apply plugin: 'com.android.application'
android {
compileSdkVers...
Well, I started studying java for android development this year and now I'm interested in browsing tabs that stay on the toolbar. Well, I was able to understand part of the code, but I could not change the content of the fragments. Could someone...