Added different flavors so that ad-unit-id neednt be switched for tests / releases
This commit is contained in:
13
app/src/flavorStoreRelease/res/values/strings.xml
Normal file
13
app/src/flavorStoreRelease/res/values/strings.xml
Normal 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>
|
13
app/src/flavorTest/res/values/strings.xml
Normal file
13
app/src/flavorTest/res/values/strings.xml
Normal 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>
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user