Gradle version updates, remove ads, and other changes for successful compilations.
This commit is contained in:
1 parent
eedf4e22e7
commit
9c895c1d72
11 files changed
+41
-129
No files matched your search
@@ -9,25 +9,16 @@
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:layout_marginTop="?android:actionBarSize"
|
||||
tools:context="com.hyperling.apps.games.HighScoreActivity">
|
||||
|
||||
<com.google.android.gms.ads.AdView
|
||||
android:id="@+id/adViewHighScores"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="gone"
|
||||
ads:adSize="BANNER"
|
||||
ads:adUnitId="@string/interstitial_ad_unit_id_high_score" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollViewHighScore"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_above="@+id/adViewHighScores">
|
||||
android:layout_alignParentBottom="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -9,25 +9,16 @@
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:layout_marginTop="?android:actionBarSize"
|
||||
tools:context="com.hyperling.apps.games.MainActivity">
|
||||
|
||||
<com.google.android.gms.ads.AdView
|
||||
android:id="@+id/adViewMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="gone"
|
||||
ads:adSize="BANNER"
|
||||
ads:adUnitId="@string/interstitial_ad_unit_id_main" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollViewMain"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_above="@+id/adViewMain">
|
||||
android:layout_alignParentBottom="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -10,23 +10,14 @@
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:layout_marginTop="?android:actionBarSize"
|
||||
tools:context="com.hyperling.apps.games.OptionsActivity">
|
||||
|
||||
<com.google.android.gms.ads.AdView
|
||||
android:id="@+id/adViewOptions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="gone"
|
||||
ads:adSize="BANNER"
|
||||
ads:adUnitId="@string/interstitial_ad_unit_id_options" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollViewOptions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/adViewOptions"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
@@ -35,6 +26,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!--
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -77,6 +69,7 @@
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/spaceSize" />
|
||||
-->
|
||||
|
||||
<TextView
|
||||
android:text="@string/optionGroupInGame"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
<string name="optionGroupOnline">Online</string>
|
||||
<string name="optionGroupOther">Other</string>
|
||||
|
||||
<string name="optionAds">Allow Ads on Menu Screens?</string>
|
||||
<string name="optionPracticeRound">Play Practice Round when Starting New Games?</string>
|
||||
<string name="optionHigherQuality">Allow Higher Quality Images and Animations?</string>
|
||||
<string name="optionFPS">Display FPS?</string>
|
||||
@@ -52,7 +51,6 @@
|
||||
<!-- Shared Preferences -->
|
||||
<string name="sharedPreferencesKey">HyperGames</string>
|
||||
<!-- Options -->
|
||||
<string name="adsKey">Ads</string>
|
||||
<string name="practiceRoundKey">Practice</string>
|
||||
<string name="higherQualityKey">HigherQuality</string>
|
||||
<string name="fpsKey">FPS</string>
|
||||
@@ -82,11 +80,4 @@
|
||||
<item>ChickenScore008(Alpha)</item>
|
||||
</string-array>
|
||||
|
||||
<!-- -
|
||||
This is an ad unit ID for an interstitial test ad. Replace with your own interstitial ad unit id.
|
||||
For more information, see https://support.google.com/admob/answer/3052638
|
||||
<!- -->
|
||||
<string name="interstitial_ad_unit_id_main">ca-app-pub-9712416021907617/7877767281</string>
|
||||
<string name="interstitial_ad_unit_id_options">ca-app-pub-9712416021907617/3307966880</string>
|
||||
<string name="interstitial_ad_unit_id_high_score">ca-app-pub-9712416021907617/4784700088</string>
|
||||
</resources>
|
||||
Reference in new issue
Block a user