mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
Minor styling improvements
This commit is contained in:
parent
3a396fe3f6
commit
c82cfca4f8
3 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
package me.impy.aegis;
|
||||
|
||||
import android.animation.ObjectAnimator;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.os.Handler;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.view.View;
|
||||
|
@ -31,6 +33,9 @@ public class KeyProfileHolder extends RecyclerView.ViewHolder {
|
|||
_profileDrawable = view.findViewById(R.id.ivTextDrawable);
|
||||
_progressBar = view.findViewById(R.id.progressBar);
|
||||
_uiHandler = new Handler();
|
||||
|
||||
int primaryColorId = view.getContext().getResources().getColor(R.color.colorPrimary);
|
||||
_progressBar.getProgressDrawable().setColorFilter(primaryColorId, PorterDuff.Mode.SRC_IN);
|
||||
}
|
||||
|
||||
public void setData(KeyProfile profile, boolean showIssuer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue