Skip to content
Snippets Groups Projects
Unverified Commit b1ef09f2 authored by Alex Paulescu's avatar Alex Paulescu Committed by GitHub
Browse files

Fix app info cut on screen bottom (EXPOSUREAPP-7040) (#3098)


* Refactored information fragment for a potential fix in the layout.

* Fixed merge issues.

* Removed unused imports

* Reverted back to using LinearLayout.

* Changed toolbar style.

Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
parent 39c5b3df
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ class InformationFragment : Fragment(R.layout.fragment_information), AutoInject
InformationFragmentDirections.actionInformationFragmentToDebuglogFragment()
)
}
binding.informationHeader.headerButtonBack.buttonIcon.setOnClickListener {
binding.informationHeader.setNavigationOnClickListener {
popBackStack()
}
binding.informationRelease.mainRow.setOnClickListener {
......
......@@ -9,26 +9,22 @@
android:layout_height="match_parent"
android:contentDescription="@string/information_title">
<include
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/information_header"
layout="@layout/include_header"
android:layout_width="match_parent"
style="@style/CWAToolbar.Close"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:icon="@{@drawable/ic_close}"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/scrollview"
app:title="@{@string/information_title}" />
app:title="@string/information_title" />
<ScrollView
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="0dp"
android:fillViewport="true"
android:paddingTop="@dimen/spacing_normal"
android:paddingBottom="@dimen/spacing_normal"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
......@@ -124,14 +120,9 @@
android:focusable="true"
android:paddingTop="@dimen/spacing_tiny"
android:paddingBottom="@dimen/spacing_tiny"
android:visibility="gone"
tools:text="16000000"
tools:visibility="visible" />
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment