diff --git a/app/src/main/kotlin/jackall/moncalc/activity/MainActivity.kt b/app/src/main/kotlin/jackall/moncalc/activity/MainActivity.kt index 352b493..c8a1050 100644 --- a/app/src/main/kotlin/jackall/moncalc/activity/MainActivity.kt +++ b/app/src/main/kotlin/jackall/moncalc/activity/MainActivity.kt @@ -4,6 +4,7 @@ import android.databinding.DataBindingUtil import android.os.Bundle import android.support.v7.app.AppCompatActivity +import com.google.android.gms.ads.AdSize import com.google.gson.Gson import com.google.gson.stream.JsonReader import io.realm.RealmList @@ -107,6 +108,6 @@ override fun onStart() { super.onStart() - AdUtil.startBannerAd(this, mainBinding.root.main_banner_layout, Const.BannerUnitId) + AdUtil.startBannerAd(this, mainBinding.root.main_banner_layout, AdSize.BANNER, Const.BannerUnitId) } } \ No newline at end of file