Skip to content

Commit

Permalink
ReVancedUpdater: Center the cards again
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
  • Loading branch information
LeddaZ committed Jun 7, 2023
1 parent f425437 commit 11378a5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@
android:id="@+id/app_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15sp"
android:layout_marginTop="25sp"
android:gravity="center"
android:text="@string/app_name"
android:textSize="40sp"
app:layout_constraintBottom_toTopOf="@+id/scrollView"
app:layout_constraintTop_toTopOf="parent" />

<ScrollView
android:id="@+id/scrollView"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="80dp"
android:layout_marginBottom="80dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent">
android:fillViewport="true"
app:layout_constraintBottom_toTopOf="@id/bottom_navigation"
app:layout_constraintTop_toBottomOf="@id/app_title">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -108,6 +106,7 @@
android:layout_width="350sp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
android:backgroundTint="?attr/green_card_background_color"
android:checkable="false"
android:clickable="true"
Expand Down

0 comments on commit 11378a5

Please sign in to comment.