package configuration;
import com.badlogic.gdx.graphics.Color;
import helpers.FlatColors;
import static com.badlogic.gdx.Input.Keys.R;
public class Configuration {
public static final String GAME_NAME = "Sphere";
//ADMOB IDS
public static final String AD_UNIT_ID_BANNER = "";
public static final String AD_UNIT_ID_INTERSTITIAL = "";
public static final float AD_FREQUENCY = 0.6f;
//IAP
public static final boolean IAP = true;
public static final String PRODUCT_ID = "removeads";
public static final String ENCODED_PUBLIC_KEY = "";
//GOOGLE ANALYTICS
public static final boolean ANALYTICS = true;
public static final String ANALYTICS_ID = "";
//LEADERBOARDS IDS
public static final String LEADERBOARD_HIGHSCORE = "";
public static final String LEADERBOARD_GAMESPLAYED = "";
//TEXTS
public String BEST_TEXT;
public static final String GAMES_PLAYED_TEXT = "Games Played: ";
public static final String SCORE_TEXT = "Score: ";
public static final String BEST_TEXT_GAME = "Best: ";
public static final String PAUSE_TEXT = "PAUSE";
public static final String SHARE_MESSAGE = "Can you beat me at " + GAME_NAME + "?";
public static final String DIALOG_TEXT = "Do you like game? " + " Вам нравится игра?";
public static final String DIALOG_YES = "Yes!/Да!";
public static final String DIALOG_NO = "No/Нет";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
BEST_TEXT = getString(R.string.BEST_TEXT);
SCORE_TEXT = getString(R.string.SCORE_TEXT);
}
//DEBUG
public static boolean FPS_COUNTER = false;
public static Color FPS_COUNTER_COLOR = FlatColors.BLACK;
public static boolean DEBUG = false;
public static final float MUSIC_VOLUME = .8f;
}
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="#ffffff"
android:textSize="18sp"
android:textStyle="bold"
android:text="EASY "/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:textSize="16sp"
android:textStyle="italic"
android:text="download"/>