At times, the value of one TextView is to be replicated into others as a user types the text. Below illustrates how that can be done. In class MainActivity, variable has been declared for the class as below: TextInputEditText array_yourinterest_rate = new TextInputEditText; Within the onCreate method of MainActivity, addTextChangedListener was added to change the … Continue reading How to use addTextChangedListener to change values of other TextViews
Sometimes some layout files can contain too many views making it difficult to manage the layout file later. To overcome this, Android has an <include> tag that allows the inclusion of other layout files into the main layout file (in below illustration, the activity_main.xml file). <include android:id="@+id/b_layout" layout="@layout/activity_main_part_b" /> The above include statement will add … Continue reading How to include other layout xml files in a layout file in Android
I had the below problem when building code for an older version of Android on Android Studio. Dependency 'androidx.appcompat:appcompat:1.4.1' requires 'compileSdkVersion' to be set to 31 or higher.Compilation target for module ':app' is 'android-30' I was able to solve it by changing the version of appcompat in the dependencies What I had: implementation 'androidx.appcompat:appcompat:1.4.0' I … Continue reading How to resolve Dependency ‘androidx.appcompat:appcompat:1.4.1’ requires ‘compileSdkVersion’ to be set to 31 or higher.Compilation target for module ‘:app’ is ‘android-30’
Sometimes, a drive needs to be shared by more than that primary user logged in on a Linux computer. This is to facilitate sharing of files and folders by other users on that computer. To enable all authorized users to work with files and folders on the shared drive, read on. Any commands need to … Continue reading How to mount another hard disk for sharing with other users in Linux
All things developers and development articles can be found at https://dev.to. Best site for coders and developers https://www.freecodecamp.org. Here's a great article on one resume that was exceptional https://cloudirregular.substack.com/p/the-greatest-resume-ive-ever-seen?s=r. Learn to code for free with Google's Grasshopper app https://grasshopper.app. Get it from the Google Play Store.
To fix this error, from the Android Studio menu, select the option File->Sync Project with Gradle Files The error would go.
It is easy to create a LUKS container and a partition within it, using the GUI on Linux. The application that enables this easily is the gnome-disk-utility. However, if you want to use the command line to set up a LUKS encrypted device, read on. Exercise appropriate caution before doing any of the below with … Continue reading How to create and use LUKS encrypted partition in Linux
This is for those who missed checking the UEFI checkbox in the settings prior to installing Windows 10 in VirtualBox. Do the below at your own risk, take appropriate backup, First, check and confirm if BIOS Mode is Legacy, which means MBR is the partition and not GPT. To do this, press Windows+R and run:msinfo32.msc … Continue reading How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux
If you are one of those who run Virtual Box and use any other OS in it, then the base memory of the Dell Inspiron 5580 of 8 gb DDR4 RAM and an NVME PCIe SSD will still not give near good performance of Windows or the other OS in Virtual Box. The simplest solution … Continue reading Experience with upgrade of RAM memory on Dell Inspiron 5580 and Dell Inspiron 5570 laptops
Dell has an application SupportAssist on the laptops it sells. To them, this is their bible about the information on your laptop. Any issue reported to Dell, ends up with technical support staff who ask to run SupportAssist first thing. On a Linux machine, SupportAssist will not work, even in a virtual machine. To overcome … Continue reading How to report battery issue to Dell using SupportAssist Diagnostics if you use Linux