Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<string name="settingsMenuItemTitle">Settings</string>
<string name="settingsHeadingProtections">Protections</string>
<string name="settingsHeadingAppearance">Appearance</string>
<string name="settingsWhatsNew">What\'s new</string>
<string name="settingsWhatsNew">What\'s New</string>
<string name="settingsHeadingAbout">About</string>
<string name="settingsAboutDuckduckgo">About DuckDuckGo</string>
<string name="settingsVersion">Version</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
android:color="?attr/daxColorSurface">
<item>
<shape android:shape="rectangle">
<solid android:color="?attr/daxColorSurface" />
<solid android:color="?attr/daxColorBackground" />
<stroke
android:width="2dp"
android:color="?attr/daxColorBackground" />
android:width="1dp"
android:color="?attr/daxColorLines" />
<corners android:radius="12dp" />
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:paddingTop="6dp"
android:paddingBottom="6dp">

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/listItemContainer"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/keyline_5"
android:layout_marginTop="6dp"
android:layout_marginEnd="@dimen/keyline_5"
android:layout_marginBottom="6dp"
android:background="@drawable/background_remote_message_entry"
android:clickable="true"
android:paddingStart="12dp"
Expand All @@ -44,6 +44,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@drawable/ic_image_ai" />
Expand All @@ -54,6 +55,7 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_chevron_right_24"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />

Expand All @@ -67,7 +69,7 @@
app:layout_constraintStart_toEndOf="@id/startImage"
app:layout_constraintTop_toTopOf="parent"
app:textType="primary"
app:typography="h3"
app:typography="body1"
tools:text="Hide AI Images in Search" />

<com.duckduckgo.common.ui.view.text.DaxTextView
Expand All @@ -80,6 +82,7 @@
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
app:textType="secondary"
app:typography="body2"
tools:text="Easily hide AI images in your search results with the `AI images` search filter." />

</androidx.constraintlayout.widget.ConstraintLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingBottom="@dimen/featuredListItemBottomMargin">
android:paddingTop="6dp"
android:paddingBottom="6dp">

<com.google.android.material.card.MaterialCardView
android:layout_width="0dp"
Expand All @@ -31,7 +31,7 @@
android:layout_marginEnd="@dimen/keyline_5"
android:background="?attr/daxColorWindow"
app:cardCornerRadius="12dp"
app:cardElevation="4dp"
app:cardElevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand All @@ -46,9 +46,10 @@

<ImageView
android:id="@+id/image"
android:layout_width="128dp"
android:layout_height="96dp"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_marginTop="@dimen/featuredListItemTopMargin"
android:importantForAccessibility="no"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand All @@ -65,7 +66,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/image"
app:typography="h2"
app:textType="primary"
app:typography="body1"
tools:text="If you want more AI" />

<com.duckduckgo.common.ui.view.text.DaxTextView
Expand All @@ -79,7 +81,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/title"
app:typography="body1"
app:textType="secondary"
app:typography="body2"
tools:text="Explore new chat models recently added to Duck.ai for a more personalized chat experience that suits your style!" />

<com.duckduckgo.common.ui.view.text.DaxTextView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
android:layout_marginStart="@dimen/keyline_5"
android:layout_marginTop="@dimen/keyline_5"
android:layout_marginEnd="@dimen/keyline_5"
android:layout_marginBottom="@dimen/keyline_0"
android:layout_marginBottom="6dp"
android:paddingStart="@dimen/keyline_4"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_max="@dimen/messageContentMaxWidth"
app:typography="h2"
app:typography="h3"
tools:ignore="RtlSymmetry"
tools:text="What's new section" />

</androidx.constraintlayout.widget.ConstraintLayout>
Loading