JAJubair Ahmedinjubairshaik.hashnode.dev·Jul 11, 2024 · 3 min readHow to Reverse Only Letters and Vowels in a String Using C++using namespace std; #include <iostream> #include <algorithm> #include <vector> string reverseOnlyLetters(string s) { int low = 0; int high = s.size() - 1; while (low < high) { if (isalpha(s[low]) && isalpha(s[high])) ...00
JAJubair Ahmedinjubairshaik.hashnode.dev·Jul 8, 2024 · 2 min readLayouts in Kotlin !ConstraintLayout: This is the most flexible and powerful layout in Android. It allows you to create large, complex layouts with a flat view hierarchy (no nested view groups). Elements are positioned using constraints relative to other elements or ...00
JAJubair Ahmedinjubairshaik.hashnode.dev·Jul 8, 2024 · 1 min readBasic Interactivity UI in Kotlinin Linear Layout ! Create 2 Buttons in in activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http:...00
JAJubair Ahmedinjubairshaik.hashnode.dev·Jul 8, 2024 · 1 min readShowing Custom Toast in Kotlin APPpackage com.example.soumyayt import android.os.Bundle import android.widget.Button import android.widget.Toast import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import andr...00