We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bd3371 + 4ce456e commit 4ba5f8aCopy full SHA for 4ba5f8a
app/src/main/java/cz/muni/fi/rpg/ui/common/AdManager.kt
@@ -41,7 +41,7 @@ class AdManager(private val context: Context) {
41
fun initializeUnit(view: AdView) {
42
view.layoutParams = LinearLayout.LayoutParams(
43
LinearLayout.LayoutParams.MATCH_PARENT,
44
- 0
+ AdSize.SMART_BANNER.getHeightInPixels(context)
45
)
46
47
view.loadAd(
0 commit comments