Added different flavors so that ad-unit-id neednt be switched for tests / releases

This commit is contained in:
2018-07-14 11:20:44 +02:00
parent ed065c3108
commit 17971cd781
11 changed files with 231 additions and 153 deletions

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Created by Julian Mutter on 7/14/18 11:11 AM
~ Copyright (c) 2018. All rights reserved.
~ Last modified 7/14/18 11:11 AM
~
-->
<resources>
<string name="ad_unit_id_levels" translatable="false">ca-app-pub-7069685539417779/4627811894</string>
</resources>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Created by Julian Mutter on 7/14/18 11:12 AM
~ Copyright (c) 2018. All rights reserved.
~ Last modified 7/14/18 11:12 AM
~
-->
<resources>
<!--Test-ID: ca-app-pub-3940256099942544/6300978111-->
<string name="ad_unit_id_levels" translatable="false">ca-app-pub-3940256099942544/6300978111</string>
</resources>

View File

@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
ads:adSize="SMART_BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"/>
ads:adUnitId="@string/ad_unit_id_levels"/>
<HorizontalScrollView
android:layout_width="match_parent"

View File

@ -44,7 +44,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:orientation="vertical"
android:visibility="visible">
android:visibility="gone">
<Button
android:id="@+id/startscreen_to_gl_test_screen"