I have a simple media player app that works fine for a while (like each song will play about 50 times) and then starts to crash on almost all the media files (a few still work but lag really bad; there is no lag until the errors). These errors continue even after stopping the activity and...
autoCompleteTextViewFreqFunction.setText(function);
autoCompleteTextViewFreqFunction.performCompletion();
This successfully selects the text I want.
The problem is, I have some code that needs to be run after an item is selected and I am unsure how to go about it.
I can call code...
The first one is fine. What could be wrong?
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"...
I am using https://developer.android.com/training/appbar/actions.
How do I add the menu items to the toolbar?!?!?!?!?!?! Who wrote this unusable documentation?
I even had to ghetto rig how to add the toolbar because setSupportActionBar() didn't even work. I ended up adding the toolbar to a...
I am trying to create a GUI that looks kind of like this:
_____________
_|___|___|_|_|__
_|___|___|_|_|__
Each rectangle is a unique clickable View. Needs to scroll horizontally and vertically. Need to add or remove rows and columns at any position. Columns need to be the same width.
I have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.