Skip to content

Commit f8fff11

Browse files
committed
Remove constrainedWidth so Duck.ai intro view scales with font size
1 parent 54473a0 commit f8fff11

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

app/src/main/res/layout-land/content_onboarding_welcome_page_update.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
style="@style/Typography.DuckDuckGo.Onboarding.WelcomeTitle"
7575
android:layout_width="0dp"
7676
android:layout_height="wrap_content"
77-
android:layout_marginHorizontal="16dp"
7877
android:alpha="0"
7978
android:gravity="center"
8079
android:text="@string/onboardingWelcomeTitle"
@@ -95,7 +94,6 @@
9594
android:adjustViewBounds="true"
9695
android:importantForAccessibility="no"
9796
android:visibility="invisible"
98-
app:layout_constrainedWidth="true"
9997
app:layout_constraintTop_toBottomOf="@id/welcomeTitle"
10098
app:layout_constraintStart_toStartOf="parent"
10199
app:layout_constraintEnd_toEndOf="parent"

app/src/main/res/layout-sw600dp/content_onboarding_welcome_page_update.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@
7979
android:id="@+id/duckAiIntroAnimation"
8080
android:layout_width="wrap_content"
8181
android:layout_height="90sp"
82-
android:layout_marginHorizontal="16dp"
8382
android:layout_marginTop="12dp"
8483
android:adjustViewBounds="true"
8584
android:importantForAccessibility="no"
8685
android:visibility="invisible"
87-
app:layout_constrainedWidth="true"
8886
app:layout_constraintTop_toBottomOf="@id/welcomeTitle"
8987
app:layout_constraintStart_toStartOf="parent"
9088
app:layout_constraintEnd_toEndOf="parent"

app/src/main/res/layout/content_onboarding_welcome_page_update.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,10 @@
7878
android:id="@+id/duckAiIntroAnimation"
7979
android:layout_width="wrap_content"
8080
android:layout_height="90sp"
81-
android:layout_marginHorizontal="16dp"
8281
android:layout_marginTop="12dp"
8382
android:adjustViewBounds="true"
8483
android:importantForAccessibility="no"
8584
android:visibility="invisible"
86-
app:layout_constrainedWidth="true"
8785
app:layout_constraintTop_toBottomOf="@id/welcomeTitle"
8886
app:layout_constraintStart_toStartOf="parent"
8987
app:layout_constraintEnd_toEndOf="parent"

0 commit comments

Comments
 (0)