Browse Source

Accent color change

master
Apostolos Fanakis 6 years ago
parent
commit
4352e31e04
  1. 3
      UI/AndroidApp/flavoursWithoutBorders/app/src/main/java/gr/auth/databases/flavours/activities/ingredients/IngredientsActivity.java
  2. 2
      UI/AndroidApp/flavoursWithoutBorders/app/src/main/java/gr/auth/databases/flavours/base/BaseActivity.java
  3. 6
      UI/AndroidApp/flavoursWithoutBorders/app/src/main/res/values/colors.xml

3
UI/AndroidApp/flavoursWithoutBorders/app/src/main/java/gr/auth/databases/flavours/activities/ingredients/IngredientsActivity.java

@ -46,8 +46,9 @@ public class IngredientsActivity extends BaseActivity implements IngredientsAdap
actionbar.setHomeAsUpIndicator(R.drawable.ic_menu_black_24dp); actionbar.setHomeAsUpIndicator(R.drawable.ic_menu_black_24dp);
} }
FAB = findViewById(R.id.ingredients_fab);
createDrawer(); createDrawer();
FAB = findViewById(R.id.ingredients_fab);
FAB.setOnClickListener(new View.OnClickListener() { FAB.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {

2
UI/AndroidApp/flavoursWithoutBorders/app/src/main/java/gr/auth/databases/flavours/base/BaseActivity.java

@ -97,7 +97,7 @@ public abstract class BaseActivity extends AppCompatActivity {
protected static final int HOME_ID = 0; protected static final int HOME_ID = 0;
protected static final int DIETS_ID = 1; protected static final int DIETS_ID = 1;
protected static final int INGREDIENTS_ID = 2; protected static final int INGREDIENTS_ID = 2;
protected static final int LOG_ID = 4; protected static final int LOG_ID = 3;
private AccountHeader accountHeader; private AccountHeader accountHeader;
private ProfileDrawerItem profileDrawerItem; private ProfileDrawerItem profileDrawerItem;

6
UI/AndroidApp/flavoursWithoutBorders/app/src/main/res/values/colors.xml

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="colorPrimary">#4caf50</color> <color name="colorPrimary">#4CAF50</color>
<color name="colorPrimaryDark">#357a38</color> <color name="colorPrimaryDark">#357A38</color>
<color name="colorAccent">#ff9100</color> <color name="colorAccent">#FFC400</color>
<color name="colorBackground">#EFEFEF</color> <color name="colorBackground">#EFEFEF</color>
<color name="iron">#F6F8Fa</color> <color name="iron">#F6F8Fa</color>
<color name="textPrimary">#303030</color> <color name="textPrimary">#303030</color>

Loading…
Cancel
Save