mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 23:12:51 +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) {
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:background="?attr/cardBackground"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#03A9F4</color>
|
||||
<color name="colorPrimaryDark">#0288D1</color>
|
||||
<color name="colorPrimary">#0d47a1</color>
|
||||
<color name="colorPrimaryDark">#002171</color>
|
||||
<color name="colorHeaderSuccess">#12b600</color>
|
||||
<color name="colorPrimaryLight">#B3E5FC</color>
|
||||
<color name="colorPrimaryLight">#5472d3</color>
|
||||
<color name="colorAccent">#FF5252</color>
|
||||
<color name="primary_text">#212121</color>
|
||||
<color name="secondary_text">#434343</color>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue