Skip to content

Commit

Permalink
Merge pull request #12 from Telefonica/apps/fix-text-color-highlighte…
Browse files Browse the repository at this point in the history
…d-card

Fix test color and link button margin
  • Loading branch information
gmerinojimenez authored Sep 9, 2020
2 parents 42f50c4 + 76bff1c commit db9dc6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {
allprojects {

group = 'com.telefonica.mistica'
version = '0.2.8'
version = '0.2.9'

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class HighlightedCardView @JvmOverloads constructor(

private fun configureColors() {
@ColorInt val primaryColor: Int =
context.getThemeColor(if (isInverse) R.attr.colorTextPrimaryInverse else R.attr.colorTextPrimary)
context.getThemeColor(if (isInverse) R.attr.colorTextSecondaryInverse else R.attr.colorTextSecondary)

titleTextView.setTextColor(primaryColor)
contentTextView.setTextColor(primaryColor)
Expand Down
4 changes: 2 additions & 2 deletions library/src/main/res/layout/highlighted_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
android:layout_marginBottom="24dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/highlighted_card_content"
app:layout_goneMarginBottom="24dp"
app:layout_goneMarginTop="0dp"
Expand All @@ -120,7 +120,7 @@
android:layout_marginBottom="24dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/highlighted_card_content"
tools:text="Update"
tools:visibility="gone" />
Expand Down

0 comments on commit db9dc6c

Please sign in to comment.