From 713eff064e580bdcfd7637808170bf5d3edfa5e5 Mon Sep 17 00:00:00 2001 From: Valerii Zuev Date: Mon, 20 Apr 2020 22:38:16 +0300 Subject: [PATCH] 4.19 fix code style --- .../braillesystems/learnbraille/screens/help/HelpFragment.kt | 2 +- .../learnbraille/screens/lessons/FirstInfoFragment.kt | 2 +- .../braillesystems/learnbraille/screens/lessons/InfoFragment.kt | 2 +- .../learnbraille/screens/lessons/LastInfoFragment.kt | 2 +- android/app/src/main/res/layout/fragment_help.xml | 2 +- android/app/src/main/res/layout/fragment_lesson_first_info.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/help/HelpFragment.kt b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/help/HelpFragment.kt index b021f748..79ed97ef 100644 --- a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/help/HelpFragment.kt +++ b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/help/HelpFragment.kt @@ -26,7 +26,7 @@ class HelpFragment : Fragment() { ).apply { updateTitle(getString(R.string.help_title)) - helpMessage.movementMethod= ScrollingMovementMethod() + helpMessage.movementMethod = ScrollingMovementMethod() helpMessage.text = getFormattedArg(helpMessageArgName) }.root diff --git a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/FirstInfoFragment.kt b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/FirstInfoFragment.kt index adb17313..ef0ea5b2 100644 --- a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/FirstInfoFragment.kt +++ b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/FirstInfoFragment.kt @@ -32,7 +32,7 @@ class FirstInfoFragment : AbstractLesson(R.string.lessons_help_info) { require(step.data is FirstInfo) titleTextView.text = step.title infoTextView.text = step.data.text - infoTextView.movementMethod= ScrollingMovementMethod() + infoTextView.movementMethod = ScrollingMovementMethod() getDBInstance().apply { nextButton.setOnClickListener { diff --git a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/InfoFragment.kt b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/InfoFragment.kt index f186e5a0..894fb0e0 100644 --- a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/InfoFragment.kt +++ b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/InfoFragment.kt @@ -32,7 +32,7 @@ class InfoFragment : AbstractLesson(R.string.lessons_help_info) { require(step.data is Info) titleTextView.text = step.title infoTextView.text = step.data.text - infoTextView.movementMethod= ScrollingMovementMethod() + infoTextView.movementMethod = ScrollingMovementMethod() getDBInstance().apply { prevButton.setOnClickListener { diff --git a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/LastInfoFragment.kt b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/LastInfoFragment.kt index 6fecedc8..74905756 100644 --- a/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/LastInfoFragment.kt +++ b/android/app/src/main/java/com/github/braillesystems/learnbraille/screens/lessons/LastInfoFragment.kt @@ -32,7 +32,7 @@ class LastInfoFragment : AbstractLesson(R.string.lessons_help_last_info) { require(step.data is LastInfo) titleTextView.text = step.title infoTextView.text = step.data.text - infoTextView.movementMethod= ScrollingMovementMethod() + infoTextView.movementMethod = ScrollingMovementMethod() getDBInstance().run { prevButton.setOnClickListener { diff --git a/android/app/src/main/res/layout/fragment_help.xml b/android/app/src/main/res/layout/fragment_help.xml index 97844aa1..3b624b46 100644 --- a/android/app/src/main/res/layout/fragment_help.xml +++ b/android/app/src/main/res/layout/fragment_help.xml @@ -11,7 +11,7 @@ android:paddingTop="2dp" android:paddingEnd="2dp" android:paddingBottom="2dp" - android:scrollbars = "vertical" + android:scrollbars="vertical" android:text="@string/default_help_message" android:textSize="18sp" app:autoSizeTextType="none" /> diff --git a/android/app/src/main/res/layout/fragment_lesson_first_info.xml b/android/app/src/main/res/layout/fragment_lesson_first_info.xml index eb01513c..5450cf3e 100644 --- a/android/app/src/main/res/layout/fragment_lesson_first_info.xml +++ b/android/app/src/main/res/layout/fragment_lesson_first_info.xml @@ -25,7 +25,7 @@ android:id="@+id/info_text_view" android:layout_width="@dimen/lessons_info_width" android:layout_height="@dimen/lessons_info_height" - android:scrollbars = "vertical" + android:scrollbars="vertical" android:text="" android:textSize="@dimen/lessons_info_text_size" app:layout_constraintBottom_toBottomOf="parent"