From 6d06d307f352d0a1e92bf23f9504483991b2347b Mon Sep 17 00:00:00 2001 From: dtvv Date: Sat, 18 Aug 2018 13:20:42 -0500 Subject: [PATCH] -whiteclear color change name --- .../cy/agorise/crystalwallet/activities/BoardActivity.java | 6 +----- app/src/main/res/layout/board.xml | 2 +- app/src/main/res/values/colors.xml | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/activities/BoardActivity.java b/app/src/main/java/cy/agorise/crystalwallet/activities/BoardActivity.java index 7843f0b..67f99c0 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/activities/BoardActivity.java +++ b/app/src/main/java/cy/agorise/crystalwallet/activities/BoardActivity.java @@ -19,13 +19,11 @@ import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; -import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ForegroundColorSpan; import android.util.Pair; -import android.util.TypedValue; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.View; @@ -35,8 +33,6 @@ import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; -import com.sjaramillo10.animatedtablayout.AnimatedTabLayout; - import java.io.File; import butterknife.BindView; @@ -142,7 +138,7 @@ public class BoardActivity extends CustomActivity { TextView tabTextView = (TextView) tabLayout.getChildAt(1); //tabTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP ,50); Spannable WordtoSpan = new SpannableString(tabTextView.getText()); - WordtoSpan.setSpan(new ForegroundColorSpan(globalActivity.getResources().getColor(R.color.whiteclear)), 0, tabTextView.getText().length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); + WordtoSpan.setSpan(new ForegroundColorSpan(globalActivity.getResources().getColor(R.color.lightGrayClear)), 0, tabTextView.getText().length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); tabTextView.setText(WordtoSpan); tabTextView.setTypeface(tabTextView.getTypeface(), Typeface.NORMAL); } diff --git a/app/src/main/res/layout/board.xml b/app/src/main/res/layout/board.xml index 77bcba9..b3ab118 100644 --- a/app/src/main/res/layout/board.xml +++ b/app/src/main/res/layout/board.xml @@ -105,7 +105,7 @@ app:tabSelectedTextColor="@color/white" app:layout_collapseMode="pin" app:tabTextAppearance="@android:style/TextAppearance.Widget.TabWidget" - app:tabTextColor="@color/whiteclear" + app:tabTextColor="@color/lightGrayClear" android:animateLayoutChanges="true" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a975956..ae86da4 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -15,7 +15,7 @@ #147b00 - #cccccc + #cccccc #000000 #70882E