Removed confusing import of android.R
This commit is contained in:
parent
25bcf676b5
commit
3b06015d22
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue