-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Replace yellow pill images for custom view #7658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
cb1e096
7bb731b
e596b9c
78be03b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,8 @@ | |
| app:indicatorStatus="on" | ||
| app:leadingIcon="@drawable/ic_dax_icon" | ||
| app:primaryText="Settings List Item with Beta Pill" | ||
| app:pillIcon="betaPill" /> | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.SettingsListItem | ||
| android:id="@+id/settingsListItemWithBetaTagAndLongText" | ||
|
|
@@ -73,7 +74,8 @@ | |
| app:indicatorStatus="on" | ||
| app:leadingIcon="@drawable/ic_dax_icon" | ||
| app:primaryText="Settings List Item with Beta Pill and a very long piece of text that should hopefully wrap" | ||
| app:pillIcon="betaPill" /> | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.SettingsListItem | ||
| android:id="@+id/settingsListItemWithNewTag" | ||
|
|
@@ -82,6 +84,7 @@ | |
| app:indicatorStatus="on" | ||
| app:leadingIcon="@drawable/ic_dax_icon" | ||
| app:primaryText="Settings List Item with New Pill" | ||
| app:pillIcon="newPill" /> | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrong pill text "Beta" for "New Pill" itemMedium Severity The item |
||
|
|
||
| </LinearLayout> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -263,7 +263,8 @@ | |
| app:layout_constraintTop_toBottomOf="@id/twoLineSwitchListItemWithImage" | ||
| app:primaryText="Two Line Item" | ||
| app:secondaryText="With Beta Pill and Switch" | ||
| app:showBetaPill="true" | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" | ||
| app:showSwitch="true" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.TwoLineListItem | ||
|
|
@@ -277,7 +278,8 @@ | |
| app:primaryText="Two Line Item Two Line Item Two Line Item Two Line Item " | ||
| app:primaryTextTruncated="true" | ||
| app:secondaryText="In disabled state" | ||
| app:showBetaPill="true" | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" | ||
| app:showSwitch="true" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.TwoLineListItem | ||
|
|
@@ -290,7 +292,8 @@ | |
| app:leadingIcon="@drawable/ic_globe_16" | ||
| app:primaryText="Two Line Item Two Line Item Two Line Item Two Line Item " | ||
| app:secondaryText="In disabled state" | ||
| app:showBetaPill="true" | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" | ||
| app:showSwitch="true" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.TwoLineListItem | ||
|
|
@@ -303,7 +306,8 @@ | |
| app:leadingIcon="@drawable/ic_globe_16" | ||
| app:primaryText="Two Line Item Two" | ||
| app:secondaryText="Checked in disabled state" | ||
| app:showBetaPill="true" | ||
| app:pillIcon="true" | ||
| app:pillText="Whatever" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test placeholder "Whatever" left in pill textLow Severity The |
||
| app:showSwitch="true" /> | ||
|
|
||
| <com.duckduckgo.common.ui.view.listitem.TwoLineListItem | ||
|
|
@@ -316,7 +320,8 @@ | |
| app:leadingIcon="@drawable/ic_globe_16" | ||
| app:primaryText="Two Line Item Two" | ||
| app:secondaryText="Checked with switch in disabled state" | ||
| app:showBetaPill="true" | ||
| app:pillIcon="true" | ||
| app:pillText="Beta" | ||
| app:showSwitch="true" | ||
| app:switchEnabled="false" /> | ||
|
|
||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong pill text "Beta" for "New Pill" item
Medium Severity
The item
oneLineListItemWithNewPillwithprimaryText="Item with New Pill"hasapp:pillText="Beta"instead of"New". Before this change, the item usedapp:showNewPill="true"which displayed a "New" pill image. The replacement text should be "New" to maintain the same visual appearance.