Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 months ago. Improve this question I wanna change text size not by android:textSize but change in setting emulator front size Answer Use the setTextSize function on the TextView reference.
Tag: android
Сan’t set custom sound and vibration for notifications on Android Oreo+
I can’t set custom notification sound and vibration pattern for android oreo and above. For earlier versions of android everything works as it should. I wrote my code based on these answers: Custom notification sound , android Oreo?, Custom Notification Sound not working in Android Oreo and others. But none of this had the desired result. The notification comes, but
I want to get all child of child items one by one in firebase database
here is model class : I want that I get all food items from all categories one by one and than show every single food item data in recycler view and after getting list of all items I want that I add only those items in a list which pin value is TRUE here is the java class file code
How to add new key to map in Firestore
I want to add new key to a map. memberFees is a field of a document under collection named Faculty I want to store only the key of each member fee inside the memberFees map. Here is an example of my memberFees map: I only added that keys in the example manually. This is what I did: This code throws
Room Database Empty when Restarted App ( Same DB Name)
I am newbie to the Android X Room Database. Earlier I used Sqlitehelper class to access the sqlite databases and then migrated to room. The question is , when I insert data into Room database table it stores for that moment and when I restart the app the data is gone. I want to have multiple tables in a single
React Native Task error ‘:app:processDebugMainManifest FAILED’
I recently upgraded React Native 0.63.4 to 0.70.1 and have been trying to iron everything out re upgrading packages and dependencies etc. I’m really stuck on this particular error and can’t seem to find a solution. The command prompt says: Task :app:processDebugMainManifest FAILED … FAILURE: Build completed with 2 failures. 1: Task failed with an exception. What went wrong: Execution
App crashes when adding to an ArrayList in a for loop after first succeeful add
Still new to android and java but getting there, here is my problem. The crash occurs at this point fieldsA.add( A.substring(_start, _a[i])); it works the first time but not the second time, I do not get an error in my debug window, just a crash. // number of chars to extract from string value to add to ArrayList. int _a[]
Android : Convert CharSequence to Int in Java
I’m confused on how can I convert CharSequence to int , I just want to set visibility of textfield when the inputted amount of edt_nma_amount is >=100 What I tried to convert it but it returns me an error It crashes my app because the number is like string “” java Updated I have this data but it returns me
startActivity() in BroadcastReceiver
I am trying to create an application that calls the sender of an SMS as soon as the smartphone receives an SMS. This is my code: But it dials and calls the sender only when the application is in foreground, while I’d like it to work always. Using the debugger, the execution flows, but it is unable to start the
How to store server TOKEN and use it on my 2nd activity webview?
Hi im stuck with how to store server TOKEN to the Shared Preferences and use it on 2nd activity, anyone help? these my coding on 1st activity tried this, but didnt found any token stored on my shared preferences. any suggestion? Answer You can replace the “obj.optString(“login_token”)” with a simple string like “token” and it should work fine. For example: