fix background in fragment_grades
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
* disable swipe in fragment_grades
This commit is contained in:
parent
9d7504bbaf
commit
42d938b0bc
|
@ -50,6 +50,7 @@ class GradesFragment : Fragment() {
|
|||
val view: View = inflater.inflate(R.layout.fragment_grades, container, false)
|
||||
|
||||
refreshLayoutGrades = view.findViewById(R.id.refreshLayout_Grades)
|
||||
refreshLayoutGrades.isEnabled = false // disable swipe
|
||||
|
||||
GlobalScope.launch(Dispatchers.Default) {
|
||||
addGrades()
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
tools:context=".fragments.GradesFragment">
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/refreshLayout_Grades"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/refreshLayout_Grades">
|
||||
android:background="?themePrimary">
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView_Grades"
|
||||
|
@ -19,7 +20,7 @@
|
|||
android:id="@+id/linLayout_Grades"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtView_Loading"
|
||||
|
|
Loading…
Reference in New Issue