first commit
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Tetris</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="mangavalk.tetris"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="13"
|
||||
android:targetSdkVersion="19" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|
||||
<meta-data android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>
|
||||
|
||||
<activity
|
||||
android:name="mangavalk.tetris.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name="com.google.android.gms.ads.AdActivity"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="mangavalk.tetris"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="13"
|
||||
android:targetSdkVersion="19" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|
||||
<meta-data android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>
|
||||
|
||||
<activity
|
||||
android:name="mangavalk.tetris.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name="com.google.android.gms.ads.AdActivity"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,148 @@
|
||||
int attr adSize 0x7f010000
|
||||
int attr adSizes 0x7f010001
|
||||
int attr adUnitId 0x7f010002
|
||||
int attr cameraBearing 0x7f010004
|
||||
int attr cameraTargetLat 0x7f010005
|
||||
int attr cameraTargetLng 0x7f010006
|
||||
int attr cameraTilt 0x7f010007
|
||||
int attr cameraZoom 0x7f010008
|
||||
int attr mapType 0x7f010003
|
||||
int attr uiCompass 0x7f010009
|
||||
int attr uiRotateGestures 0x7f01000a
|
||||
int attr uiScrollGestures 0x7f01000b
|
||||
int attr uiTiltGestures 0x7f01000c
|
||||
int attr uiZoomControls 0x7f01000d
|
||||
int attr uiZoomGestures 0x7f01000e
|
||||
int attr useViewLifecycle 0x7f01000f
|
||||
int attr zOrderOnTop 0x7f010010
|
||||
int color common_action_bar_splitter 0x7f040009
|
||||
int color common_signin_btn_dark_text_default 0x7f040000
|
||||
int color common_signin_btn_dark_text_disabled 0x7f040002
|
||||
int color common_signin_btn_dark_text_focused 0x7f040003
|
||||
int color common_signin_btn_dark_text_pressed 0x7f040001
|
||||
int color common_signin_btn_default_background 0x7f040008
|
||||
int color common_signin_btn_light_text_default 0x7f040004
|
||||
int color common_signin_btn_light_text_disabled 0x7f040006
|
||||
int color common_signin_btn_light_text_focused 0x7f040007
|
||||
int color common_signin_btn_light_text_pressed 0x7f040005
|
||||
int color common_signin_btn_text_dark 0x7f04000a
|
||||
int color common_signin_btn_text_light 0x7f04000b
|
||||
int dimen activity_horizontal_margin 0x7f080000
|
||||
int dimen activity_vertical_margin 0x7f080001
|
||||
int drawable common_signin_btn_icon_dark 0x7f020000
|
||||
int drawable common_signin_btn_icon_disabled_dark 0x7f020001
|
||||
int drawable common_signin_btn_icon_disabled_focus_dark 0x7f020002
|
||||
int drawable common_signin_btn_icon_disabled_focus_light 0x7f020003
|
||||
int drawable common_signin_btn_icon_disabled_light 0x7f020004
|
||||
int drawable common_signin_btn_icon_focus_dark 0x7f020005
|
||||
int drawable common_signin_btn_icon_focus_light 0x7f020006
|
||||
int drawable common_signin_btn_icon_light 0x7f020007
|
||||
int drawable common_signin_btn_icon_normal_dark 0x7f020008
|
||||
int drawable common_signin_btn_icon_normal_light 0x7f020009
|
||||
int drawable common_signin_btn_icon_pressed_dark 0x7f02000a
|
||||
int drawable common_signin_btn_icon_pressed_light 0x7f02000b
|
||||
int drawable common_signin_btn_text_dark 0x7f02000c
|
||||
int drawable common_signin_btn_text_disabled_dark 0x7f02000d
|
||||
int drawable common_signin_btn_text_disabled_focus_dark 0x7f02000e
|
||||
int drawable common_signin_btn_text_disabled_focus_light 0x7f02000f
|
||||
int drawable common_signin_btn_text_disabled_light 0x7f020010
|
||||
int drawable common_signin_btn_text_focus_dark 0x7f020011
|
||||
int drawable common_signin_btn_text_focus_light 0x7f020012
|
||||
int drawable common_signin_btn_text_light 0x7f020013
|
||||
int drawable common_signin_btn_text_normal_dark 0x7f020014
|
||||
int drawable common_signin_btn_text_normal_light 0x7f020015
|
||||
int drawable common_signin_btn_text_pressed_dark 0x7f020016
|
||||
int drawable common_signin_btn_text_pressed_light 0x7f020017
|
||||
int drawable f0 0x7f020018
|
||||
int drawable f1 0x7f020019
|
||||
int drawable f2 0x7f02001a
|
||||
int drawable f3 0x7f02001b
|
||||
int drawable f4 0x7f02001c
|
||||
int drawable f5 0x7f02001d
|
||||
int drawable f6 0x7f02001e
|
||||
int drawable f7 0x7f02001f
|
||||
int drawable f8 0x7f020020
|
||||
int drawable f9 0x7f020021
|
||||
int drawable ic_launcher 0x7f020022
|
||||
int drawable ic_plusone_medium_off_client 0x7f020023
|
||||
int drawable ic_plusone_small_off_client 0x7f020024
|
||||
int drawable ic_plusone_standard_off_client 0x7f020025
|
||||
int drawable ic_plusone_tall_off_client 0x7f020026
|
||||
int drawable sprite_b 0x7f020027
|
||||
int drawable sprite_blockline 0x7f020028
|
||||
int drawable sprite_controler 0x7f020029
|
||||
int drawable sprite_freeversion 0x7f02002a
|
||||
int drawable sprite_gameover 0x7f02002b
|
||||
int drawable sprite_i1 0x7f02002c
|
||||
int drawable sprite_i1r 0x7f02002d
|
||||
int drawable sprite_i2 0x7f02002e
|
||||
int drawable sprite_i2r 0x7f02002f
|
||||
int drawable sprite_i3 0x7f020030
|
||||
int drawable sprite_i3r 0x7f020031
|
||||
int drawable sprite_i4 0x7f020032
|
||||
int drawable sprite_i4r 0x7f020033
|
||||
int drawable sprite_l1 0x7f020034
|
||||
int drawable sprite_l2 0x7f020035
|
||||
int drawable sprite_s 0x7f020036
|
||||
int drawable sprite_score 0x7f020037
|
||||
int drawable sprite_t 0x7f020038
|
||||
int drawable sprite_z 0x7f020039
|
||||
int id action_settings 0x7f050005
|
||||
int id hybrid 0x7f050004
|
||||
int id none 0x7f050000
|
||||
int id normal 0x7f050001
|
||||
int id satellite 0x7f050002
|
||||
int id terrain 0x7f050003
|
||||
int integer google_play_services_version 0x7f070000
|
||||
int menu main 0x7f0a0000
|
||||
int raw tetris_a 0x7f030000
|
||||
int string action_settings 0x7f06001b
|
||||
int string app_name 0x7f06001a
|
||||
int string auth_client_needs_enabling_title 0x7f060015
|
||||
int string auth_client_needs_installation_title 0x7f060016
|
||||
int string auth_client_needs_update_title 0x7f060017
|
||||
int string auth_client_play_services_err_notification_msg 0x7f060018
|
||||
int string auth_client_requested_by_msg 0x7f060019
|
||||
int string auth_client_using_bad_version_title 0x7f060014
|
||||
int string common_google_play_services_enable_button 0x7f060006
|
||||
int string common_google_play_services_enable_text 0x7f060005
|
||||
int string common_google_play_services_enable_title 0x7f060004
|
||||
int string common_google_play_services_install_button 0x7f060003
|
||||
int string common_google_play_services_install_text_phone 0x7f060001
|
||||
int string common_google_play_services_install_text_tablet 0x7f060002
|
||||
int string common_google_play_services_install_title 0x7f060000
|
||||
int string common_google_play_services_invalid_account_text 0x7f06000c
|
||||
int string common_google_play_services_invalid_account_title 0x7f06000b
|
||||
int string common_google_play_services_network_error_text 0x7f06000a
|
||||
int string common_google_play_services_network_error_title 0x7f060009
|
||||
int string common_google_play_services_unknown_issue 0x7f06000d
|
||||
int string common_google_play_services_unsupported_date_text 0x7f060010
|
||||
int string common_google_play_services_unsupported_text 0x7f06000f
|
||||
int string common_google_play_services_unsupported_title 0x7f06000e
|
||||
int string common_google_play_services_update_button 0x7f060011
|
||||
int string common_google_play_services_update_text 0x7f060008
|
||||
int string common_google_play_services_update_title 0x7f060007
|
||||
int string common_signin_button_text 0x7f060012
|
||||
int string common_signin_button_text_long 0x7f060013
|
||||
int string hello_world 0x7f06001c
|
||||
int style AppBaseTheme 0x7f090000
|
||||
int style AppTheme 0x7f090001
|
||||
int[] styleable AdsAttrs { 0x7f010000, 0x7f010001, 0x7f010002 }
|
||||
int styleable AdsAttrs_adSize 0
|
||||
int styleable AdsAttrs_adSizes 1
|
||||
int styleable AdsAttrs_adUnitId 2
|
||||
int[] styleable MapAttrs { 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010 }
|
||||
int styleable MapAttrs_cameraBearing 1
|
||||
int styleable MapAttrs_cameraTargetLat 2
|
||||
int styleable MapAttrs_cameraTargetLng 3
|
||||
int styleable MapAttrs_cameraTilt 4
|
||||
int styleable MapAttrs_cameraZoom 5
|
||||
int styleable MapAttrs_mapType 0
|
||||
int styleable MapAttrs_uiCompass 6
|
||||
int styleable MapAttrs_uiRotateGestures 7
|
||||
int styleable MapAttrs_uiScrollGestures 8
|
||||
int styleable MapAttrs_uiTiltGestures 9
|
||||
int styleable MapAttrs_uiZoomControls 10
|
||||
int styleable MapAttrs_uiZoomGestures 11
|
||||
int styleable MapAttrs_useViewLifecycle 12
|
||||
int styleable MapAttrs_zOrderOnTop 13
|
||||
@@ -0,0 +1,3 @@
|
||||
# cache for current jar dependency. DO NOT EDIT.
|
||||
# format is <lastModified> <length> <SHA-1> <path>
|
||||
# Encoding is UTF-8
|
||||
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,132 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
package com.google.android.gms;
|
||||
|
||||
public final class R {
|
||||
public static final class attr {
|
||||
public static final int adSize = 0x7f010000;
|
||||
public static final int adSizes = 0x7f010001;
|
||||
public static final int adUnitId = 0x7f010002;
|
||||
public static final int cameraBearing = 0x7f010004;
|
||||
public static final int cameraTargetLat = 0x7f010005;
|
||||
public static final int cameraTargetLng = 0x7f010006;
|
||||
public static final int cameraTilt = 0x7f010007;
|
||||
public static final int cameraZoom = 0x7f010008;
|
||||
public static final int mapType = 0x7f010003;
|
||||
public static final int uiCompass = 0x7f010009;
|
||||
public static final int uiRotateGestures = 0x7f01000a;
|
||||
public static final int uiScrollGestures = 0x7f01000b;
|
||||
public static final int uiTiltGestures = 0x7f01000c;
|
||||
public static final int uiZoomControls = 0x7f01000d;
|
||||
public static final int uiZoomGestures = 0x7f01000e;
|
||||
public static final int useViewLifecycle = 0x7f01000f;
|
||||
public static final int zOrderOnTop = 0x7f010010;
|
||||
}
|
||||
public static final class color {
|
||||
public static final int common_action_bar_splitter = 0x7f040009;
|
||||
public static final int common_signin_btn_dark_text_default = 0x7f040000;
|
||||
public static final int common_signin_btn_dark_text_disabled = 0x7f040002;
|
||||
public static final int common_signin_btn_dark_text_focused = 0x7f040003;
|
||||
public static final int common_signin_btn_dark_text_pressed = 0x7f040001;
|
||||
public static final int common_signin_btn_default_background = 0x7f040008;
|
||||
public static final int common_signin_btn_light_text_default = 0x7f040004;
|
||||
public static final int common_signin_btn_light_text_disabled = 0x7f040006;
|
||||
public static final int common_signin_btn_light_text_focused = 0x7f040007;
|
||||
public static final int common_signin_btn_light_text_pressed = 0x7f040005;
|
||||
public static final int common_signin_btn_text_dark = 0x7f04000a;
|
||||
public static final int common_signin_btn_text_light = 0x7f04000b;
|
||||
}
|
||||
public static final class drawable {
|
||||
public static final int common_signin_btn_icon_dark = 0x7f020000;
|
||||
public static final int common_signin_btn_icon_disabled_dark = 0x7f020001;
|
||||
public static final int common_signin_btn_icon_disabled_focus_dark = 0x7f020002;
|
||||
public static final int common_signin_btn_icon_disabled_focus_light = 0x7f020003;
|
||||
public static final int common_signin_btn_icon_disabled_light = 0x7f020004;
|
||||
public static final int common_signin_btn_icon_focus_dark = 0x7f020005;
|
||||
public static final int common_signin_btn_icon_focus_light = 0x7f020006;
|
||||
public static final int common_signin_btn_icon_light = 0x7f020007;
|
||||
public static final int common_signin_btn_icon_normal_dark = 0x7f020008;
|
||||
public static final int common_signin_btn_icon_normal_light = 0x7f020009;
|
||||
public static final int common_signin_btn_icon_pressed_dark = 0x7f02000a;
|
||||
public static final int common_signin_btn_icon_pressed_light = 0x7f02000b;
|
||||
public static final int common_signin_btn_text_dark = 0x7f02000c;
|
||||
public static final int common_signin_btn_text_disabled_dark = 0x7f02000d;
|
||||
public static final int common_signin_btn_text_disabled_focus_dark = 0x7f02000e;
|
||||
public static final int common_signin_btn_text_disabled_focus_light = 0x7f02000f;
|
||||
public static final int common_signin_btn_text_disabled_light = 0x7f020010;
|
||||
public static final int common_signin_btn_text_focus_dark = 0x7f020011;
|
||||
public static final int common_signin_btn_text_focus_light = 0x7f020012;
|
||||
public static final int common_signin_btn_text_light = 0x7f020013;
|
||||
public static final int common_signin_btn_text_normal_dark = 0x7f020014;
|
||||
public static final int common_signin_btn_text_normal_light = 0x7f020015;
|
||||
public static final int common_signin_btn_text_pressed_dark = 0x7f020016;
|
||||
public static final int common_signin_btn_text_pressed_light = 0x7f020017;
|
||||
public static final int ic_plusone_medium_off_client = 0x7f020023;
|
||||
public static final int ic_plusone_small_off_client = 0x7f020024;
|
||||
public static final int ic_plusone_standard_off_client = 0x7f020025;
|
||||
public static final int ic_plusone_tall_off_client = 0x7f020026;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int hybrid = 0x7f050004;
|
||||
public static final int none = 0x7f050000;
|
||||
public static final int normal = 0x7f050001;
|
||||
public static final int satellite = 0x7f050002;
|
||||
public static final int terrain = 0x7f050003;
|
||||
}
|
||||
public static final class integer {
|
||||
public static final int google_play_services_version = 0x7f070000;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int auth_client_needs_enabling_title = 0x7f060015;
|
||||
public static final int auth_client_needs_installation_title = 0x7f060016;
|
||||
public static final int auth_client_needs_update_title = 0x7f060017;
|
||||
public static final int auth_client_play_services_err_notification_msg = 0x7f060018;
|
||||
public static final int auth_client_requested_by_msg = 0x7f060019;
|
||||
public static final int auth_client_using_bad_version_title = 0x7f060014;
|
||||
public static final int common_google_play_services_enable_button = 0x7f060006;
|
||||
public static final int common_google_play_services_enable_text = 0x7f060005;
|
||||
public static final int common_google_play_services_enable_title = 0x7f060004;
|
||||
public static final int common_google_play_services_install_button = 0x7f060003;
|
||||
public static final int common_google_play_services_install_text_phone = 0x7f060001;
|
||||
public static final int common_google_play_services_install_text_tablet = 0x7f060002;
|
||||
public static final int common_google_play_services_install_title = 0x7f060000;
|
||||
public static final int common_google_play_services_invalid_account_text = 0x7f06000c;
|
||||
public static final int common_google_play_services_invalid_account_title = 0x7f06000b;
|
||||
public static final int common_google_play_services_network_error_text = 0x7f06000a;
|
||||
public static final int common_google_play_services_network_error_title = 0x7f060009;
|
||||
public static final int common_google_play_services_unknown_issue = 0x7f06000d;
|
||||
public static final int common_google_play_services_unsupported_date_text = 0x7f060010;
|
||||
public static final int common_google_play_services_unsupported_text = 0x7f06000f;
|
||||
public static final int common_google_play_services_unsupported_title = 0x7f06000e;
|
||||
public static final int common_google_play_services_update_button = 0x7f060011;
|
||||
public static final int common_google_play_services_update_text = 0x7f060008;
|
||||
public static final int common_google_play_services_update_title = 0x7f060007;
|
||||
public static final int common_signin_button_text = 0x7f060012;
|
||||
public static final int common_signin_button_text_long = 0x7f060013;
|
||||
}
|
||||
public static final class styleable {
|
||||
public static final int[] AdsAttrs = { 0x7f010000, 0x7f010001, 0x7f010002 };
|
||||
public static final int AdsAttrs_adSize = 0;
|
||||
public static final int AdsAttrs_adSizes = 1;
|
||||
public static final int AdsAttrs_adUnitId = 2;
|
||||
public static final int[] MapAttrs = { 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010 };
|
||||
public static final int MapAttrs_cameraBearing = 1;
|
||||
public static final int MapAttrs_cameraTargetLat = 2;
|
||||
public static final int MapAttrs_cameraTargetLng = 3;
|
||||
public static final int MapAttrs_cameraTilt = 4;
|
||||
public static final int MapAttrs_cameraZoom = 5;
|
||||
public static final int MapAttrs_mapType = 0;
|
||||
public static final int MapAttrs_uiCompass = 6;
|
||||
public static final int MapAttrs_uiRotateGestures = 7;
|
||||
public static final int MapAttrs_uiScrollGestures = 8;
|
||||
public static final int MapAttrs_uiTiltGestures = 9;
|
||||
public static final int MapAttrs_uiZoomControls = 10;
|
||||
public static final int MapAttrs_uiZoomGestures = 11;
|
||||
public static final int MapAttrs_useViewLifecycle = 12;
|
||||
public static final int MapAttrs_zOrderOnTop = 13;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/** Automatically generated file. DO NOT MODIFY */
|
||||
package mangavalk.tetris;
|
||||
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = true;
|
||||
}
|
||||
@@ -0,0 +1,717 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
|
||||
package mangavalk.tetris;
|
||||
|
||||
public final class R {
|
||||
public static final class attr {
|
||||
/**
|
||||
The size of the ad. It must be one of BANNER, FULL_BANNER, LEADERBOARD,
|
||||
MEDIUM_RECTANGLE, SMART_BANNER, WIDE_SKYSCRAPER, or
|
||||
<width>x<height>.
|
||||
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int adSize=0x7f010000;
|
||||
/**
|
||||
A comma-separated list of the supported ad sizes. The sizes must be one of
|
||||
BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER,
|
||||
WIDE_SKYSCRAPER, or <width>x<height>.
|
||||
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int adSizes=0x7f010001;
|
||||
/** The ad unit ID.
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int adUnitId=0x7f010002;
|
||||
/** <p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int cameraBearing=0x7f010004;
|
||||
/** <p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int cameraTargetLat=0x7f010005;
|
||||
/** <p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int cameraTargetLng=0x7f010006;
|
||||
/** <p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int cameraTilt=0x7f010007;
|
||||
/** <p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int cameraZoom=0x7f010008;
|
||||
/** <p>Must be one of the following constant values.</p>
|
||||
<table>
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
|
||||
<tr><td><code>none</code></td><td>0</td><td></td></tr>
|
||||
<tr><td><code>normal</code></td><td>1</td><td></td></tr>
|
||||
<tr><td><code>satellite</code></td><td>2</td><td></td></tr>
|
||||
<tr><td><code>terrain</code></td><td>3</td><td></td></tr>
|
||||
<tr><td><code>hybrid</code></td><td>4</td><td></td></tr>
|
||||
</table>
|
||||
*/
|
||||
public static final int mapType=0x7f010003;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiCompass=0x7f010009;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiRotateGestures=0x7f01000a;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiScrollGestures=0x7f01000b;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiTiltGestures=0x7f01000c;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiZoomControls=0x7f01000d;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int uiZoomGestures=0x7f01000e;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int useViewLifecycle=0x7f01000f;
|
||||
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
*/
|
||||
public static final int zOrderOnTop=0x7f010010;
|
||||
}
|
||||
public static final class color {
|
||||
public static final int common_action_bar_splitter=0x7f040009;
|
||||
/** Sign-in Button Colors
|
||||
*/
|
||||
public static final int common_signin_btn_dark_text_default=0x7f040000;
|
||||
public static final int common_signin_btn_dark_text_disabled=0x7f040002;
|
||||
public static final int common_signin_btn_dark_text_focused=0x7f040003;
|
||||
public static final int common_signin_btn_dark_text_pressed=0x7f040001;
|
||||
public static final int common_signin_btn_default_background=0x7f040008;
|
||||
public static final int common_signin_btn_light_text_default=0x7f040004;
|
||||
public static final int common_signin_btn_light_text_disabled=0x7f040006;
|
||||
public static final int common_signin_btn_light_text_focused=0x7f040007;
|
||||
public static final int common_signin_btn_light_text_pressed=0x7f040005;
|
||||
public static final int common_signin_btn_text_dark=0x7f04000a;
|
||||
public static final int common_signin_btn_text_light=0x7f04000b;
|
||||
}
|
||||
public static final class dimen {
|
||||
/** Default screen margins, per the Android Design guidelines.
|
||||
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
||||
|
||||
*/
|
||||
public static final int activity_horizontal_margin=0x7f080000;
|
||||
public static final int activity_vertical_margin=0x7f080001;
|
||||
}
|
||||
public static final class drawable {
|
||||
public static final int common_signin_btn_icon_dark=0x7f020000;
|
||||
public static final int common_signin_btn_icon_disabled_dark=0x7f020001;
|
||||
public static final int common_signin_btn_icon_disabled_focus_dark=0x7f020002;
|
||||
public static final int common_signin_btn_icon_disabled_focus_light=0x7f020003;
|
||||
public static final int common_signin_btn_icon_disabled_light=0x7f020004;
|
||||
public static final int common_signin_btn_icon_focus_dark=0x7f020005;
|
||||
public static final int common_signin_btn_icon_focus_light=0x7f020006;
|
||||
public static final int common_signin_btn_icon_light=0x7f020007;
|
||||
public static final int common_signin_btn_icon_normal_dark=0x7f020008;
|
||||
public static final int common_signin_btn_icon_normal_light=0x7f020009;
|
||||
public static final int common_signin_btn_icon_pressed_dark=0x7f02000a;
|
||||
public static final int common_signin_btn_icon_pressed_light=0x7f02000b;
|
||||
public static final int common_signin_btn_text_dark=0x7f02000c;
|
||||
public static final int common_signin_btn_text_disabled_dark=0x7f02000d;
|
||||
public static final int common_signin_btn_text_disabled_focus_dark=0x7f02000e;
|
||||
public static final int common_signin_btn_text_disabled_focus_light=0x7f02000f;
|
||||
public static final int common_signin_btn_text_disabled_light=0x7f020010;
|
||||
public static final int common_signin_btn_text_focus_dark=0x7f020011;
|
||||
public static final int common_signin_btn_text_focus_light=0x7f020012;
|
||||
public static final int common_signin_btn_text_light=0x7f020013;
|
||||
public static final int common_signin_btn_text_normal_dark=0x7f020014;
|
||||
public static final int common_signin_btn_text_normal_light=0x7f020015;
|
||||
public static final int common_signin_btn_text_pressed_dark=0x7f020016;
|
||||
public static final int common_signin_btn_text_pressed_light=0x7f020017;
|
||||
public static final int f0=0x7f020018;
|
||||
public static final int f1=0x7f020019;
|
||||
public static final int f2=0x7f02001a;
|
||||
public static final int f3=0x7f02001b;
|
||||
public static final int f4=0x7f02001c;
|
||||
public static final int f5=0x7f02001d;
|
||||
public static final int f6=0x7f02001e;
|
||||
public static final int f7=0x7f02001f;
|
||||
public static final int f8=0x7f020020;
|
||||
public static final int f9=0x7f020021;
|
||||
public static final int ic_launcher=0x7f020022;
|
||||
public static final int ic_plusone_medium_off_client=0x7f020023;
|
||||
public static final int ic_plusone_small_off_client=0x7f020024;
|
||||
public static final int ic_plusone_standard_off_client=0x7f020025;
|
||||
public static final int ic_plusone_tall_off_client=0x7f020026;
|
||||
public static final int sprite_b=0x7f020027;
|
||||
public static final int sprite_blockline=0x7f020028;
|
||||
public static final int sprite_controler=0x7f020029;
|
||||
public static final int sprite_freeversion=0x7f02002a;
|
||||
public static final int sprite_gameover=0x7f02002b;
|
||||
public static final int sprite_i1=0x7f02002c;
|
||||
public static final int sprite_i1r=0x7f02002d;
|
||||
public static final int sprite_i2=0x7f02002e;
|
||||
public static final int sprite_i2r=0x7f02002f;
|
||||
public static final int sprite_i3=0x7f020030;
|
||||
public static final int sprite_i3r=0x7f020031;
|
||||
public static final int sprite_i4=0x7f020032;
|
||||
public static final int sprite_i4r=0x7f020033;
|
||||
public static final int sprite_l1=0x7f020034;
|
||||
public static final int sprite_l2=0x7f020035;
|
||||
public static final int sprite_s=0x7f020036;
|
||||
public static final int sprite_score=0x7f020037;
|
||||
public static final int sprite_t=0x7f020038;
|
||||
public static final int sprite_z=0x7f020039;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int action_settings=0x7f050005;
|
||||
public static final int hybrid=0x7f050004;
|
||||
public static final int none=0x7f050000;
|
||||
public static final int normal=0x7f050001;
|
||||
public static final int satellite=0x7f050002;
|
||||
public static final int terrain=0x7f050003;
|
||||
}
|
||||
public static final class integer {
|
||||
public static final int google_play_services_version=0x7f070000;
|
||||
}
|
||||
public static final class menu {
|
||||
public static final int main=0x7f0a0000;
|
||||
}
|
||||
public static final class raw {
|
||||
public static final int tetris_a=0x7f030000;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int action_settings=0x7f06001b;
|
||||
public static final int app_name=0x7f06001a;
|
||||
/** Title for notification shown when GooglePlayServices needs to be
|
||||
enabled for a application to work. [CHAR LIMIT=70]
|
||||
*/
|
||||
public static final int auth_client_needs_enabling_title=0x7f060015;
|
||||
/** Title for notification shown when GooglePlayServices needs to be
|
||||
installed for a application to work. [CHAR LIMIT=70]
|
||||
*/
|
||||
public static final int auth_client_needs_installation_title=0x7f060016;
|
||||
/** Title for notification shown when GooglePlayServices needs to be
|
||||
udpated for a application to work. [CHAR LIMIT=70]
|
||||
*/
|
||||
public static final int auth_client_needs_update_title=0x7f060017;
|
||||
/** Title for notification shown when GooglePlayServices is unavailable [CHAR LIMIT=42]
|
||||
*/
|
||||
public static final int auth_client_play_services_err_notification_msg=0x7f060018;
|
||||
/** Requested by string saying which app requested the notification. [CHAR LIMIT=42]
|
||||
*/
|
||||
public static final int auth_client_requested_by_msg=0x7f060019;
|
||||
/** Title for notification shown when a bad version of GooglePlayServices
|
||||
has been installed and needs correction for an application to work.
|
||||
[CHAR LIMIT=70]
|
||||
*/
|
||||
public static final int auth_client_using_bad_version_title=0x7f060014;
|
||||
/** Button in confirmation dialog to enable Google Play services. Clicking it
|
||||
will direct user to application settings of Google Play services where they
|
||||
can enable it [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_enable_button=0x7f060006;
|
||||
/** Message in confirmation dialog informing user they need to enable
|
||||
Google Play services in application settings [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_enable_text=0x7f060005;
|
||||
/** Title of confirmation dialog informing user they need to enable
|
||||
Google Play services in application settings [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_enable_title=0x7f060004;
|
||||
/** Button in confirmation dialog for installing Google Play services [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_install_button=0x7f060003;
|
||||
/** (For phones) Message in confirmation dialog informing user that
|
||||
they need to install Google Play services (from Play Store) [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_install_text_phone=0x7f060001;
|
||||
/** (For tablets) Message in confirmation dialog informing user that
|
||||
they need to install Google Play services (from Play Store) [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_install_text_tablet=0x7f060002;
|
||||
/** Title of confirmation dialog informing user that they need to install
|
||||
Google Play services (from Play Store) [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_install_title=0x7f060000;
|
||||
/** Message in confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_invalid_account_text=0x7f06000c;
|
||||
/** Title of confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_invalid_account_title=0x7f06000b;
|
||||
/** Message in confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_network_error_text=0x7f06000a;
|
||||
/** Title of confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_network_error_title=0x7f060009;
|
||||
/** Message in confirmation dialog informing user there is an unknown issue in Google Play
|
||||
services [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_unknown_issue=0x7f06000d;
|
||||
/** Message in confirmation dialog informing user that date on the device is not correct,
|
||||
causing certificate checks to fail. [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_unsupported_date_text=0x7f060010;
|
||||
/** Message in confirmation dialog informing user that Google Play services is not supported on their device [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_unsupported_text=0x7f06000f;
|
||||
/** Title of confirmation dialog informing user that Google Play services is not supported on their device [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_unsupported_title=0x7f06000e;
|
||||
/** Button in confirmation dialog for updating Google Play services [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_update_button=0x7f060011;
|
||||
/** Message in confirmation dialog informing user that they need to update
|
||||
Google Play services (from Play Store) [CHAR LIMIT=NONE]
|
||||
*/
|
||||
public static final int common_google_play_services_update_text=0x7f060008;
|
||||
/** Title of confirmation dialog informing user that they need to update
|
||||
Google Play services (from Play Store) [CHAR LIMIT=40]
|
||||
*/
|
||||
public static final int common_google_play_services_update_title=0x7f060007;
|
||||
/** Sign-in button text [CHAR LIMIT=15]
|
||||
*/
|
||||
public static final int common_signin_button_text=0x7f060012;
|
||||
/** Long form sign-in button text [CHAR LIMIT=30]
|
||||
*/
|
||||
public static final int common_signin_button_text_long=0x7f060013;
|
||||
public static final int hello_world=0x7f06001c;
|
||||
}
|
||||
public static final class style {
|
||||
/**
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
|
||||
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
|
||||
|
||||
Base application theme for API 11+. This theme completely replaces
|
||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
||||
|
||||
API 11 theme customizations can go here.
|
||||
|
||||
Base application theme for API 14+. This theme completely replaces
|
||||
AppBaseTheme from BOTH res/values/styles.xml and
|
||||
res/values-v11/styles.xml on API 14+ devices.
|
||||
|
||||
API 14 theme customizations can go here.
|
||||
*/
|
||||
public static final int AppBaseTheme=0x7f090000;
|
||||
/** Application theme.
|
||||
All customizations that are NOT specific to a particular API-level can go here.
|
||||
*/
|
||||
public static final int AppTheme=0x7f090001;
|
||||
}
|
||||
public static final class styleable {
|
||||
/** Attributes that can be used with a AdsAttrs.
|
||||
<p>Includes the following attributes:</p>
|
||||
<table>
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<tr><th>Attribute</th><th>Description</th></tr>
|
||||
<tr><td><code>{@link #AdsAttrs_adSize mangavalk.tetris:adSize}</code></td><td>
|
||||
The size of the ad.</td></tr>
|
||||
<tr><td><code>{@link #AdsAttrs_adSizes mangavalk.tetris:adSizes}</code></td><td>
|
||||
A comma-separated list of the supported ad sizes.</td></tr>
|
||||
<tr><td><code>{@link #AdsAttrs_adUnitId mangavalk.tetris:adUnitId}</code></td><td> The ad unit ID.</td></tr>
|
||||
</table>
|
||||
@see #AdsAttrs_adSize
|
||||
@see #AdsAttrs_adSizes
|
||||
@see #AdsAttrs_adUnitId
|
||||
*/
|
||||
public static final int[] AdsAttrs = {
|
||||
0x7f010000, 0x7f010001, 0x7f010002
|
||||
};
|
||||
/**
|
||||
<p>
|
||||
@attr description
|
||||
|
||||
The size of the ad. It must be one of BANNER, FULL_BANNER, LEADERBOARD,
|
||||
MEDIUM_RECTANGLE, SMART_BANNER, WIDE_SKYSCRAPER, or
|
||||
<width>x<height>.
|
||||
|
||||
|
||||
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
<p>This is a private symbol.
|
||||
@attr name mangavalk.tetris:adSize
|
||||
*/
|
||||
public static final int AdsAttrs_adSize = 0;
|
||||
/**
|
||||
<p>
|
||||
@attr description
|
||||
|
||||
A comma-separated list of the supported ad sizes. The sizes must be one of
|
||||
BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER,
|
||||
WIDE_SKYSCRAPER, or <width>x<height>.
|
||||
|
||||
|
||||
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
<p>This is a private symbol.
|
||||
@attr name mangavalk.tetris:adSizes
|
||||
*/
|
||||
public static final int AdsAttrs_adSizes = 1;
|
||||
/**
|
||||
<p>
|
||||
@attr description
|
||||
The ad unit ID.
|
||||
|
||||
|
||||
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
<p>This is a private symbol.
|
||||
@attr name mangavalk.tetris:adUnitId
|
||||
*/
|
||||
public static final int AdsAttrs_adUnitId = 2;
|
||||
/** Attributes that can be used with a MapAttrs.
|
||||
<p>Includes the following attributes:</p>
|
||||
<table>
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<tr><th>Attribute</th><th>Description</th></tr>
|
||||
<tr><td><code>{@link #MapAttrs_cameraBearing mangavalk.tetris:cameraBearing}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_cameraTargetLat mangavalk.tetris:cameraTargetLat}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_cameraTargetLng mangavalk.tetris:cameraTargetLng}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_cameraTilt mangavalk.tetris:cameraTilt}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_cameraZoom mangavalk.tetris:cameraZoom}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_mapType mangavalk.tetris:mapType}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiCompass mangavalk.tetris:uiCompass}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiRotateGestures mangavalk.tetris:uiRotateGestures}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiScrollGestures mangavalk.tetris:uiScrollGestures}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiTiltGestures mangavalk.tetris:uiTiltGestures}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiZoomControls mangavalk.tetris:uiZoomControls}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_uiZoomGestures mangavalk.tetris:uiZoomGestures}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_useViewLifecycle mangavalk.tetris:useViewLifecycle}</code></td><td></td></tr>
|
||||
<tr><td><code>{@link #MapAttrs_zOrderOnTop mangavalk.tetris:zOrderOnTop}</code></td><td></td></tr>
|
||||
</table>
|
||||
@see #MapAttrs_cameraBearing
|
||||
@see #MapAttrs_cameraTargetLat
|
||||
@see #MapAttrs_cameraTargetLng
|
||||
@see #MapAttrs_cameraTilt
|
||||
@see #MapAttrs_cameraZoom
|
||||
@see #MapAttrs_mapType
|
||||
@see #MapAttrs_uiCompass
|
||||
@see #MapAttrs_uiRotateGestures
|
||||
@see #MapAttrs_uiScrollGestures
|
||||
@see #MapAttrs_uiTiltGestures
|
||||
@see #MapAttrs_uiZoomControls
|
||||
@see #MapAttrs_uiZoomGestures
|
||||
@see #MapAttrs_useViewLifecycle
|
||||
@see #MapAttrs_zOrderOnTop
|
||||
*/
|
||||
public static final int[] MapAttrs = {
|
||||
0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006,
|
||||
0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a,
|
||||
0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e,
|
||||
0x7f01000f, 0x7f010010
|
||||
};
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#cameraBearing}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:cameraBearing
|
||||
*/
|
||||
public static final int MapAttrs_cameraBearing = 1;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#cameraTargetLat}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:cameraTargetLat
|
||||
*/
|
||||
public static final int MapAttrs_cameraTargetLat = 2;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#cameraTargetLng}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:cameraTargetLng
|
||||
*/
|
||||
public static final int MapAttrs_cameraTargetLng = 3;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#cameraTilt}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:cameraTilt
|
||||
*/
|
||||
public static final int MapAttrs_cameraTilt = 4;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#cameraZoom}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a floating point value, such as "<code>1.2</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:cameraZoom
|
||||
*/
|
||||
public static final int MapAttrs_cameraZoom = 5;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#mapType}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be one of the following constant values.</p>
|
||||
<table>
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<colgroup align="left" />
|
||||
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
|
||||
<tr><td><code>none</code></td><td>0</td><td></td></tr>
|
||||
<tr><td><code>normal</code></td><td>1</td><td></td></tr>
|
||||
<tr><td><code>satellite</code></td><td>2</td><td></td></tr>
|
||||
<tr><td><code>terrain</code></td><td>3</td><td></td></tr>
|
||||
<tr><td><code>hybrid</code></td><td>4</td><td></td></tr>
|
||||
</table>
|
||||
@attr name mangavalk.tetris:mapType
|
||||
*/
|
||||
public static final int MapAttrs_mapType = 0;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiCompass}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiCompass
|
||||
*/
|
||||
public static final int MapAttrs_uiCompass = 6;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiRotateGestures}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiRotateGestures
|
||||
*/
|
||||
public static final int MapAttrs_uiRotateGestures = 7;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiScrollGestures}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiScrollGestures
|
||||
*/
|
||||
public static final int MapAttrs_uiScrollGestures = 8;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiTiltGestures}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiTiltGestures
|
||||
*/
|
||||
public static final int MapAttrs_uiTiltGestures = 9;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiZoomControls}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiZoomControls
|
||||
*/
|
||||
public static final int MapAttrs_uiZoomControls = 10;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#uiZoomGestures}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:uiZoomGestures
|
||||
*/
|
||||
public static final int MapAttrs_uiZoomGestures = 11;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#useViewLifecycle}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:useViewLifecycle
|
||||
*/
|
||||
public static final int MapAttrs_useViewLifecycle = 12;
|
||||
/**
|
||||
<p>This symbol is the offset where the {@link mangavalk.tetris.R.attr#zOrderOnTop}
|
||||
attribute's value can be found in the {@link #MapAttrs} array.
|
||||
|
||||
|
||||
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
|
||||
<p>This may also be a reference to a resource (in the form
|
||||
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
|
||||
theme attribute (in the form
|
||||
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
|
||||
containing a value of this type.
|
||||
@attr name mangavalk.tetris:zOrderOnTop
|
||||
*/
|
||||
public static final int MapAttrs_zOrderOnTop = 13;
|
||||
};
|
||||
}
|
||||
|
After Width: | Height: | Size: 75 KiB |
@@ -0,0 +1,20 @@
|
||||
# To enable ProGuard in your project, edit project.properties
|
||||
# to define the proguard.config property as described in that file.
|
||||
#
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the ProGuard
|
||||
# include property in project.properties.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
@@ -0,0 +1,15 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-19
|
||||
android.library.reference.1=../../../../Desktop/adt-bundle-windows-x86_64-20131030/adt-bundle-windows-x86_64-20131030/sdk/extras/google/google_play_services/libproject/google-play-services_lib
|
||||
|
After Width: | Height: | Size: 907 B |
|
After Width: | Height: | Size: 897 B |
|
After Width: | Height: | Size: 904 B |
|
After Width: | Height: | Size: 902 B |
|
After Width: | Height: | Size: 908 B |
|
After Width: | Height: | Size: 898 B |
|
After Width: | Height: | Size: 905 B |
|
After Width: | Height: | Size: 905 B |
|
After Width: | Height: | Size: 979 B |
|
After Width: | Height: | Size: 906 B |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 830 B |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 842 B |
|
After Width: | Height: | Size: 843 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 845 B |
|
After Width: | Height: | Size: 839 B |
|
After Width: | Height: | Size: 846 B |
|
After Width: | Height: | Size: 843 B |
|
After Width: | Height: | Size: 843 B |
|
After Width: | Height: | Size: 839 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 843 B |
|
After Width: | Height: | Size: 838 B |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
@@ -0,0 +1,8 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw600dp devices (e.g. 7" tablets) here.
|
||||
-->
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,9 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
||||
-->
|
||||
<dimen name="activity_horizontal_margin">128dp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme for API 11+. This theme completely replaces
|
||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
|
||||
<!-- API 11 theme customizations can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,12 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme for API 14+. This theme completely replaces
|
||||
AppBaseTheme from BOTH res/values/styles.xml and
|
||||
res/values-v11/styles.xml on API 14+ devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
||||
<!-- API 14 theme customizations can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">Tetris</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="hello_world">Hello world!</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,20 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Light">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,137 @@
|
||||
|
||||
package mangavalk.tetris;
|
||||
|
||||
import com.google.android.gms.ads.AdRequest;
|
||||
import com.google.android.gms.ads.AdSize;
|
||||
import com.google.android.gms.ads.AdView;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.graphics.PointF;
|
||||
import android.os.Bundle;
|
||||
import android.util.SparseArray;
|
||||
import android.view.MotionEvent;
|
||||
import android.widget.FrameLayout;
|
||||
|
||||
public class MainActivity extends Activity
|
||||
{
|
||||
CanvasView canvasClass;
|
||||
private AdView adView;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
FrameLayout ll;
|
||||
|
||||
ll = new FrameLayout(this);
|
||||
|
||||
// Create the adView.
|
||||
adView = new AdView(this);
|
||||
adView.setAdUnitId("ca-app-pub-2360519718191877/5428392148");
|
||||
adView.setAdSize(AdSize.BANNER);
|
||||
|
||||
// Initiate a generic request.
|
||||
AdRequest adRequest = new AdRequest.Builder()
|
||||
.addTestDevice("D23CD70B20EE4AF169D112010B8DC97E") // Htc One X
|
||||
.addTestDevice("029011F06A23EB6FFF862E44CC792EF2") // Nexus 7 tablet
|
||||
.build();
|
||||
|
||||
canvasClass = new CanvasView(this);
|
||||
|
||||
canvasClass.PayedVersion = true; // Set payment status
|
||||
|
||||
canvasClass.startLevel = 0;
|
||||
|
||||
if (!canvasClass.PayedVersion)
|
||||
{
|
||||
// Load the adView with the ad request.
|
||||
adView.loadAd(adRequest);
|
||||
}
|
||||
|
||||
ll.addView(canvasClass);
|
||||
|
||||
// Add the adView to it.
|
||||
FrameLayout.LayoutParams adsParams =new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT,
|
||||
FrameLayout.LayoutParams.WRAP_CONTENT, android.view.Gravity.TOP|android.view.Gravity.CENTER_HORIZONTAL);
|
||||
ll.addView(adView, adsParams);
|
||||
|
||||
setContentView(ll);
|
||||
|
||||
mActivePointers = new SparseArray<PointF>();
|
||||
|
||||
canvasClass.SetActivity(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
canvasClass.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
canvasClass.onResume();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed()
|
||||
{
|
||||
super.onBackPressed();
|
||||
canvasClass.onPause();
|
||||
}
|
||||
|
||||
private SparseArray<PointF> mActivePointers;
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent e) {
|
||||
// MotionEvent reports input details from the touch screen
|
||||
// and other input controls. In this case, you are only
|
||||
// interested in events where the touch position changed.
|
||||
|
||||
// get pointer index from the event object
|
||||
int pointerIndex = e.getActionIndex();
|
||||
|
||||
// get pointer ID
|
||||
int pointerId = e.getPointerId(pointerIndex);
|
||||
|
||||
// get masked (not specific to a pointer) action
|
||||
int maskedAction = e.getActionMasked();
|
||||
|
||||
switch (maskedAction) {
|
||||
|
||||
case MotionEvent.ACTION_DOWN:
|
||||
case MotionEvent.ACTION_POINTER_DOWN: {
|
||||
// We have a new pointer. Lets add it to the list of pointers
|
||||
|
||||
PointF f = new PointF();
|
||||
f.x = e.getX(pointerIndex);
|
||||
f.y = e.getY(pointerIndex);
|
||||
canvasClass.sendMove(f.x, f.y, false);
|
||||
mActivePointers.put(pointerId, f);
|
||||
break;
|
||||
}
|
||||
case MotionEvent.ACTION_MOVE: { // a pointer was moved
|
||||
|
||||
break;
|
||||
}
|
||||
case MotionEvent.ACTION_UP:
|
||||
for (int size = e.getPointerCount(), i = 0; i < size; i++) {
|
||||
PointF point = mActivePointers.get(e.getPointerId(i));
|
||||
if (point != null) {
|
||||
point.x = e.getX(i);
|
||||
point.y = e.getY(i);
|
||||
canvasClass.sendMove(point.x, point.y, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MotionEvent.ACTION_POINTER_UP:
|
||||
break;
|
||||
case MotionEvent.ACTION_CANCEL: {
|
||||
// TODO use data
|
||||
break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||