Recently I got an error that I cannot solve despite having everything needed in my gradle and imports. I tried restarting the app, rerunning it and changing the imports but nothing changed. Android studio cannot resolve symbol ‘view’, is about the variable. Maybe is something that I missed. I don’t know. Here are the imports ..
I’m making an application in which I want the user to be able to color a certain area that changes according to his settings, and this area is displayed on the screen in the form of a custom view. Accordingly, the drawing is done using a different view. How can I make it so that ..
I am trying to display multiple textviews in an array. It should first show a hint to enter value and on click it allows you to enter value, once done, the screen shows the value with another field below to enter the next value Header —- Total Header —- Total Header —- Total But the ..
How can I create a view like this on Android? Is there a library I can use? Source: Android..
Hi guys i’m a beginner android dev and i have a question that i didn’t find it answer yet. I want to add an onClickListener for a Button after keep clicking on it for 1.5 seconds for example? Source: Android..
I am learning android by creating an app that will send survey to firebase RTB. I have a problem to get the tag of textView and editText that been generate programmatically by buttonClick. I successfully generate all of the textView and editText like in the first picture, but to get the value that been put ..
I am trying to hide a view after showing for a set time but the problem is that if the view is set to hide after 10 seconds and you change the view after 5 seconds, the view disappears after 5 seconds instead of 10. I don’t know how to change this behavior. new Handler().postDelayed(new ..
I’m new to flutter but I read that there were no easy way in flutter to animate vector drawable as Android allowed to. I own a vector progress bar which I want to animate to make the progress. Then I tried to use the platform channel to get the Android / iOS native code to ..
I’ve got a SettingsFragment with a SwitchPreferenceCompat-Control <SwitchPreferenceCompat app:key="my_key" app:title="@string/prefs_my_title" /> I’m using https://github.com/worker8/TourGuide and want to lead the user through the necessary settings – how can I get a handle (must be a view) on my switch to pass it to Tourgide? I already tried to get a handle by <SwitchPreferenceCompat android:id="@+id/myId" app:key="my_key" app:title="@string/prefs_my_title" ..
I want to set rounded menu corners in Android. I already did that with a custom drawable and set it as menu background which works well. But when I click on a menu item the grey hover view is still a rectangle so it hovers out of the menu background. Is there an option to ..