m3.material.io 사이트에 있는 component 를 사용하는 방법


1. build.gradle(Module: xxxx.app) for application 에 가서 repositories 섹션에 구글 추가하기

allprojects {
    repositories {
      google()
      mavenCentral()
    }
  }

라고 하는데, settings.gradle 에 해당 섹션이 있으며 이미 추가되어 있다.

2. dependancies 섹션에 가서 라이브러리 추가하기

dependencies {
    // ...
    implementation 'com.google.android.material:material:<version>'
    // ...
  }

라고 하는데, 이미 추가되어있다.

그냥 사용하면 되는가보다.


답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다