AppDetails: Simplify layout

This commit is contained in:
Rahul Patel
2024-07-21 01:29:09 +05:30
parent 210374ae3e
commit 4f5034c66e
2 changed files with 11 additions and 7 deletions

View File

@@ -98,8 +98,6 @@
android:clipToPadding="false"
android:orientation="vertical"
android:overScrollMode="never"
android:paddingStart="@dimen/padding_small"
android:paddingEnd="@dimen/padding_small"
android:scrollbars="none"
app:itemSpacing="@dimen/margin_small"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"

View File

@@ -19,9 +19,8 @@
~
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/exodus_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -41,6 +40,7 @@
android:id="@+id/txt_subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/header_privacy"
android:text="@string/exodus_powered"
android:textAppearance="@style/TextAppearance.Aurora.Line3" />
@@ -48,16 +48,22 @@
android:id="@+id/txt_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_subtitle"
android:layout_alignStart="@id/txt_subtitle"
android:layout_alignEnd="@id/txt_subtitle"
android:text="@string/exodus_progress"
android:textAppearance="@style/TextAppearance.Aurora.Line1" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_request_analysis"
style="@style/Widget.Material3.Button.OutlinedButton"
app:cornerRadius="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_status"
android:layout_alignStart="@id/txt_subtitle"
android:layout_alignEnd="@id/txt_subtitle"
android:layout_gravity="center_vertical"
android:text="@string/action_request_analysis" />
android:text="@string/action_request_analysis"
app:cornerRadius="@dimen/margin_small" />
</LinearLayout>
</RelativeLayout>