-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Android Studio 4.1 Development Essentials – Java Edition
By :

87.4 Module Level Gradle Build Files
An Android Studio application project is made up of one or more modules. Take, for example, a hypothetical application project named GradleDemo which contains two modules named Module1 and Module2 respectively. In this scenario, each of the modules will require its own Gradle build file. In terms of the project structure, these would be located as follows:
•Module1/build.gradle
•Module2/build.gradle
By default, the Module1 build.gradle file would resemble that of the following listing:
plugins {
id 'com.android.application'
}
android {
compileSdkVersion 29
buildToolsVersion "30.0.0"
defaultConfig {
applicationId "com.ebookfrenzy.demoapp"
minSdkVersion 26
...
Change the font size
Change margin width
Change background colour