Skip to content

Instantly share code, notes, and snippets.

View hossain-khan's full-sized avatar
🙈
Just do it!

Hossain Khan hossain-khan

🙈
Just do it!
View GitHub Profile
/*
See preview screenshot 🏞 https://user-images.githubusercontent.com/99822/158228177-f0cba204-e354-4d92-b029-41b22ba1f997.png
Go to Android Studio Preferences
Editor > Live Templates > Kotlin
Duplicate the existing "soutp" template using the 📄 Duplicate icon on right bar,
and use following template for text.
{
"basics": {
"name": "Hossain Khan",
"label": "Sr. Android Developer at Quickplay",
"phone": "",
"website": "",
"summary": "Consultant - Android Application Development\n\nSpecialties: \n\n * Android Development (Hybrid, Native [Mobile/Phablet/Tablet], TV)\n * Server Side Scripting Language (PHP - ZendFramework/Symfony, JSP)\n * Database Management System (MySQL, Oracle, SQLite - Android)\n * Version Control System (SVN, Git [Github, Bitbucket, Stash])\n * Project Management/Collaboration (Trac, Bugzilla, JIRA, Trello)\n * Crash reporting platform (Crashlytics, Bugsense)\n * Build server (Jenkins, Travis CI)\n * IDE/Tools (Android Studio (IntelliJ IDEA), ADT, Eclipse, Aptana, Netbeans)\n * Unix/Linux OS Management",
"location": {
"address": "North York, Ontario, Canada",
"postalCode": "",
@hossain-khan
hossain-khan / AvdLoadingProgressBar.kt
Last active May 8, 2021 14:19
Android custom indeterminate progress bar using ImageView and Animated Vector Drawable
import android.content.Context
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
import androidx.vectordrawable.graphics.drawable.Animatable2Compat
import androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat
/**
* Custom loading indicator using Animated vector drawable.
*