Removed confusing import of android.R

This commit is contained in:
GaidamakUA 2015-12-01 11:37:27 +02:00
parent 25bcf676b5
commit 3b06015d22

View file

@ -16,7 +16,6 @@
package com.example.android.common.view; package com.example.android.common.view;
import android.R;
import android.content.Context; import android.content.Context;
import android.graphics.Canvas; import android.graphics.Canvas;
import android.graphics.Color; import android.graphics.Color;
@ -65,7 +64,7 @@ class SlidingTabStrip extends LinearLayout {
final float density = getResources().getDisplayMetrics().density; final float density = getResources().getDisplayMetrics().density;
TypedValue outValue = new TypedValue(); TypedValue outValue = new TypedValue();
context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); context.getTheme().resolveAttribute(android.R.attr.colorForeground, outValue, true);
final int themeForegroundColor = outValue.data; final int themeForegroundColor = outValue.data;
mDefaultBottomBorderColor = setColorAlpha(themeForegroundColor, mDefaultBottomBorderColor = setColorAlpha(themeForegroundColor,