Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is `abc` prefix on R.dimen fields?

Tags:

android

I wonder what is the meaning of abc prefix on R.dimen fields.

https://developer.android.com/reference/android/support/v7/appcompat/R.dimen.html

Can I use those values in my layout.xml or somewhere?

like image 511
Takayuki Sato Avatar asked Dec 19 '22 02:12

Takayuki Sato


1 Answers

It is a prefix used by AppCompat to minimize naming conflicts with your code and other libraries. It is an abbreviation of ActionBarCompat.

You can find the commit that initially added this prefix to AppCompat here.

like image 151
Bryan Herbst Avatar answered Jan 22 '23 21:01

Bryan Herbst