Profile

Cover photo
Khalifa Visi Islami
Works at Walden Global Services, PT
Attended Universitas Pendidikan Indonesia
Lives in Rancabali, Padalarang
1,204 followers|56,279 views
AboutPostsPhotosYouTube

Stream

Khalifa Visi Islami

Shared publicly  - 
 
 
All the reasons I don't take Facebook video seriously, summed up in 1 video.
123 comments on original post
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
Vector drawable is a must try
 
Android Studio 1.4 is ready to download in the stable channel. It includes new & updated tools for app design.

Read more about it on our blog: http://goo.gl/m07Ywx
52 comments on original post
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
Less pain using custom fonts in Android
 
Android pro tip: One-line custom fonts in XML with data binding!

I started playing with data binding last night for real, and I'm amazed by the power it gives you.  Check out this one-liner to set a custom font on a TextView:

@BindingAdapter({"bind:font"})
public static void setFont(TextView textView, String fontName){
 textView.setTypeface(Typeface.createFromAsset(textView.getContext().getAssets(), "fonts/" + fontName));
}

In XML:
<TextView
app:font="@{`Source-Sans-Pro-Regular.ttf`}"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

Previously, this used to take endless lines of repetitive Java code (one for each TextView!). The missing custom typeface support in TextView has been a grievance held against the Android platform for years.  There's even an inventive library to address it[2]. Data binding makes all of that obselete.  If you can't tell, I'm in love!!  It's terse, powerful, and one of the biggest leaps forward I've seen for Android productivity.

As usual, you need to put your font file in assets/fonts/, and make sure to include the data binding framework.  And if you're doing this to many TextViews, just get a little more fancy and cache the Typeface instead of creating it every time (thanks for the reminder +Ian Lake!)

[1] https://developer.android.com/tools/data-binding/guide.html
[2] Calligraphy: https://github.com/chrisjenx/Calligraphy
45 comments on original post
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
The Indian Express: Don’t add mobile number on your Facebook profile. http://google.com/newsstand/s/CBIwiuC1pyA
Cyber criminals can gain access to your private information on Facebook.
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
Android M ~ New way to handle permission
The approach to permissions for both users and developers is changing with Android M. Here we take a look at how they’ve…
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
Login Screen Checklist for Android
1
Add a comment...
Have him in circles
1,204 people
zen saefudin's profile photo
Dea Rokhmatun Iradewa's profile photo
Khasyogi Mohammad's profile photo
bumbu pecel's profile photo
yeriko hidayat's profile photo
diks nie's profile photo
Gema Ambun Suri's profile photo
Deviana Septian (mpY)'s profile photo
Barep Diams Nurjiwanda's profile photo

Khalifa Visi Islami

Shared publicly  - 
 
Engadget: Disney Research AR app turns colored drawings into 3D characters. http://google.com/newsstand/s/CBIws9jq0iY
This is so much better than ordinary coloring books.
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
reasons to stop using ENUM in your Android Code
 
100 days of Google Dev, Episode 86/100

So what’s the deal with using ENUMs on Android? Some people say it’s bad, other people say it’s not a problem. What gives, and what are the reasons?

To clear up some confusion, Colt McAnlis takes a look at the effect that enums have on your Android code size, memory footprint, and runtime performance.

#GoogleDev100

https://goo.gl/HPKBUw
3 comments on original post
1
Hemant Patel's profile photo
 
Very useful
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
A mind-opening blogpost for not-so-fast worker like me
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
 
nice
Philosophy is the study of general and fundamental problems, such as those connected with reality, existence, knowledge, values, reason, mind, and language. Even though technical skills are a very positive thing, other qualifications are really more important: 'features' like respect, honesty or humility are required to become a better person and, thus, a better professional. This is not an easy path to follow, and in order to accomplish it, le...
1
Add a comment...

Khalifa Visi Islami

Shared publicly  - 
2
Add a comment...
People
Have him in circles
1,204 people
zen saefudin's profile photo
Dea Rokhmatun Iradewa's profile photo
Khasyogi Mohammad's profile photo
bumbu pecel's profile photo
yeriko hidayat's profile photo
diks nie's profile photo
Gema Ambun Suri's profile photo
Deviana Septian (mpY)'s profile photo
Barep Diams Nurjiwanda's profile photo
Collections Khalifa is following
View all
Education
  • Universitas Pendidikan Indonesia
    Computer Science, 2013
  • SMA Negeri 24 Bandung
    2003 - 2006
  • SLTP Plus Al Ghifari
    2000 - 2003
  • SD Negeri Percobaan Sabang
  • SD Islam Salman Al Farisi
Basic Information
Gender
Male
Looking for
Networking
Relationship
Married
Other names
gagah, alif
Story
Tagline
A nice curious person with a glasses, loves to research and being a scientist-alike
Introduction
Really interested in new technologies, loves to research something, and break problems into solutions.
Sometimes do Web Design, Web Development, Java Programming, PHP, C/C++ (Qt), and currently Android Programming.
Bragging rights
I can cook well, bake well, steam well...
Work
Occupation
IT Researcher, Android Programmer, IT Instructor
Employment
  • Walden Global Services, PT
    2014 - present
    Lead Developer
  • PT Geulist Nusantara
    Senior Programmer, 2013
    Web, Backend Apps, Mobile Apps Programmer, sometimes system design and research
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Rancabali, Padalarang
Previously
Cigiringsing, Bandung - Bandung - Majalengka