What does the android -b resource specifier mean?

In one of the main Android tutorials, I came across the resource / configuration identifier "-b +", which is not explained. The source can be found here: https://developer.android.com/training/basics/supporting-devices/languages.html

It states that to support different locales, you can use the following format when it comes to resource names:

<resource type>-b+<language code>[+<country code>] 

A specific example for our locale, including the language code and country code, would be:

 <project_root>/res/values-b+en+US/ 

My question is, what does -b mean and how does this relate to a different format that excludes the "-b +" convention, and does it use the letter "r" above to recognize the language code and region?

 <project_root>/res/values-en-rUS 

which can be found here: https://developer.android.com/guide/topics/resources/providing-resources.html#table2

Regards, Ben

+5
source share

Source: https://habr.com/ru/post/1269603/


All Articles