File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
java/cz/muni/fi/rpg/ui/characterCreation Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11package cz.muni.fi.rpg.ui.characterCreation
22
3+ import android.content.Context
34import android.os.Bundle
45import android.view.View
56import android.widget.Toast
@@ -94,6 +95,9 @@ class CharacterCreationFragment(
9495 return @setOnClickListener
9596 }
9697
98+ buttonNext.isEnabled = false
99+ buttonNextProgress.visibility = View .VISIBLE
100+
97101 saveCharacter(
98102 info,
99103 statsData,
Original file line number Diff line number Diff line change 6060 app : layout_constraintStart_toStartOf =" parent"
6161 app : layout_constraintTop_toTopOf =" parent" />
6262
63+ <ProgressBar
64+ android : id =" @+id/buttonNextProgress"
65+ android : visibility =" gone"
66+ app : layout_constraintEnd_toStartOf =" @id/buttonNext"
67+ app : layout_constraintTop_toTopOf =" @id/buttonNext"
68+ app : layout_constraintBottom_toBottomOf =" @id/buttonNext"
69+ android : layout_width =" 20dp"
70+ android : layout_height =" 20dp" />
6371 <androidx .appcompat.widget.AppCompatButton
6472 android : id =" @+id/buttonNext"
6573 style =" @style/Widget.MaterialComponents.Button.TextButton"
You can’t perform that action at this time.
0 commit comments