What does the value of Integer mean in android: theme?

When I add themes, I use the syntax

android:theme="@android:style/Something" 

I see that many use the Integer value after @android. for instance

 <activity android:theme="@android:01030006" android:name=".SomeActivity"> 

Intellisense does not display Integer values ​​for themes.

Can someone explain this?

+4
source share
1 answer

This is just a way to use Theme_NoTitleBar . As you know, to access any resource from Java code, android assigns an integer to each resource (which is a constant in class R ). I assume that if you use @android:01030006 directly, this can improve the parsing process ... however, I don't think that such an improvement improves there.

0
source

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


All Articles