1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-02-17 04:00:48 +01:00

fixed IAB color

This commit is contained in:
Mariotaku Lee 2016-12-23 08:41:43 +08:00
parent f755c2ef20
commit b098c74951
2 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public interface IIconActionButton extends ChameleonView {
ChameleonTypedArray a = ChameleonTypedArray.obtain(context, attributeSet, R.styleable.IconActionButton, theme);
appearance.setDefaultColor(a.getColor(R.styleable.IconActionButton_iabColor, theme.getColorForeground()));
appearance.setActivatedColor(a.getColor(R.styleable.IconActionButton_iabActivatedColor, theme.getColorAccent()));
appearance.setActivatedColor(a.getColor(R.styleable.IconActionButton_iabDisabledColor, theme.getTextColorSecondary()));
appearance.setDisabledColor(a.getColor(R.styleable.IconActionButton_iabDisabledColor, theme.getTextColorSecondary()));
a.recycle();
return appearance;
}

View File

@ -266,6 +266,7 @@
android:padding="@dimen/element_spacing_xsmall"
android:scaleType="centerCrop"
android:src="@drawable/ic_action_send"
app:iabColor="?android:textColorSecondary"
tools:tint="?android:textColorSecondary"/>
</LinearLayout>