Fix text color

This commit is contained in:
tom79 2019-11-08 19:34:28 +01:00
parent 3d7e785047
commit 8a2101ca32
3 changed files with 6 additions and 18 deletions

View File

@ -484,9 +484,6 @@ public abstract class BaseMainActivity extends BaseActivity
DrawerLayout drawer = findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
if( tab.getIcon() != null) {
tab.getIcon().setColorFilter(R.attr.colorAccent, PorterDuff.Mode.SRC_IN);
}
}
@Override
@ -503,9 +500,6 @@ public abstract class BaseMainActivity extends BaseActivity
displayStatusFragment.scrollToTop();
}
}
if( tab.getIcon() != null) {
tab.getIcon().setColorFilter(R.attr.colorAccent, PorterDuff.Mode.SRC_IN);
}
}
});
@ -2099,9 +2093,6 @@ public abstract class BaseMainActivity extends BaseActivity
}
DrawerLayout drawer = findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
if( tab.getIcon() != null) {
tab.getIcon().setColorFilter(R.attr.colorAccent, PorterDuff.Mode.SRC_IN);
}
}
@Override
@ -2154,9 +2145,6 @@ public abstract class BaseMainActivity extends BaseActivity
}
DrawerLayout drawer = findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
if( tab.getIcon() != null) {
tab.getIcon().setColorFilter(R.attr.colorAccent, PorterDuff.Mode.SRC_IN);
}
}
});

View File

@ -31,7 +31,7 @@
android:layout_width="2dp"
android:layout_height="0dp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="@id/reply_indicator_dot"
app:layout_constraintEnd_toEndOf="@id/reply_indicator_dot"
app:layout_constraintStart_toStartOf="@id/reply_indicator_dot"
@ -43,7 +43,7 @@
android:layout_width="8dp"
android:layout_height="8dp"
android:layout_marginStart="16sp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -54,7 +54,7 @@
android:layout_width="2dp"
android:layout_height="0dp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@id/reply_indicator_dot"
app:layout_constraintStart_toStartOf="@id/reply_indicator_dot"

View File

@ -44,7 +44,7 @@
android:id="@+id/status_reply_indicator_top"
android:layout_width="2dp"
android:layout_height="0dp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="@id/reply_indicator_dot"
app:layout_constraintEnd_toEndOf="@id/reply_indicator_dot"
app:layout_constraintStart_toStartOf="@id/reply_indicator_dot"
@ -56,7 +56,7 @@
android:layout_width="8dp"
android:layout_height="8dp"
android:layout_marginStart="0dp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -66,7 +66,7 @@
android:id="@+id/status_reply_indicator_bottom"
android:layout_width="2dp"
android:layout_height="0dp"
android:background="?colorAccent"
android:background="?attr/colorAccent"
app:layout_constraintBottom_toTopOf="@+id/status_reply_indicator_diag_bottom"
app:layout_constraintEnd_toEndOf="@id/reply_indicator_dot"
app:layout_constraintStart_toStartOf="@id/reply_indicator_dot"