PROBLEM You add breakpoints and you cannot debug your code. CAUSE The problem might be that you have ProGuard enabled in the gradle file. buildTypes { release { minifyEnabled true }…
I think I spent 2 days in order to find a way of changing the text color of the ShareActionProvider. There are some posts on the internet but none worked…
In Android 5.0 (Lollipop) the Navigation Drawer has a very nice animation, the drawer icon changes into a back arrow when the slider is opened and changes back to default…
If you need to set a smaller hint for your edit text, you can set the hint this way: myEditText.setHint(Html.fromHtml( "<small><small><small>" + getString(R.string.hint) + "</small></small></small>")); Also, you can set the…
Recently I had to change the target SDK on one of my applications, but by doing that, I ran into some problems with the Android Canvas. In this application I…
Hello all, as you requested in the previous TCP server-client tutorials, I made a new tutorial on how to create multiple client connections to a single server. I posted the…
If you ever need to disable the popup for cut-copy-paste when you long tap a text from an edit text you can do this by using the code below: yourEditText.setCustomSelectionActionModeCallback(new…
The Android emulator has support for receiving text messages. You can send a SMS to an emulator by using the command line. So the first step is: 1. Be sure…