Chips Text color not working
Closed this issue · 1 comments
SiddyDevelops commented
A huge thank you for creating such a wonderful library.
app:chipTextColor="@color/white"
is not working.
I am facing the same issue as #51
Here is what my code looks like:
<com.hootsuite.nachos.NachoTextView
android:id="@+id/tagChip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
app:chipTextColor="@color/white"
android:fontFamily="@font/avenir_std_book"
android:textColor="@color/blue"
app:chipBackground="@color/blue"
android:hint="@string/enter_tags"
app:chipTextSize="18sp"
android:textSize="18sp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
I have set the background color for chips as blue and text color as white, but when I run my app, what I get is a chip with blue background but black text color.
I believe that the problem here is with the outdated imports (see below):
Thank You.
SiddyDevelops commented
Solution:
After playing around with this library I found the solution:
implementation 'com.hootsuite.android:nachos:1.2.0'
Use the above version of Jitpack library.
Thank You.