Lint
This commit is contained in:
parent
0d547b339e
commit
92f45c3fa2
6 changed files with 7 additions and 8 deletions
|
@ -43,14 +43,14 @@ abstract class CommonLevelFragment(@LayoutRes val contentLayoutId: Int) : Fragme
|
|||
}
|
||||
}
|
||||
|
||||
protected fun calcHorizontalPadding(view: View, boardWidth: Int): Int {
|
||||
private fun calcHorizontalPadding(view: View, boardWidth: Int): Int {
|
||||
val width = view.measuredWidth
|
||||
val recyclerViewWidth = (dimensionRepository.areaSize() * boardWidth)
|
||||
val separatorsWidth = (dimensionRepository.areaSeparator() * (boardWidth - 1))
|
||||
return ((width - recyclerViewWidth - separatorsWidth) / 2).coerceAtLeast(0.0f).toInt()
|
||||
}
|
||||
|
||||
protected fun calcVerticalPadding(view: View, boardHeight: Int): Int {
|
||||
private fun calcVerticalPadding(view: View, boardHeight: Int): Int {
|
||||
val height = view.measuredHeight
|
||||
val recyclerViewHeight = (dimensionRepository.areaSize() * boardHeight)
|
||||
val separatorsHeight = (2 * dimensionRepository.areaSeparator() * (boardHeight - 1))
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
<string name="google_play_games">Google Play Games</string>
|
||||
<string name="install">इंस्टॉल करें</string>
|
||||
<string name="connect">कनेक्ट करें</string>
|
||||
<string name="connecting">संपर्क बना रहा है...</string>
|
||||
<string name="connecting">संपर्क बना रहा है…</string>
|
||||
<string name="disconnect">संपर्क तोड़ें</string>
|
||||
<string name="disconnected">डिस्कनेक्टेड</string>
|
||||
<string name="new_game">नई गेम</string>
|
||||
|
|
|
@ -82,12 +82,12 @@
|
|||
<string name="google_play_games">Google Play ゲーム</string>
|
||||
<string name="install">インストール</string>
|
||||
<string name="connect">接続</string>
|
||||
<string name="connecting">接続しています...</string>
|
||||
<string name="connecting">接続しています…</string>
|
||||
<string name="disconnect">切断</string>
|
||||
<string name="disconnected">切断済み</string>
|
||||
<string name="new_game">新しいゲーム</string>
|
||||
<string name="share">共有</string>
|
||||
<string name="share_menu">共有...</string>
|
||||
<string name="share_menu">共有…</string>
|
||||
<string name="no_network">インターネット接続がありません。</string>
|
||||
<string name="open_menu">メニューを開く</string>
|
||||
<string name="close_menu">メニューを閉じる</string>
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<string name="use_question_mark">Usar Ponto de Interrogação</string>
|
||||
<string name="control">Controles</string>
|
||||
<string name="arrow">➞</string>
|
||||
<string name="single_click">Unico Clique</string>
|
||||
<string name="single_click">Único Clique</string>
|
||||
<string name="double_click">Duplo clique</string>
|
||||
<string name="long_press">Toque longo</string>
|
||||
<string name="open_tile">Abrir bloco</string>
|
||||
|
|
|
@ -33,7 +33,7 @@ dependencies {
|
|||
// Google
|
||||
implementation 'com.android.billingclient:billing-ktx:3.0.0'
|
||||
implementation 'com.google.android.gms:play-services-instantapps:17.0.0'
|
||||
implementation 'com.google.android.gms:play-services-games:19.0.0'
|
||||
implementation 'com.google.android.gms:play-services-games:20.0.0'
|
||||
implementation 'com.google.android.gms:play-services-auth:18.1.0'
|
||||
|
||||
// Firebase
|
||||
|
|
Loading…
Reference in a new issue