- エーオーシステム コーポレートサイト
https://www.aosystem.co.jp/ - エーオーシステム プロダクトサイト
https://ao-system.net/ - レンタルサーバー
- バーチャル展示会
- ウェブカタログサービス
- 3Dグラフィック
- Android アプリ
- iOS (iPhone,iPad) アプリ
- Flutter開発
- プログラミング記録QuickAnswer
- 無料画像素材
- スカイボックス 3D SKY BOX
このページのQRコード
下記アプリの主要なソースコードを公開しています。アプリ開発の参考になれば幸いです。
画像等が別途必要ですので下記情報のみでアプリが完成するものではありません。 アプリは少しずつ機能拡張していますのでストア公開されているアプリと内容が異なる場合があります。 コードはコピーして自由にお使いいただけます。ただし著作権は放棄しておりませんので全部の再掲載はご遠慮ください。部分的に再掲載したり、改変して再掲載するのは構いません。 自身のアプリ作成の参考として個人使用・商用問わず自由にお使いいただけます。 コード記述のお手本を示すものではありません。ミニアプリですので変数名などさほど気遣いしていない部分も有りますし間違いも有るかと思いますので参考程度にお考え下さい。 他の賢者の皆様が公開されているコードを参考にした箇所も含まれます。Androidアプリ開発の熟練者が書いたコードではありません。 エンジニア向け技術情報共有サービスではありませんので説明は省いています。ご了承ください。 GitHubなどへの公開は予定しておりません。
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.10"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "jp.aosystem.bingomachine"
minSdkVersion 21
targetSdkVersion 30
multiDexEnabled true
versionCode 26
versionName "1.25"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.5.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.gms:play-services-ads:20.2.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jp.aosystem.bingomachine">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.BingoMachine">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SettingActivity" />
<activity android:name=".CardActivity" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-0000000000000000~0000000000" />
</application>
</manifest>
package jp.aosystem.bingomachine
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.graphics.Color
import android.graphics.Typeface
import android.os.*
import android.speech.tts.TextToSpeech
import android.speech.tts.UtteranceProgressListener
import android.util.DisplayMetrics
import android.view.Gravity
import android.view.View
import android.view.ViewTreeObserver.OnGlobalLayoutListener
import android.widget.FrameLayout
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.AdSize
import com.google.android.gms.ads.AdView
import com.google.android.gms.ads.MobileAds
import jp.aosystem.bingomachine.R.drawable
import jp.aosystem.bingomachine.databinding.ActivityMainBinding
import java.util.*
class MainActivity : AppCompatActivity(), TextToSpeech.OnInitListener {
private lateinit var binding: ActivityMainBinding
private lateinit var viewModel: ConstraintLayout
private lateinit var textToSpeech: TextToSpeech
//
private var ballHistory: Array<Int> = arrayOf() //履歴 0 to 74
private var ballTables: Array<TextView> = arrayOf()
private var ballTableHistories: Array<TextView> = arrayOf()
private val resourceBallImg: Int = drawable.ic_ball
private lateinit var ballFrameResult: FrameLayout
private lateinit var ballImageResult: ImageView
private lateinit var ballTextResult: TextView
private var baseWidth: Int = 0
private var baseHeight: Int = 0
private var boxSize: Int = 0
private var destroyFlag: Boolean = false //Activity破棄された場合など
private var busyFlag: Boolean = false //回転中
private var speechNumber: Int = 0 //数字を読み上げるか否か 0 or 1
private var themeNumber: Int = 0
private var localeLanguage: String = ""
private var choiceBall: Int = 0 //0 to 74
private var textSizeTable: Int = 16
private var textSizeCard: Int = 35
//adMob
private lateinit var adView: AdView //adMob
private val adSize: AdSize
get() {
val display = windowManager.defaultDisplay
val outMetrics = DisplayMetrics()
display.getMetrics(outMetrics)
val density = outMetrics.density
var adWidthPixels = this.binding.adContainer.width.toFloat()
if (adWidthPixels == 0f) {
adWidthPixels = outMetrics.widthPixels.toFloat()
}
val adWidth = (adWidthPixels / density).toInt()
return AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(this, adWidth)
}
companion object {
internal const val AD_UNIT_ID: String = "ca-app-pub-0000000000000000/0000000000"
private const val RESULT_SETTING_ACTIVITY: Int = 1
private const val RESULT_CARD_ACTIVITY: Int = 2
internal const val SETTINGS: String = "settings"
internal const val RESET_MACHINE: String = "resetMachine"
internal const val RESET_CARD: String = "resetCard"
internal const val SPEECH_NUMBER: String = "speechNumber"
internal const val THEME_NUMBER: String = "themeNumber"
internal const val LOCALE_LANGUAGE: String = "localeLanguage"
internal const val CARD: String = "card"
internal const val TEXT_SIZE_TABLE: String = "textSizeTable"
internal const val TEXT_SIZE_CARD: String = "textSizeCard"
private const val BALL_HISTORY: String = "ballHistory"
private const val BALL_COUNT: Int = 75 //0 to 74
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
//setContentView(R.layout.activity_main)
this.binding = ActivityMainBinding.inflate(layoutInflater)
this.viewModel = this.binding.root
setContentView(this.viewModel)
//タイトルバー非表示
supportActionBar?.hide()
//テーマ読み込みと設定
this.loadThemeNumber()
this.setTheme()
//設定読み出し
this.loadSpeechNumber()
this.loadItemStates()
this.loadTextSizeTable()
this.loadTextSizeCard()
//読み上げ
this.textToSpeech = TextToSpeech(this, this)
this.textToSpeech.setOnUtteranceProgressListener(object : UtteranceProgressListener() {
override fun onDone(utteranceId: String) {
}
override fun onError(utteranceId: String) {
}
override fun onStart(utteranceId: String) {
}
})
this.setSpeechLocale()
//adMob
MobileAds.initialize(this) {}
this.adView = AdView(this)
this.binding.adContainer.addView(this.adView)
this.loadBanner()
}
override fun onResume() {
super.onResume()
//準備が出来たらwidth,heightを取得して次へ進む
this.binding.layoutBase.viewTreeObserver.addOnGlobalLayoutListener(object : OnGlobalLayoutListener {
override fun onGlobalLayout() {
this@MainActivity.binding.layoutBase.viewTreeObserver.removeOnGlobalLayoutListener(this)
this@MainActivity.baseWidth = this@MainActivity.binding.layoutBase.width
this@MainActivity.baseHeight = this@MainActivity.binding.layoutBase.height
this@MainActivity.init()
}
})
}
override fun onInit(status: Int) {
if (status == TextToSpeech.SUCCESS) {
this.setSpeechLocale()
}
}
override fun onDestroy() {
this.destroyFlag = true
this.textToSpeech.shutdown()
super.onDestroy()
}
//adMob
private fun loadBanner() {
this.adView.adUnitId = AD_UNIT_ID
this.adView.adSize = adSize
val adRequest = AdRequest
.Builder()
//.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.build()
this.adView.loadAd(adRequest)
}
private fun speakText(text: String) {
textToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, null, "utteranceId")
}
private fun init() {
if (::ballImageResult.isInitialized) {
this.ballFrameResult.removeView(this.ballImageResult)
}
if (::ballTextResult.isInitialized) {
this.ballFrameResult.removeView(this.ballTextResult)
}
if (::ballFrameResult.isInitialized) {
this.binding.layoutBase.removeView(this.ballFrameResult)
}
//
this.ballTables = arrayOf(
this.binding.textTable1,
this.binding.textTable2,
this.binding.textTable3,
this.binding.textTable4,
this.binding.textTable5,
this.binding.textTable6,
this.binding.textTable7,
this.binding.textTable8,
this.binding.textTable9,
this.binding.textTable10,
this.binding.textTable11,
this.binding.textTable12,
this.binding.textTable13,
this.binding.textTable14,
this.binding.textTable15,
this.binding.textTable16,
this.binding.textTable17,
this.binding.textTable18,
this.binding.textTable19,
this.binding.textTable20,
this.binding.textTable21,
this.binding.textTable22,
this.binding.textTable23,
this.binding.textTable24,
this.binding.textTable25,
this.binding.textTable26,
this.binding.textTable27,
this.binding.textTable28,
this.binding.textTable29,
this.binding.textTable30,
this.binding.textTable31,
this.binding.textTable32,
this.binding.textTable33,
this.binding.textTable34,
this.binding.textTable35,
this.binding.textTable36,
this.binding.textTable37,
this.binding.textTable38,
this.binding.textTable39,
this.binding.textTable40,
this.binding.textTable41,
this.binding.textTable42,
this.binding.textTable43,
this.binding.textTable44,
this.binding.textTable45,
this.binding.textTable46,
this.binding.textTable47,
this.binding.textTable48,
this.binding.textTable49,
this.binding.textTable50,
this.binding.textTable51,
this.binding.textTable52,
this.binding.textTable53,
this.binding.textTable54,
this.binding.textTable55,
this.binding.textTable56,
this.binding.textTable57,
this.binding.textTable58,
this.binding.textTable59,
this.binding.textTable60,
this.binding.textTable61,
this.binding.textTable62,
this.binding.textTable63,
this.binding.textTable64,
this.binding.textTable65,
this.binding.textTable66,
this.binding.textTable67,
this.binding.textTable68,
this.binding.textTable69,
this.binding.textTable70,
this.binding.textTable71,
this.binding.textTable72,
this.binding.textTable73,
this.binding.textTable74,
this.binding.textTable75,
)
this.ballTableHistories = arrayOf(
this.binding.textTableHistory1,
this.binding.textTableHistory2,
this.binding.textTableHistory3,
this.binding.textTableHistory4,
this.binding.textTableHistory5,
this.binding.textTableHistory6,
this.binding.textTableHistory7,
this.binding.textTableHistory8,
this.binding.textTableHistory9,
this.binding.textTableHistory10,
this.binding.textTableHistory11,
this.binding.textTableHistory12,
this.binding.textTableHistory13,
this.binding.textTableHistory14,
this.binding.textTableHistory15,
this.binding.textTableHistory16,
this.binding.textTableHistory17,
this.binding.textTableHistory18,
this.binding.textTableHistory19,
this.binding.textTableHistory20,
this.binding.textTableHistory21,
this.binding.textTableHistory22,
this.binding.textTableHistory23,
this.binding.textTableHistory24,
this.binding.textTableHistory25,
this.binding.textTableHistory26,
this.binding.textTableHistory27,
this.binding.textTableHistory28,
this.binding.textTableHistory29,
this.binding.textTableHistory30,
this.binding.textTableHistory31,
this.binding.textTableHistory32,
this.binding.textTableHistory33,
this.binding.textTableHistory34,
this.binding.textTableHistory35,
this.binding.textTableHistory36,
this.binding.textTableHistory37,
this.binding.textTableHistory38,
this.binding.textTableHistory39,
this.binding.textTableHistory40,
this.binding.textTableHistory41,
this.binding.textTableHistory42,
this.binding.textTableHistory43,
this.binding.textTableHistory44,
this.binding.textTableHistory45,
this.binding.textTableHistory46,
this.binding.textTableHistory47,
this.binding.textTableHistory48,
this.binding.textTableHistory49,
this.binding.textTableHistory50,
this.binding.textTableHistory51,
this.binding.textTableHistory52,
this.binding.textTableHistory53,
this.binding.textTableHistory54,
this.binding.textTableHistory55,
this.binding.textTableHistory56,
this.binding.textTableHistory57,
this.binding.textTableHistory58,
this.binding.textTableHistory59,
this.binding.textTableHistory60,
this.binding.textTableHistory61,
this.binding.textTableHistory62,
this.binding.textTableHistory63,
this.binding.textTableHistory64,
this.binding.textTableHistory65,
this.binding.textTableHistory66,
this.binding.textTableHistory67,
this.binding.textTableHistory68,
this.binding.textTableHistory69,
this.binding.textTableHistory70,
this.binding.textTableHistory71,
this.binding.textTableHistory72,
this.binding.textTableHistory73,
this.binding.textTableHistory74,
this.binding.textTableHistory75,
)
//
this.setTextSizeTable()
//
this.boxSize = minOf(this.baseWidth, this.baseHeight)
//frame layout
this.ballFrameResult = FrameLayout(this)
this.ballFrameResult.x = this.boxSize.times(0.05).toFloat()
this.ballFrameResult.y = this.boxSize.times(0.05).toFloat()
this.binding.layoutBase.addView(this.ballFrameResult, this.boxSize.times(0.5).toInt(), this.boxSize.times(0.5).toInt())
//ball
this.ballImageResult = ImageView(this)
this.ballImageResult.setImageResource(resourceBallImg)
this.ballImageResult.alpha = 0F
this.ballFrameResult.addView(this.ballImageResult, this.boxSize.times(0.5).toInt(), this.boxSize.times(0.5).toInt())
//text
val scale: Float = resources.displayMetrics.density
this.ballTextResult = TextView(this)
this.ballTextResult.text = ""
this.ballTextResult.textSize = this.boxSize.times(0.35).div(scale).toFloat() //0.35
this.ballTextResult.gravity = Gravity.CENTER
this.ballTextResult.setTextColor(Color.rgb(0, 0, 0))
this.ballTextResult.typeface = Typeface.DEFAULT_BOLD
this.ballTextResult.letterSpacing = -0.05F
this.ballTextResult.alpha = 0F
this.ballFrameResult.addView(this.ballTextResult, this.boxSize.times(0.5).toInt(), this.boxSize.times(0.5).toInt())
//
this.ballHistoryDraw()
this.startButtonColor(true)
}
fun onClickStart(v: View) {
if (this.busyFlag) {
return
}
this.busyFlag = true
this.destroyFlag = false
this.ballImageResult.alpha = 0F
this.ballTextResult.alpha = 0F
this.binding.imageFirstView.alpha = 1F
this.startButtonColor(false)
//ballを選ぶ
this.choiceBall = this.choiceNextBall()
if (this.choiceBall == -1) { //終了
this.ballTextResult.textSize = 24F
this.ballTextResult.typeface = Typeface.DEFAULT
this.ballTextResult.text = resources.getText(R.string.empty)
this.ballTextResult.alpha = 1F
this.startButtonColor(true)
this.busyFlag = false
return
}
//動画
if (this.destroyFlag == false) {
this.binding.videoView.setVideoPath("android.resource://" + this.packageName + "/" + R.raw.bingo)
this.binding.videoView.setOnPreparedListener {
this.binding.videoView.start()
Handler(mainLooper).postDelayed({
this.binding.imageFirstView.alpha = 0F
}, 500)
}
this.binding.videoView.setOnCompletionListener {
if (this.destroyFlag == false) {
if (this.isIncludeInHistory(this.choiceBall) == false) { //ディスプレイOFFから復帰した時に動画が開始して同じ番号が選ばれるので、同じ番号は登録しない。
this.ballHistory += this.choiceBall
}
this.saveItemStates()
this.resultTextDraw()
this.ballImageResult.alpha = 1F
this.ballTextResult.alpha = 1F
this.ballHistoryDraw()
this.startButtonColor(true)
this.busyFlag = false
}
}
}
}
//次のボールを選ぶ
private fun choiceNextBall(): Int {
var candidate: Array<Int> = arrayOf() //historyに含まれないボールの配列
for (i in 0 until BALL_COUNT) {
if (this.isIncludeInHistory(i) == false) {
candidate += i
}
}
if (candidate.isEmpty()) { //終了
return -1 //end
}
candidate.shuffle()
return candidate[0]
}
//履歴に含まれるか
private fun isIncludeInHistory(num: Int): Boolean {
return (num in this.ballHistory)
}
//ボールの数字
private fun resultTextDraw() {
val text: String = (this.choiceBall + 1).toString()
this.ballTextResult.text = text
if (this.speechNumber == 1) {
this.speakText(text)
}
}
//履歴を表示
private fun ballHistoryDraw() {
for (i in 0 until BALL_COUNT) {
val c: Int = if (this.isIncludeInHistory(i)) ContextCompat.getColor(this, R.color.choices) else ContextCompat.getColor(this, R.color.floor)
this.ballTables[i].setBackgroundColor(c)
}
if (this.ballHistory.isNotEmpty()) {
this.ballTables[this.ballHistory[this.ballHistory.lastIndex]].setBackgroundColor(ContextCompat.getColor(this, R.color.last_choices))
}
//
for (i in 0 until BALL_COUNT) {
if (this.ballHistory.getOrNull(i) == null) {
this.ballTableHistories[i].text = ""
this.ballTableHistories[i].setBackgroundColor(ContextCompat.getColor(this, R.color.floor))
} else {
this.ballTableHistories[i].text = (this.ballHistory[i] + 1).toString()
val c: Int = if (i == this.ballHistory.lastIndex) ContextCompat.getColor(this, R.color.last_choices) else ContextCompat.getColor(this, R.color.choices)
this.ballTableHistories[i].setBackgroundColor(c)
}
}
}
//start,settingのボタン色
private fun startButtonColor(onOff: Boolean) {
if (onOff) {
this.binding.textStart.alpha = 1F
this.binding.textSetting.alpha = 1F
this.binding.textCard.alpha = 1F
} else {
this.binding.textStart.alpha = 0F
this.binding.textSetting.alpha = 0F
this.binding.textCard.alpha = 0F
}
}
//-------------------------------------------------
fun onClickSetting(v: View) {
if (this.busyFlag) {
return
}
this.destroyFlag = true
this.openSetting()
}
fun onClickCard(v: View) {
if (this.busyFlag) {
return
}
this.destroyFlag = true
this.openCard()
}
private fun openSetting() {
val intent = Intent(applicationContext, SettingActivity::class.java)
intent.putExtra(TEXT_SIZE_TABLE, this.textSizeTable)
intent.putExtra(TEXT_SIZE_CARD, this.textSizeCard)
intent.putExtra(SPEECH_NUMBER, this.speechNumber)
intent.putExtra(THEME_NUMBER, this.themeNumber)
intent.putExtra(LOCALE_LANGUAGE, this.localeLanguage)
startActivityForResult(intent, RESULT_SETTING_ACTIVITY)
}
private fun openCard() {
val intent = Intent(applicationContext, CardActivity::class.java)
intent.putExtra(TEXT_SIZE_CARD, this.textSizeCard)
startActivityForResult(intent, RESULT_CARD_ACTIVITY)
}
override fun onActivityResult(requestCode: Int, resultCode: Int, intent: Intent?) {
super.onActivityResult(requestCode, resultCode, intent)
if (resultCode == Activity.RESULT_OK && requestCode == RESULT_SETTING_ACTIVITY && intent != null) {
val resetMachine: Int = intent.getIntExtra(RESET_MACHINE, 0)
if (resetMachine == 1) {
this.ballHistory = arrayOf()
this.saveItemStates()
}
val resetCard: Int = intent.getIntExtra(RESET_CARD, 0)
if (resetCard == 1) {
this.deleteCardStates()
}
val lastTextSizeTable: Int = this.textSizeTable
this.textSizeTable = intent.getIntExtra(TEXT_SIZE_TABLE, 16)
if (lastTextSizeTable != this.textSizeTable) {
this.saveTextSizeTable()
}
val lastTextSizeCard: Int = this.textSizeCard
this.textSizeCard = intent.getIntExtra(TEXT_SIZE_CARD, 35)
if (lastTextSizeCard != this.textSizeCard) {
this.saveTextSizeCard()
}
val lastSpeechNumber: Int = this.speechNumber
this.speechNumber = intent.getIntExtra(SPEECH_NUMBER, 1)
if (lastSpeechNumber != this.speechNumber) {
this.saveSpeechNumber()
}
val lastThemeNumber: Int = this.themeNumber
this.themeNumber = intent.getIntExtra(THEME_NUMBER, 0)
if (lastThemeNumber != this.themeNumber) {
this.saveThemeNumber()
}
val lastLocaleLanguage = this.localeLanguage
this.localeLanguage = intent.getStringExtra(LOCALE_LANGUAGE) ?: ""
if (this.localeLanguage != lastLocaleLanguage) {
this.saveLocaleLanguage()
this.setSpeechLocale()
}
}
//SettingActivityからMainActivityに戻る時に言語を変更するとクラッシュするので再構築する
recreate()
}
//-------------------------------------------------
//履歴を保存
private fun saveItemStates() {
var bh: String = ""
if (this.ballHistory.isNotEmpty()) {
for (element in this.ballHistory) {
bh += "${element}," //0 to 74
}
}
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putString(BALL_HISTORY, bh)
apply()
}
}
//履歴を読み出し
private fun loadItemStates() {
this.ballHistory = arrayOf()
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
val bh: String = pref.getString(BALL_HISTORY, "") ?: ""
if (bh != "") {
val histories: List<String> = "${bh},".split(",")
for (element in histories) {
if (element != "") {
val n: Int = element.toInt() //0 to 74
this.ballHistory += n
}
}
}
//test
//this.ballHistory = arrayOf(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72)
}
//-------------------------------------------------
//カード情報消去
private fun deleteCardStates() {
getSharedPreferences(MainActivity.SETTINGS, Context.MODE_PRIVATE).edit().apply {
remove(MainActivity.CARD)
apply()
}
}
//-------------------------------------------------
//数字読み上げを保存
private fun saveSpeechNumber() {
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putInt(SPEECH_NUMBER, this@MainActivity.speechNumber)
apply()
}
}
//数字読み上げを読み出し
private fun loadSpeechNumber() {
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.speechNumber = pref.getInt(SPEECH_NUMBER, 1)
}
//-------------------------------------------------
//文字サイズ 進行具合 と 履歴
private fun saveTextSizeTable() {
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putInt(TEXT_SIZE_TABLE, this@MainActivity.textSizeTable)
apply()
}
}
//文字サイズ 進行具合 と 履歴
private fun loadTextSizeTable() {
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.textSizeTable = pref.getInt(TEXT_SIZE_TABLE, 16)
}
//文字サイズ 進行具合 と 履歴
private fun setTextSizeTable() {
for (element in this.ballTables) {
element.textSize = this.textSizeTable.toFloat()
}
for (element in this.ballTableHistories) {
element.textSize = this.textSizeTable.toFloat()
}
}
//-------------------------------------------------
//文字サイズ CARD
private fun saveTextSizeCard() {
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putInt(TEXT_SIZE_CARD, this@MainActivity.textSizeCard)
apply()
}
}
//文字サイズ CARD
private fun loadTextSizeCard() {
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.textSizeCard = pref.getInt(TEXT_SIZE_CARD, 35)
}
//-------------------------------------------------
//テーマを保存
private fun saveThemeNumber() {
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putInt(THEME_NUMBER, this@MainActivity.themeNumber)
apply()
}
}
//テーマを読み出し
private fun loadThemeNumber() {
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.themeNumber = pref.getInt(THEME_NUMBER, 0)
}
//テーマを設定
private fun setTheme() {
when (this.themeNumber) {
0 -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
1 -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
}
}
//-------------------------------------------------
//音声の言語設定
private fun setSpeechLocale() {
this.loadLocaleLanguage()
val loc: Locale? = if (this.localeLanguage != "") Locale(this.localeLanguage) else null
if (loc != null) {
this.textToSpeech.let { tts ->
if (tts.isLanguageAvailable(loc) > TextToSpeech.LANG_AVAILABLE) {
tts.language = loc
} else {
// 言語の設定に失敗
}
}
}
}
//----------------------------------------------
//localeLanguageを保存
private fun saveLocaleLanguage() {
getSharedPreferences(SETTINGS, Context.MODE_PRIVATE).edit().apply {
putString(LOCALE_LANGUAGE, this@MainActivity.localeLanguage)
apply()
}
}
//localeLanguageを読み出し
private fun loadLocaleLanguage() {
val pref = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.localeLanguage = pref.getString(LOCALE_LANGUAGE, "") ?: ""
}
//言語設定
override fun attachBaseContext(base: Context) {
val pref = base.getSharedPreferences(SETTINGS, Context.MODE_PRIVATE)
this.localeLanguage = pref.getString(LOCALE_LANGUAGE, "") ?: ""
val loc: Locale? = if (this.localeLanguage != "") Locale(this.localeLanguage) else null
if (loc != null) {
val res = base.resources
val config = Configuration(res.configuration)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { //minSdkVersion 24
val localeList = LocaleList(loc)
LocaleList.setDefault(localeList)
config.setLocales(localeList)
} else { //minSdkVersion 17 16はダメ
config.setLocale(loc)
}
super.attachBaseContext(base.createConfigurationContext(config))
} else {
super.attachBaseContext(base)
}
}
//----------------------------------------------
}
package jp.aosystem.bingomachine
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.os.LocaleList
import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.widget.ConstraintLayout
import jp.aosystem.bingomachine.databinding.ActivitySettingBinding
import java.util.*
class SettingActivity : AppCompatActivity() {
private lateinit var binding: ActivitySettingBinding
private lateinit var viewModel: ConstraintLayout
private var inputMethodManager: InputMethodManager? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
//setContentView(R.layout.activity_main)
this.binding = ActivitySettingBinding.inflate(layoutInflater)
this.viewModel = this.binding.root
setContentView(this.viewModel)
//データ受け取り
this.binding.switchResetMachine.isChecked = false
this.binding.switchResetCard.isChecked = false
val intent = this.intent
val textSizeTable: Int = intent.getIntExtra(MainActivity.TEXT_SIZE_TABLE,16)
this.binding.editTextSizeTable.setText(textSizeTable.toString())
val textSizeCard: Int = intent.getIntExtra(MainActivity.TEXT_SIZE_CARD,35)
this.binding.editTextSizeCard.setText(textSizeCard.toString())
val speechNumber: Int = intent.getIntExtra(MainActivity.SPEECH_NUMBER,0)
this.binding.switchSpeechNumber.isChecked = speechNumber != 0
val themeNumber: Int = intent.getIntExtra(MainActivity.THEME_NUMBER,0)
this.binding.switchTheme.isChecked = themeNumber != 0
val localeLanguage: String = intent.getStringExtra(MainActivity.LOCALE_LANGUAGE) ?: ""
when (localeLanguage) {
"en" -> this.binding.radioLanguageEn.isChecked = true
"bg" -> this.binding.radioLanguageBg.isChecked = true
"cs" -> this.binding.radioLanguageCs.isChecked = true
"da" -> this.binding.radioLanguageDa.isChecked = true
"de" -> this.binding.radioLanguageDe.isChecked = true
"el" -> this.binding.radioLanguageEl.isChecked = true
"es" -> this.binding.radioLanguageEs.isChecked = true
"et" -> this.binding.radioLanguageEt.isChecked = true
"fi" -> this.binding.radioLanguageFi.isChecked = true
"fr" -> this.binding.radioLanguageFr.isChecked = true
"hu" -> this.binding.radioLanguageHu.isChecked = true
"it" -> this.binding.radioLanguageIt.isChecked = true
"ja" -> this.binding.radioLanguageJa.isChecked = true
"lt" -> this.binding.radioLanguageLt.isChecked = true
"lv" -> this.binding.radioLanguageLv.isChecked = true
"nl" -> this.binding.radioLanguageNl.isChecked = true
"pl" -> this.binding.radioLanguagePl.isChecked = true
"pt" -> this.binding.radioLanguagePt.isChecked = true
"ro" -> this.binding.radioLanguageRo.isChecked = true
"ru" -> this.binding.radioLanguageRu.isChecked = true
"sk" -> this.binding.radioLanguageSk.isChecked = true
"sv" -> this.binding.radioLanguageSv.isChecked = true
"th" -> this.binding.radioLanguageTh.isChecked = true
"zh" -> this.binding.radioLanguageZh.isChecked = true
else -> this.binding.radioLanguageSystem.isChecked = true
}
//タイトルバー非表示
supportActionBar?.hide()
//背景タッチでキーボードを隠す
this.setTouchListener()
}
//背景タッチでテキストエリアからフォーカスを外してキーボードを隠す
private fun setTouchListener() {
this.inputMethodManager = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager?
this.binding.editTextSizeTable.setOnFocusChangeListener { _, hasFocus ->
if (!hasFocus) {
this.inputMethodManager!!.hideSoftInputFromWindow( //キーボードを隠す
this.binding.editTextSizeTable.windowToken,
InputMethodManager.HIDE_NOT_ALWAYS
)
}
}
this.binding.editTextSizeCard.setOnFocusChangeListener { _, hasFocus ->
if (!hasFocus) {
this.inputMethodManager!!.hideSoftInputFromWindow( //キーボードを隠す
this.binding.editTextSizeCard.windowToken,
InputMethodManager.HIDE_NOT_ALWAYS
)
}
}
}
fun onClickApply(v: View) {
val resetMachine: Int = if (this.binding.switchResetMachine.isChecked) 1 else 0
val resetCard: Int = if (this.binding.switchResetCard.isChecked) 1 else 0
var textSizeTable: Int = this.binding.editTextSizeTable.text.toString().toIntOrNull() ?: 16
if (textSizeTable < 10) {
textSizeTable = 10
} else if (textSizeTable > 200) {
textSizeTable = 200
}
var textSizeCard: Int = this.binding.editTextSizeCard.text.toString().toIntOrNull() ?: 35
if (textSizeCard < 10) {
textSizeCard = 10
} else if (textSizeCard > 200) {
textSizeCard = 200
}
val speechNumber: Int = if (this.binding.switchSpeechNumber.isChecked) 1 else 0
val themeNumber: Int = if (this.binding.switchTheme.isChecked) 1 else 0
var localeLanguage: String = ""
if (this.binding.radioLanguageEn.isChecked) {
localeLanguage = "en"
} else if (this.binding.radioLanguageBg.isChecked) {
localeLanguage = "bg"
} else if (this.binding.radioLanguageCs.isChecked) {
localeLanguage = "cs"
} else if (this.binding.radioLanguageDa.isChecked) {
localeLanguage = "da"
} else if (this.binding.radioLanguageDe.isChecked) {
localeLanguage = "de"
} else if (this.binding.radioLanguageEl.isChecked) {
localeLanguage = "el"
} else if (this.binding.radioLanguageEs.isChecked) {
localeLanguage = "es"
} else if (this.binding.radioLanguageEt.isChecked) {
localeLanguage = "et"
} else if (this.binding.radioLanguageFi.isChecked) {
localeLanguage = "fi"
} else if (this.binding.radioLanguageFr.isChecked) {
localeLanguage = "fr"
} else if (this.binding.radioLanguageHu.isChecked) {
localeLanguage = "hu"
} else if (this.binding.radioLanguageIt.isChecked) {
localeLanguage = "it"
} else if (this.binding.radioLanguageJa.isChecked) {
localeLanguage = "ja"
} else if (this.binding.radioLanguageLt.isChecked) {
localeLanguage = "lt"
} else if (this.binding.radioLanguageLv.isChecked) {
localeLanguage = "lv"
} else if (this.binding.radioLanguageNl.isChecked) {
localeLanguage = "nl"
} else if (this.binding.radioLanguagePl.isChecked) {
localeLanguage = "pl"
} else if (this.binding.radioLanguagePt.isChecked) {
localeLanguage = "pt"
} else if (this.binding.radioLanguageRo.isChecked) {
localeLanguage = "ro"
} else if (this.binding.radioLanguageRu.isChecked) {
localeLanguage = "ru"
} else if (this.binding.radioLanguageSk.isChecked) {
localeLanguage = "sk"
} else if (this.binding.radioLanguageSv.isChecked) {
localeLanguage = "sv"
} else if (this.binding.radioLanguageTh.isChecked) {
localeLanguage = "th"
} else if (this.binding.radioLanguageZh.isChecked) {
localeLanguage = "zh"
}
val intent = Intent()
intent.putExtra(MainActivity.RESET_MACHINE, resetMachine)
intent.putExtra(MainActivity.RESET_CARD, resetCard)
intent.putExtra(MainActivity.TEXT_SIZE_TABLE, textSizeTable)
intent.putExtra(MainActivity.TEXT_SIZE_CARD, textSizeCard)
intent.putExtra(MainActivity.SPEECH_NUMBER, speechNumber)
intent.putExtra(MainActivity.THEME_NUMBER, themeNumber)
intent.putExtra(MainActivity.LOCALE_LANGUAGE, localeLanguage)
setResult(Activity.RESULT_OK, intent)
finish()
}
fun onClickCancel(v: View) {
val intent = Intent()
setResult(Activity.RESULT_CANCELED, intent)
finish()
}
//--------------------------------------------------
//言語設定
override fun attachBaseContext(base: Context) {
val pref = base.getSharedPreferences(MainActivity.SETTINGS, Context.MODE_PRIVATE)
val localeLanguage: String = pref.getString(MainActivity.LOCALE_LANGUAGE, "") ?: ""
val loc: Locale? = if (localeLanguage != "") Locale(localeLanguage) else null
if (loc != null) {
val res = base.resources
val config = Configuration(res.configuration)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { //minSdkVersion 24
val localeList = LocaleList(loc)
LocaleList.setDefault(localeList)
config.setLocales(localeList)
} else { //minSdkVersion 17 16はダメ
config.setLocale(loc)
}
super.attachBaseContext(base.createConfigurationContext(config))
} else {
super.attachBaseContext(base)
}
}
//--------------------------------------------------
}
package jp.aosystem.bingomachine
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.os.LocaleList
import android.util.DisplayMetrics
import android.view.View
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.AdSize
import com.google.android.gms.ads.AdView
import com.google.android.gms.ads.MobileAds
import jp.aosystem.bingomachine.databinding.ActivityCardBinding
import java.util.*
class CardActivity : AppCompatActivity() {
private lateinit var binding: ActivityCardBinding
private lateinit var viewModel: ConstraintLayout
private var cardNumberViews: Array<TextView> = arrayOf()
data class Box (
var num: Int,
var open: Boolean,
)
private var boxes: Array<Array<Box>> = arrayOf(
arrayOf(Box(0,false),Box(0,false),Box(0,false),Box(0,false),Box(0,false)),
arrayOf(Box(0,false),Box(0,false),Box(0,false),Box(0,false),Box(0,false)),
arrayOf(Box(0,false),Box(0,false),Box(0,false),Box(0,false),Box(0,false)),
arrayOf(Box(0,false),Box(0,false),Box(0,false),Box(0,false),Box(0,false)),
arrayOf(Box(0,false),Box(0,false),Box(0,false),Box(0,false),Box(0,false)),
)
private var colorBackOpen: Int = 0
private var colorBackClose: Int = 0
private var colorForeOpen: Int = 0
private var colorForeClose: Int = 0
private var textSizeCard: Int = 30
//adMob
private lateinit var adView: AdView //adMob
private val adSize: AdSize
get() {
val display = windowManager.defaultDisplay
val outMetrics = DisplayMetrics()
display.getMetrics(outMetrics)
val density = outMetrics.density
var adWidthPixels = this.binding.adContainer.width.toFloat()
if (adWidthPixels == 0f) {
adWidthPixels = outMetrics.widthPixels.toFloat()
}
val adWidth = (adWidthPixels / density).toInt()
return AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(this, adWidth)
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
//setContentView(R.layout.activity_main)
this.binding = ActivityCardBinding.inflate(layoutInflater)
this.viewModel = this.binding.root
setContentView(this.viewModel)
//タイトルバー非表示
supportActionBar?.hide()
//adMob
MobileAds.initialize(this) {}
this.adView = AdView(this)
this.binding.adContainer.addView(this.adView)
this.loadBanner()
//データ受け取り
val intent = this.intent
this.textSizeCard = intent.getIntExtra(MainActivity.TEXT_SIZE_CARD,30)
}
//adMob
private fun loadBanner() {
this.adView.adUnitId = MainActivity.AD_UNIT_ID
this.adView.adSize = adSize
val adRequest = AdRequest
.Builder()
//.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.build()
this.adView.loadAd(adRequest)
}
fun onClickCancel(v: View) {
val intent = Intent()
setResult(Activity.RESULT_CANCELED, intent)
finish()
}
override fun onResume() {
super.onResume()
this.init()
}
private fun init() {
this.cardNumberViews = arrayOf(
this.binding.textCard1,
this.binding.textCard2,
this.binding.textCard3,
this.binding.textCard4,
this.binding.textCard5,
this.binding.textCard6,
this.binding.textCard7,
this.binding.textCard8,
this.binding.textCard9,
this.binding.textCard10,
this.binding.textCard11,
this.binding.textCard12,
this.binding.textCard13,
this.binding.textCard14,
this.binding.textCard15,
this.binding.textCard16,
this.binding.textCard17,
this.binding.textCard18,
this.binding.textCard19,
this.binding.textCard20,
this.binding.textCard21,
this.binding.textCard22,
this.binding.textCard23,
this.binding.textCard24,
this.binding.textCard25,
)
this.colorBackOpen = ContextCompat.getColor(this, R.color.choices)
this.colorBackClose = ContextCompat.getColor(this, R.color.floor)
this.colorForeOpen = ContextCompat.getColor(this, R.color.white)
this.colorForeClose = ContextCompat.getColor(this, R.color.black)
if (this.loadCardStates() == false) {
this.newCard()
}
this.drawCard()
}
private fun newCard() {
var num: Array<Int> = arrayOf()
for (x in 0 until 5) {
num = arrayOf()
for (i in 1..15) {
num += i + 15.times(x)
}
num.shuffle()
for (i in 0 until 5) {
this.boxes[x][i].num = num[i]
this.boxes[x][i].open = false
}
}
}
private fun drawCard() {
for (x in 0 until 5) {
for (y in 0 until 5) {
this.cardNumberViews[x.times(5) + y].text = this.boxes[x][y].num.toString()
var bc: Int = this.colorBackClose
var tc: Int = this.colorForeClose
if (this.boxes[x][y].open) {
bc = this.colorBackOpen
tc = this.colorForeOpen
}
this.cardNumberViews[x.times(5) + y].setBackgroundColor(bc)
this.cardNumberViews[x.times(5) + y].setTextColor(tc)
this.cardNumberViews[x.times(5) + y].textSize = this.textSizeCard.toFloat()
}
}
this.cardNumberViews[12].text = "F"
this.cardNumberViews[12].setBackgroundColor(this.colorBackOpen)
this.cardNumberViews[12].setTextColor(this.colorForeOpen)
}
fun onClickBox1(v: View) {
this.boxToggle(0, 0)
}
fun onClickBox2(v: View) {
this.boxToggle(0, 1)
}
fun onClickBox3(v: View) {
this.boxToggle(0, 2)
}
fun onClickBox4(v: View) {
this.boxToggle(0, 3)
}
fun onClickBox5(v: View) {
this.boxToggle(0, 4)
}
fun onClickBox6(v: View) {
this.boxToggle(1, 0)
}
fun onClickBox7(v: View) {
this.boxToggle(1, 1)
}
fun onClickBox8(v: View) {
this.boxToggle(1, 2)
}
fun onClickBox9(v: View) {
this.boxToggle(1, 3)
}
fun onClickBox10(v: View) {
this.boxToggle(1, 4)
}
fun onClickBox11(v: View) {
this.boxToggle(2, 0)
}
fun onClickBox12(v: View) {
this.boxToggle(2, 1)
}
fun onClickBox14(v: View) {
this.boxToggle(2, 3)
}
fun onClickBox15(v: View) {
this.boxToggle(2, 4)
}
fun onClickBox16(v: View) {
this.boxToggle(3, 0)
}
fun onClickBox17(v: View) {
this.boxToggle(3, 1)
}
fun onClickBox18(v: View) {
this.boxToggle(3, 2)
}
fun onClickBox19(v: View) {
this.boxToggle(3, 3)
}
fun onClickBox20(v: View) {
this.boxToggle(3, 4)
}
fun onClickBox21(v: View) {
this.boxToggle(4, 0)
}
fun onClickBox22(v: View) {
this.boxToggle(4, 1)
}
fun onClickBox23(v: View) {
this.boxToggle(4, 2)
}
fun onClickBox24(v: View) {
this.boxToggle(4, 3)
}
fun onClickBox25(v: View) {
this.boxToggle(4, 4)
}
private fun boxToggle(x: Int, y: Int) {
if (this.boxes[x][y].open) {
this.boxes[x][y].open = false
this.cardNumberViews[x.times(5) + y].setBackgroundColor(this.colorBackClose)
this.cardNumberViews[x.times(5) + y].setTextColor(this.colorForeClose)
} else {
this.boxes[x][y].open = true
this.cardNumberViews[x.times(5) + y].setBackgroundColor(this.colorBackOpen)
this.cardNumberViews[x.times(5) + y].setTextColor(this.colorForeOpen)
}
this.saveCardStates()
}
//-------------------------------------------------
//履歴を保存
private fun saveCardStates() {
var bx: String = ""
for (x in 0 until 5) {
for (y in 0 until 5) {
bx += "${this.boxes[x][y].num}:${this.boxes[x][y].open},"
}
}
getSharedPreferences(MainActivity.SETTINGS, Context.MODE_PRIVATE).edit().apply {
putString(MainActivity.CARD, bx)
apply()
}
}
//履歴を読み出し
private fun loadCardStates(): Boolean {
val pref = getSharedPreferences(MainActivity.SETTINGS, Context.MODE_PRIVATE)
val bx: String = pref.getString(MainActivity.CARD, "") ?: ""
if (bx != "") {
val boxList: List<String> = "${bx},".split(",")
var c: Int = 0
for (x in 0 until 5) {
for (y in 0 until 5) {
val box: List<String> = "${boxList[c]}:".split(":")
val n: Int = box[0].toInt() //0 to 74
val b: Boolean = (box[1] == "true")
this.boxes[x][y].num = n
this.boxes[x][y].open= b
c += 1
}
}
return true
}
return false
}
//-------------------------------------------------
//言語設定
override fun attachBaseContext(base: Context) {
val pref = base.getSharedPreferences(MainActivity.SETTINGS, Context.MODE_PRIVATE)
val localeLanguage: String = pref.getString(MainActivity.LOCALE_LANGUAGE, "") ?: ""
val loc: Locale? = if (localeLanguage != "") Locale(localeLanguage) else null
if (loc != null) {
val res = base.resources
val config = Configuration(res.configuration)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { //minSdkVersion 24
val localeList = LocaleList(loc)
LocaleList.setDefault(localeList)
config.setLocales(localeList)
} else { //minSdkVersion 17 16はダメ
config.setLocale(loc)
}
super.attachBaseContext(base.createConfigurationContext(config))
} else {
super.attachBaseContext(base)
}
}
//--------------------------------------------------
}
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:background="@color/floor"
tools:context=".MainActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/layoutHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dp"
android:background="#3dff9e"
android:orientation="horizontal">
<TextView
android:id="@+id/textStart"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:background="#7462C5"
android:gravity="center"
android:minHeight="96dp"
android:onClick="onClickStart"
android:text="@string/start" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="96dip"
android:layout_marginStart="1dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/textSetting"
android:layout_width="match_parent"
android:layout_height="24dp"
android:background="#6276C5"
android:gravity="center"
android:minHeight="24dip"
android:onClick="onClickSetting"
android:text="@string/setting" />
<TextView
android:id="@+id/textCard"
android:layout_width="match_parent"
android:layout_height="71dp"
android:layout_marginTop="1dp"
android:background="#6093C5"
android:gravity="center"
android:onClick="onClickCard"
android:text="@string/card" />
</LinearLayout>
</LinearLayout>
<FrameLayout
android:id="@+id/layoutBase"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<VideoView
android:id="@+id/videoView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
android:id="@+id/imageFirstView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
app:srcCompat="@drawable/first_frame" />
</FrameLayout>
<TextView
android:id="@+id/textViewProgress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center"
android:text="@string/progress" />
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="5dp"
android:layout_marginRight="20dp"
android:background="#00C853">
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table_b" />
<TextView
android:id="@+id/textTableI"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table_i" />
<TextView
android:id="@+id/textTableN"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table_n" />
<TextView
android:id="@+id/textTableG"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table_g" />
<TextView
android:id="@+id/textTableO"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table_o" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table1" />
<TextView
android:id="@+id/textTable16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table16" />
<TextView
android:id="@+id/textTable31"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table31" />
<TextView
android:id="@+id/textTable46"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table46" />
<TextView
android:id="@+id/textTable61"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table61" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table2" />
<TextView
android:id="@+id/textTable17"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table17" />
<TextView
android:id="@+id/textTable32"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table32" />
<TextView
android:id="@+id/textTable47"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table47" />
<TextView
android:id="@+id/textTable62"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table62" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table3" />
<TextView
android:id="@+id/textTable18"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table18" />
<TextView
android:id="@+id/textTable33"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table33" />
<TextView
android:id="@+id/textTable48"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table48" />
<TextView
android:id="@+id/textTable63"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table63" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table4" />
<TextView
android:id="@+id/textTable19"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table19" />
<TextView
android:id="@+id/textTable34"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table34" />
<TextView
android:id="@+id/textTable49"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table49" />
<TextView
android:id="@+id/textTable64"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table64" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table5" />
<TextView
android:id="@+id/textTable20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table20" />
<TextView
android:id="@+id/textTable35"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table35" />
<TextView
android:id="@+id/textTable50"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table50" />
<TextView
android:id="@+id/textTable65"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table65" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table6" />
<TextView
android:id="@+id/textTable21"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table21" />
<TextView
android:id="@+id/textTable36"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table36" />
<TextView
android:id="@+id/textTable51"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table51" />
<TextView
android:id="@+id/textTable66"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table66" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table7" />
<TextView
android:id="@+id/textTable22"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table22" />
<TextView
android:id="@+id/textTable37"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table37" />
<TextView
android:id="@+id/textTable52"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table52" />
<TextView
android:id="@+id/textTable67"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table67" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table8" />
<TextView
android:id="@+id/textTable23"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table23" />
<TextView
android:id="@+id/textTable38"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table38" />
<TextView
android:id="@+id/textTable53"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table53" />
<TextView
android:id="@+id/textTable68"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table68" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table9" />
<TextView
android:id="@+id/textTable24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table24" />
<TextView
android:id="@+id/textTable39"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table39" />
<TextView
android:id="@+id/textTable54"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table54" />
<TextView
android:id="@+id/textTable69"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table69" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table10" />
<TextView
android:id="@+id/textTable25"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table25" />
<TextView
android:id="@+id/textTable40"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table40" />
<TextView
android:id="@+id/textTable55"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table55" />
<TextView
android:id="@+id/textTable70"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table70" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table11" />
<TextView
android:id="@+id/textTable26"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table26" />
<TextView
android:id="@+id/textTable41"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table41" />
<TextView
android:id="@+id/textTable56"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table56" />
<TextView
android:id="@+id/textTable71"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table71" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table12" />
<TextView
android:id="@+id/textTable27"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table27" />
<TextView
android:id="@+id/textTable42"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table42" />
<TextView
android:id="@+id/textTable57"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table57" />
<TextView
android:id="@+id/textTable72"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table72" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table13" />
<TextView
android:id="@+id/textTable28"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table28" />
<TextView
android:id="@+id/textTable43"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table43" />
<TextView
android:id="@+id/textTable58"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table58" />
<TextView
android:id="@+id/textTable73"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table73" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable14"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table14" />
<TextView
android:id="@+id/textTable29"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table29" />
<TextView
android:id="@+id/textTable44"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table44" />
<TextView
android:id="@+id/textTable59"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table59" />
<TextView
android:id="@+id/textTable74"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table74" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTable15"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table15" />
<TextView
android:id="@+id/textTable30"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table30" />
<TextView
android:id="@+id/textTable45"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table45" />
<TextView
android:id="@+id/textTable60"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table60" />
<TextView
android:id="@+id/textTable75"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/table75" />
</TableRow>
</TableLayout>
<TextView
android:id="@+id/textViewHistory"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center"
android:text="@string/history" />
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="5dp"
android:layout_marginRight="20dp"
android:background="#00C853">
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory14"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory15"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory17"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory18"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory19"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory21"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory22"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory23"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory25"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory26"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory27"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory28"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory29"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory30"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory31"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory32"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory33"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory34"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory35"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory36"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory37"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory38"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory39"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory40"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory41"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory42"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory43"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory44"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory45"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory46"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory47"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory48"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory49"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory50"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory51"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory52"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory53"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory54"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory55"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory56"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory57"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory58"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory59"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory60"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory61"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory62"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory63"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory64"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory65"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory66"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory67"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory68"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory69"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory70"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableHistory71"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory72"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory73"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory74"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
<TextView
android:id="@+id/textTableHistory75"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="1dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="4dp"
android:paddingBottom="4dp" />
</TableRow>
</TableLayout>
<Space
android:layout_width="match_parent"
android:layout_height="200dp" />
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@+id/ad_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SettingActivity">
<LinearLayout
android:id="@+id/layoutButtons"
android:layout_width="match_parent"
android:layout_height="48dip"
android:layout_marginTop="1dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/textCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="#BFC663"
android:gravity="center"
android:minHeight="48dip"
android:onClick="onClickCancel"
android:text="@string/cancel" />
<TextView
android:id="@+id/textTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_weight="1"
android:background="#86C663"
android:gravity="center"
android:minHeight="48dip"
android:onClick="onClickApply"
android:text="@string/apply" />
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/layoutButtons">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingLeft="20dp"
android:paddingTop="20dp"
android:paddingRight="20dp"
android:paddingBottom="50dp">
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switchResetMachine"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reset_machine" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reset_machine1" />
<View
android:id="@+id/divider1"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switchResetCard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="@string/reset_card" />
<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reset_card1" />
<View
android:id="@+id/divider8"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switchSpeechNumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="@string/speech_number" />
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/speech_number1" />
<View
android:id="@+id/divider9"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="30dp"
android:background="?android:attr/listDivider" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textTextSizeTable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:text="@string/textSizeTable"
android:textColor="?android:attr/textColorPrimary" />
<EditText
android:id="@+id/editTextSizeTable"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="4"
android:inputType="number" />
</LinearLayout>
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/textSizeTable1" />
<View
android:id="@+id/divider10"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="30dp"
android:background="?android:attr/listDivider" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textTextSizeCard"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:text="@string/textSizeCard"
android:textColor="?android:attr/textColorPrimary" />
<EditText
android:id="@+id/editTextSizeCard"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="4"
android:inputType="number" />
</LinearLayout>
<TextView
android:id="@+id/textView10"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/textSizeCard1" />
<View
android:id="@+id/divider2"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/textLanguage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/language"
android:textColor="?android:attr/textColorPrimary" />
<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/languageNote" />
<RadioGroup
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RadioButton
android:id="@+id/radioLanguageSystem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageSystem" />
<RadioButton
android:id="@+id/radioLanguageEn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageEn" />
<RadioButton
android:id="@+id/radioLanguageBg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageBg" />
<RadioButton
android:id="@+id/radioLanguageCs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageCs" />
<RadioButton
android:id="@+id/radioLanguageDa"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageDa" />
<RadioButton
android:id="@+id/radioLanguageDe"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageDe" />
<RadioButton
android:id="@+id/radioLanguageEl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageEl" />
<RadioButton
android:id="@+id/radioLanguageEs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageEs" />
<RadioButton
android:id="@+id/radioLanguageEt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageEt" />
<RadioButton
android:id="@+id/radioLanguageFi"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageFi" />
<RadioButton
android:id="@+id/radioLanguageFr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageFr" />
<RadioButton
android:id="@+id/radioLanguageHu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageHu" />
<RadioButton
android:id="@+id/radioLanguageIt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageIt" />
<RadioButton
android:id="@+id/radioLanguageJa"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageJa" />
<RadioButton
android:id="@+id/radioLanguageLt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageLt" />
<RadioButton
android:id="@+id/radioLanguageLv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageLv" />
<RadioButton
android:id="@+id/radioLanguageNl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageNl" />
<RadioButton
android:id="@+id/radioLanguagePl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languagePl" />
<RadioButton
android:id="@+id/radioLanguagePt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languagePt" />
<RadioButton
android:id="@+id/radioLanguageRo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageRo" />
<RadioButton
android:id="@+id/radioLanguageRu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageRu" />
<RadioButton
android:id="@+id/radioLanguageSk"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageSk" />
<RadioButton
android:id="@+id/radioLanguageSv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageSv" />
<RadioButton
android:id="@+id/radioLanguageTh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageTh" />
<RadioButton
android:id="@+id/radioLanguageZh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/languageZh" />
</RadioGroup>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switchTheme"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="@string/darkTheme" />
<View
android:id="@+id/divider3"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/textUsage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/usage" />
<TextView
android:id="@+id/textUsage1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/usage1" />
<View
android:id="@+id/divider4"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/textUsageMachine"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/usage_machine" />
<TextView
android:id="@+id/textUsageMachine1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/usage_machine1" />
<View
android:id="@+id/divider5"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/textUsageCard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/usage_card" />
<TextView
android:id="@+id/textUsageCard1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/usage_card1" />
<View
android:id="@+id/divider7"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/textUsageCard2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/usage2" />
<View
android:id="@+id/divider6"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="20dp"
android:background="?android:attr/listDivider" />
<Space
android:layout_width="match_parent"
android:layout_height="120dp" />
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFCC80"
tools:context=".CardActivity">
<LinearLayout
android:id="@+id/layoutButtons"
android:layout_width="match_parent"
android:layout_height="48dip"
android:layout_marginTop="1dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/textTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="4"
android:background="#6093C5"
android:gravity="center"
android:minHeight="48dip"
android:text="@string/lets_bingo" />
<TextView
android:id="@+id/textCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_weight="1"
android:background="#5FB1C6"
android:gravity="center"
android:minHeight="48dip"
android:onClick="onClickCancel"
android:text="@string/bak" />
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/layoutButtons">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingLeft="20dp"
android:paddingTop="20dp"
android:paddingRight="20dp"
android:paddingBottom="50dp">
<TableLayout
android:id="@+id/tableView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
android:background="#ffffff">
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textTableB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:text="@string/table_b"
android:textSize="30sp" />
<TextView
android:id="@+id/textTableI"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:text="@string/table_i"
android:textSize="30sp" />
<TextView
android:id="@+id/textTableN"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:text="@string/table_n"
android:textSize="30sp" />
<TextView
android:id="@+id/textTableG"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:text="@string/table_g"
android:textSize="30sp" />
<TextView
android:id="@+id/textTableO"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1"
android:background="#B2FF59"
android:gravity="center"
android:text="@string/table_o"
android:textSize="30sp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textCard1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:onClick="onClickBox1"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox6"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox11"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox16"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard21"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox21"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textCard2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:onClick="onClickBox2"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox7"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox12"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard17"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox17"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard22"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox22"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textCard3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox3"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox8"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard18"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox18"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard23"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox23"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textCard4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox4"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox9"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard14"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox14"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard19"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox19"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox24"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textCard5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox5"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox10"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard15"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox15"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox20"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
<TextView
android:id="@+id/textCard25"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="3dp"
android:layout_marginEnd="3dp"
android:layout_marginBottom="3dp"
android:layout_weight="1"
android:background="@color/floor"
android:gravity="center"
android:onClick="onClickBox25"
android:paddingTop="9dp"
android:paddingBottom="9dp"
android:textSize="30sp" />
</TableRow>
</TableLayout>
<Space
android:layout_width="match_parent"
android:layout_height="120dp" />
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@+id/ad_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
このページのQRコード
便利ウェブサイト
便利 Android アプリ
便利 iOS(iPhone,iPad) アプリ