Articles → ANDROID → Access Resources In Android StudioAccess Resources In Android StudioIn this article, we will discuss how to access resources in android studio.Accessing Resource In Layout File In the layout file, resources can be access as ‘@resource_file_name\property_name’. Here is an exampleClick to EnlargeAccess Resource From Java File Above resource can be access in Java using the following codeR.color.colorPrimaryDarkPosted By - Karan Gupta Posted On - Monday, October 21, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
R.color.colorPrimaryDark
Query/Feedback