Fixed scrolling issue in force close page
type="fr.acinq.phoenix.settings.ForceCloseViewModel" />
</data>
- <androidx.constraintlayout.widget.ConstraintLayout
+ <ScrollView
+ android:id="@+id/scroll"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/mutedBgColor">
+ android:background="?attr/mutedBgColor"
+ android:overScrollMode="never">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/main_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?attr/bgColor">
<fr.acinq.phoenix.utils.customviews.ActionBarView
android:id="@+id/action_bar"
app:subtitle="@string/closechannels_force_instructions"
app:title="@string/closechannels_force_title" />
- <ScrollView
- android:id="@+id/scroll"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:overScrollMode="never"
- app:layout_constrainedHeight="true"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toBottomOf="@id/action_bar">
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/main_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/bgColor">
-
<View
android:id="@+id/separator"
style="@style/HLineSeparator"
android:layout_width="match_parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toBottomOf="@id/action_bar" />
<fr.acinq.phoenix.utils.customviews.ProgressTextView
android:layout_width="wrap_content"
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
- </androidx.constraintlayout.widget.ConstraintLayout>
</layout>
