Dialogs And Colors!

This commit is contained in:
TheBrokenRail 2024-02-17 19:06:43 -05:00
parent fd2afd5bba
commit dcb237a3df
7 changed files with 212 additions and 148 deletions

View File

@ -3,7 +3,20 @@
<component name="deploymentTargetDropDown"> <component name="deploymentTargetDropDown">
<value> <value>
<entry key="app"> <entry key="app">
<State /> <State>
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_2_API_21.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2024-02-17T21:54:23.298453058Z" />
</State>
</entry> </entry>
</value> </value>
</component> </component>

View File

@ -1,10 +1,48 @@
package com.thebrokenrail.mtudining.activity.menu; package com.thebrokenrail.mtudining.activity.menu;
import android.content.Context;
import android.graphics.Typeface;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.style.StyleSpan;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.thebrokenrail.mtudining.R;
import com.thebrokenrail.mtudining.api.method.PeriodDetail;
/** /**
* Dialog for a food item. * Dialog for a food item.
*/ */
public class ItemDialog { public class ItemDialog {
public void show() { /**
* Show dialog.
* @param context The context
* @param item The food item to display
*/
public static void show(Context context, PeriodDetail.Response.Menu.PeriodData.MenuCategory.MenuItem item) {
// Build Message
SpannableStringBuilder message = new SpannableStringBuilder(item.desc != null ? item.desc.trim() : "");
if (message.length() > 0) {
message.append("\n\n");
}
message.append(context.getString(R.string.portion), new StyleSpan(Typeface.BOLD), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
message.append(item.portion);
message.append('\n');
message.append(context.getString(R.string.ingredients), new StyleSpan(Typeface.BOLD), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
message.append(item.ingredients);
message.append('\n');
message.append(context.getString(R.string.nutrients), new StyleSpan(Typeface.BOLD), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
for (PeriodDetail.Response.Menu.PeriodData.MenuCategory.MenuItem.Nutrient nutrient : item.nutrients) {
message.append('\n');
message.append("" + nutrient.name + ": ", new StyleSpan(Typeface.BOLD), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
message.append(nutrient.value);
}
// Show
new MaterialAlertDialogBuilder(context)
.setTitle(item.name)
.setMessage(message)
.setPositiveButton(R.string.ok, (dialog, which) -> {})
.show();
} }
} }

View File

@ -66,7 +66,8 @@ class MenuAdapter extends TaskAdapter<MenuData> {
data.isOpen = !data.isOpen; data.isOpen = !data.isOpen;
notifyItemChanged(meal.categories.indexOf(data) + getFirstElementPosition()); notifyItemChanged(meal.categories.indexOf(data) + getFirstElementPosition());
}, item -> { }, item -> {
// Do Something! // Show Dialog
ItemDialog.show(view.getContext(), item);
}); });
} }

View File

@ -35,8 +35,16 @@ public class PeriodDetail implements Method<PeriodDetail.Response> {
public static class PeriodData { public static class PeriodData {
public static class MenuCategory { public static class MenuCategory {
public static class MenuItem implements Category.Named { public static class MenuItem implements Category.Named {
public static class Nutrient {
public String name;
public String value;
}
public String name; public String name;
public String desc; public String desc;
public String ingredients;
public String portion;
public List<Nutrient> nutrients;
public int sort_order; public int sort_order;
@Override @Override

View File

@ -1,145 +1,145 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<!-- Material Design --> <!-- Material Design -->
<color name="md_theme_primary">#E0C56D</color> <color name="md_theme_primary">#E2C46D</color>
<color name="md_theme_onPrimary">#3C2F00</color> <color name="md_theme_onPrimary">#3D2F00</color>
<color name="md_theme_primaryContainer">#564500</color> <color name="md_theme_primaryContainer">#574500</color>
<color name="md_theme_onPrimaryContainer">#FDE186</color> <color name="md_theme_onPrimaryContainer">#FFE089</color>
<color name="md_theme_secondary">#E0C56D</color> <color name="md_theme_secondary">#E2C46D</color>
<color name="md_theme_onSecondary">#3C2F00</color> <color name="md_theme_onSecondary">#3D2F00</color>
<color name="md_theme_secondaryContainer">#564500</color> <color name="md_theme_secondaryContainer">#574500</color>
<color name="md_theme_onSecondaryContainer">#FDE186</color> <color name="md_theme_onSecondaryContainer">#FFE089</color>
<color name="md_theme_tertiary">#E0C56D</color> <color name="md_theme_tertiary">#E2C46D</color>
<color name="md_theme_onTertiary">#3C2F00</color> <color name="md_theme_onTertiary">#3D2F00</color>
<color name="md_theme_tertiaryContainer">#564500</color> <color name="md_theme_tertiaryContainer">#574500</color>
<color name="md_theme_onTertiaryContainer">#FDE186</color> <color name="md_theme_onTertiaryContainer">#FFE089</color>
<color name="md_theme_error">#FFB4AB</color> <color name="md_theme_error">#FFB4AB</color>
<color name="md_theme_onError">#690005</color> <color name="md_theme_onError">#690005</color>
<color name="md_theme_errorContainer">#93000A</color> <color name="md_theme_errorContainer">#93000A</color>
<color name="md_theme_onErrorContainer">#FFDAD6</color> <color name="md_theme_onErrorContainer">#FFDAD6</color>
<color name="md_theme_background">#16130B</color> <color name="md_theme_background">#16130B</color>
<color name="md_theme_onBackground">#E9E2D4</color> <color name="md_theme_onBackground">#EAE1D4</color>
<color name="md_theme_surface">#16130B</color> <color name="md_theme_surface">#16130B</color>
<color name="md_theme_onSurface">#E9E2D4</color> <color name="md_theme_onSurface">#EAE1D4</color>
<color name="md_theme_surfaceVariant">#4C4639</color> <color name="md_theme_surfaceVariant">#4C4639</color>
<color name="md_theme_onSurfaceVariant">#CEC6B4</color> <color name="md_theme_onSurfaceVariant">#CFC6B4</color>
<color name="md_theme_outline">#979080</color> <color name="md_theme_outline">#989080</color>
<color name="md_theme_outlineVariant">#4C4639</color> <color name="md_theme_outlineVariant">#4C4639</color>
<color name="md_theme_scrim">#000000</color> <color name="md_theme_scrim">#000000</color>
<color name="md_theme_inverseSurface">#E9E2D4</color> <color name="md_theme_inverseSurface">#EAE1D4</color>
<color name="md_theme_inverseOnSurface">#343027</color> <color name="md_theme_inverseOnSurface">#343027</color>
<color name="md_theme_inversePrimary">#715C0D</color> <color name="md_theme_inversePrimary">#725C0C</color>
<color name="md_theme_primaryFixed">#FDE186</color> <color name="md_theme_primaryFixed">#FFE089</color>
<color name="md_theme_onPrimaryFixed">#231B00</color> <color name="md_theme_onPrimaryFixed">#241A00</color>
<color name="md_theme_primaryFixedDim">#E0C56D</color> <color name="md_theme_primaryFixedDim">#E2C46D</color>
<color name="md_theme_onPrimaryFixedVariant">#564500</color> <color name="md_theme_onPrimaryFixedVariant">#574500</color>
<color name="md_theme_secondaryFixed">#FDE186</color> <color name="md_theme_secondaryFixed">#FFE089</color>
<color name="md_theme_onSecondaryFixed">#231B00</color> <color name="md_theme_onSecondaryFixed">#241A00</color>
<color name="md_theme_secondaryFixedDim">#E0C56D</color> <color name="md_theme_secondaryFixedDim">#E2C46D</color>
<color name="md_theme_onSecondaryFixedVariant">#564500</color> <color name="md_theme_onSecondaryFixedVariant">#574500</color>
<color name="md_theme_tertiaryFixed">#FDE186</color> <color name="md_theme_tertiaryFixed">#FFE089</color>
<color name="md_theme_onTertiaryFixed">#231B00</color> <color name="md_theme_onTertiaryFixed">#241A00</color>
<color name="md_theme_tertiaryFixedDim">#E0C56D</color> <color name="md_theme_tertiaryFixedDim">#E2C46D</color>
<color name="md_theme_onTertiaryFixedVariant">#564500</color> <color name="md_theme_onTertiaryFixedVariant">#574500</color>
<color name="md_theme_surfaceDim">#16130B</color> <color name="md_theme_surfaceDim">#16130B</color>
<color name="md_theme_surfaceBright">#3D392F</color> <color name="md_theme_surfaceBright">#3D392F</color>
<color name="md_theme_surfaceContainerLowest">#110E07</color> <color name="md_theme_surfaceContainerLowest">#110E07</color>
<color name="md_theme_surfaceContainerLow">#1E1B13</color> <color name="md_theme_surfaceContainerLow">#1F1B13</color>
<color name="md_theme_surfaceContainer">#221F17</color> <color name="md_theme_surfaceContainer">#231F17</color>
<color name="md_theme_surfaceContainerHigh">#2D2A21</color> <color name="md_theme_surfaceContainerHigh">#2D2A21</color>
<color name="md_theme_surfaceContainerHighest">#38342B</color> <color name="md_theme_surfaceContainerHighest">#38342B</color>
<color name="md_theme_primary_mediumContrast">#E4C971</color> <color name="md_theme_primary_mediumContrast">#E7C870</color>
<color name="md_theme_onPrimary_mediumContrast">#1D1600</color> <color name="md_theme_onPrimary_mediumContrast">#1D1500</color>
<color name="md_theme_primaryContainer_mediumContrast">#A78F3D</color> <color name="md_theme_primaryContainer_mediumContrast">#A98E3D</color>
<color name="md_theme_onPrimaryContainer_mediumContrast">#000000</color> <color name="md_theme_onPrimaryContainer_mediumContrast">#000000</color>
<color name="md_theme_secondary_mediumContrast">#E4C971</color> <color name="md_theme_secondary_mediumContrast">#E7C870</color>
<color name="md_theme_onSecondary_mediumContrast">#1D1600</color> <color name="md_theme_onSecondary_mediumContrast">#1D1500</color>
<color name="md_theme_secondaryContainer_mediumContrast">#A78F3D</color> <color name="md_theme_secondaryContainer_mediumContrast">#A98E3D</color>
<color name="md_theme_onSecondaryContainer_mediumContrast">#000000</color> <color name="md_theme_onSecondaryContainer_mediumContrast">#000000</color>
<color name="md_theme_tertiary_mediumContrast">#E4C971</color> <color name="md_theme_tertiary_mediumContrast">#E7C870</color>
<color name="md_theme_onTertiary_mediumContrast">#1D1600</color> <color name="md_theme_onTertiary_mediumContrast">#1D1500</color>
<color name="md_theme_tertiaryContainer_mediumContrast">#A78F3D</color> <color name="md_theme_tertiaryContainer_mediumContrast">#A98E3D</color>
<color name="md_theme_onTertiaryContainer_mediumContrast">#000000</color> <color name="md_theme_onTertiaryContainer_mediumContrast">#000000</color>
<color name="md_theme_error_mediumContrast">#FFBAB1</color> <color name="md_theme_error_mediumContrast">#FFBAB1</color>
<color name="md_theme_onError_mediumContrast">#370001</color> <color name="md_theme_onError_mediumContrast">#370001</color>
<color name="md_theme_errorContainer_mediumContrast">#FF5449</color> <color name="md_theme_errorContainer_mediumContrast">#FF5449</color>
<color name="md_theme_onErrorContainer_mediumContrast">#000000</color> <color name="md_theme_onErrorContainer_mediumContrast">#000000</color>
<color name="md_theme_background_mediumContrast">#16130B</color> <color name="md_theme_background_mediumContrast">#16130B</color>
<color name="md_theme_onBackground_mediumContrast">#E9E2D4</color> <color name="md_theme_onBackground_mediumContrast">#EAE1D4</color>
<color name="md_theme_surface_mediumContrast">#16130B</color> <color name="md_theme_surface_mediumContrast">#16130B</color>
<color name="md_theme_onSurface_mediumContrast">#FFFAF6</color> <color name="md_theme_onSurface_mediumContrast">#FFFAF6</color>
<color name="md_theme_surfaceVariant_mediumContrast">#4C4639</color> <color name="md_theme_surfaceVariant_mediumContrast">#4C4639</color>
<color name="md_theme_onSurfaceVariant_mediumContrast">#D2CAB8</color> <color name="md_theme_onSurfaceVariant_mediumContrast">#D3CAB8</color>
<color name="md_theme_outline_mediumContrast">#AAA291</color> <color name="md_theme_outline_mediumContrast">#AAA291</color>
<color name="md_theme_outlineVariant_mediumContrast">#898373</color> <color name="md_theme_outlineVariant_mediumContrast">#8A8273</color>
<color name="md_theme_scrim_mediumContrast">#000000</color> <color name="md_theme_scrim_mediumContrast">#000000</color>
<color name="md_theme_inverseSurface_mediumContrast">#E9E2D4</color> <color name="md_theme_inverseSurface_mediumContrast">#EAE1D4</color>
<color name="md_theme_inverseOnSurface_mediumContrast">#2D2A21</color> <color name="md_theme_inverseOnSurface_mediumContrast">#2D2A21</color>
<color name="md_theme_inversePrimary_mediumContrast">#574600</color> <color name="md_theme_inversePrimary_mediumContrast">#594600</color>
<color name="md_theme_primaryFixed_mediumContrast">#FDE186</color> <color name="md_theme_primaryFixed_mediumContrast">#FFE089</color>
<color name="md_theme_onPrimaryFixed_mediumContrast">#171000</color> <color name="md_theme_onPrimaryFixed_mediumContrast">#171000</color>
<color name="md_theme_primaryFixedDim_mediumContrast">#E0C56D</color> <color name="md_theme_primaryFixedDim_mediumContrast">#E2C46D</color>
<color name="md_theme_onPrimaryFixedVariant_mediumContrast">#423500</color> <color name="md_theme_onPrimaryFixedVariant_mediumContrast">#433400</color>
<color name="md_theme_secondaryFixed_mediumContrast">#FDE186</color> <color name="md_theme_secondaryFixed_mediumContrast">#FFE089</color>
<color name="md_theme_onSecondaryFixed_mediumContrast">#171000</color> <color name="md_theme_onSecondaryFixed_mediumContrast">#171000</color>
<color name="md_theme_secondaryFixedDim_mediumContrast">#E0C56D</color> <color name="md_theme_secondaryFixedDim_mediumContrast">#E2C46D</color>
<color name="md_theme_onSecondaryFixedVariant_mediumContrast">#423500</color> <color name="md_theme_onSecondaryFixedVariant_mediumContrast">#433400</color>
<color name="md_theme_tertiaryFixed_mediumContrast">#FDE186</color> <color name="md_theme_tertiaryFixed_mediumContrast">#FFE089</color>
<color name="md_theme_onTertiaryFixed_mediumContrast">#171000</color> <color name="md_theme_onTertiaryFixed_mediumContrast">#171000</color>
<color name="md_theme_tertiaryFixedDim_mediumContrast">#E0C56D</color> <color name="md_theme_tertiaryFixedDim_mediumContrast">#E2C46D</color>
<color name="md_theme_onTertiaryFixedVariant_mediumContrast">#423500</color> <color name="md_theme_onTertiaryFixedVariant_mediumContrast">#433400</color>
<color name="md_theme_surfaceDim_mediumContrast">#16130B</color> <color name="md_theme_surfaceDim_mediumContrast">#16130B</color>
<color name="md_theme_surfaceBright_mediumContrast">#3D392F</color> <color name="md_theme_surfaceBright_mediumContrast">#3D392F</color>
<color name="md_theme_surfaceContainerLowest_mediumContrast">#110E07</color> <color name="md_theme_surfaceContainerLowest_mediumContrast">#110E07</color>
<color name="md_theme_surfaceContainerLow_mediumContrast">#1E1B13</color> <color name="md_theme_surfaceContainerLow_mediumContrast">#1F1B13</color>
<color name="md_theme_surfaceContainer_mediumContrast">#221F17</color> <color name="md_theme_surfaceContainer_mediumContrast">#231F17</color>
<color name="md_theme_surfaceContainerHigh_mediumContrast">#2D2A21</color> <color name="md_theme_surfaceContainerHigh_mediumContrast">#2D2A21</color>
<color name="md_theme_surfaceContainerHighest_mediumContrast">#38342B</color> <color name="md_theme_surfaceContainerHighest_mediumContrast">#38342B</color>
<color name="md_theme_primary_highContrast">#FFFAF6</color> <color name="md_theme_primary_highContrast">#FFFAF6</color>
<color name="md_theme_onPrimary_highContrast">#000000</color> <color name="md_theme_onPrimary_highContrast">#000000</color>
<color name="md_theme_primaryContainer_highContrast">#E4C971</color> <color name="md_theme_primaryContainer_highContrast">#E7C870</color>
<color name="md_theme_onPrimaryContainer_highContrast">#000000</color> <color name="md_theme_onPrimaryContainer_highContrast">#000000</color>
<color name="md_theme_secondary_highContrast">#FFFAF6</color> <color name="md_theme_secondary_highContrast">#FFFAF6</color>
<color name="md_theme_onSecondary_highContrast">#000000</color> <color name="md_theme_onSecondary_highContrast">#000000</color>
<color name="md_theme_secondaryContainer_highContrast">#E4C971</color> <color name="md_theme_secondaryContainer_highContrast">#E7C870</color>
<color name="md_theme_onSecondaryContainer_highContrast">#000000</color> <color name="md_theme_onSecondaryContainer_highContrast">#000000</color>
<color name="md_theme_tertiary_highContrast">#FFFAF6</color> <color name="md_theme_tertiary_highContrast">#FFFAF6</color>
<color name="md_theme_onTertiary_highContrast">#000000</color> <color name="md_theme_onTertiary_highContrast">#000000</color>
<color name="md_theme_tertiaryContainer_highContrast">#E4C971</color> <color name="md_theme_tertiaryContainer_highContrast">#E7C870</color>
<color name="md_theme_onTertiaryContainer_highContrast">#000000</color> <color name="md_theme_onTertiaryContainer_highContrast">#000000</color>
<color name="md_theme_error_highContrast">#FFF9F9</color> <color name="md_theme_error_highContrast">#FFF9F9</color>
<color name="md_theme_onError_highContrast">#000000</color> <color name="md_theme_onError_highContrast">#000000</color>
<color name="md_theme_errorContainer_highContrast">#FFBAB1</color> <color name="md_theme_errorContainer_highContrast">#FFBAB1</color>
<color name="md_theme_onErrorContainer_highContrast">#000000</color> <color name="md_theme_onErrorContainer_highContrast">#000000</color>
<color name="md_theme_background_highContrast">#16130B</color> <color name="md_theme_background_highContrast">#16130B</color>
<color name="md_theme_onBackground_highContrast">#E9E2D4</color> <color name="md_theme_onBackground_highContrast">#EAE1D4</color>
<color name="md_theme_surface_highContrast">#16130B</color> <color name="md_theme_surface_highContrast">#16130B</color>
<color name="md_theme_onSurface_highContrast">#FFFFFF</color> <color name="md_theme_onSurface_highContrast">#FFFFFF</color>
<color name="md_theme_surfaceVariant_highContrast">#4C4639</color> <color name="md_theme_surfaceVariant_highContrast">#4C4639</color>
<color name="md_theme_onSurfaceVariant_highContrast">#FFFAF6</color> <color name="md_theme_onSurfaceVariant_highContrast">#FFFAF6</color>
<color name="md_theme_outline_highContrast">#D2CAB8</color> <color name="md_theme_outline_highContrast">#D3CAB8</color>
<color name="md_theme_outlineVariant_highContrast">#D2CAB8</color> <color name="md_theme_outlineVariant_highContrast">#D3CAB8</color>
<color name="md_theme_scrim_highContrast">#000000</color> <color name="md_theme_scrim_highContrast">#000000</color>
<color name="md_theme_inverseSurface_highContrast">#E9E2D4</color> <color name="md_theme_inverseSurface_highContrast">#EAE1D4</color>
<color name="md_theme_inverseOnSurface_highContrast">#000000</color> <color name="md_theme_inverseOnSurface_highContrast">#000000</color>
<color name="md_theme_inversePrimary_highContrast">#342900</color> <color name="md_theme_inversePrimary_highContrast">#352900</color>
<color name="md_theme_primaryFixed_highContrast">#FFE597</color> <color name="md_theme_primaryFixed_highContrast">#FFE59E</color>
<color name="md_theme_onPrimaryFixed_highContrast">#000000</color> <color name="md_theme_onPrimaryFixed_highContrast">#000000</color>
<color name="md_theme_primaryFixedDim_highContrast">#E4C971</color> <color name="md_theme_primaryFixedDim_highContrast">#E7C870</color>
<color name="md_theme_onPrimaryFixedVariant_highContrast">#1D1600</color> <color name="md_theme_onPrimaryFixedVariant_highContrast">#1D1500</color>
<color name="md_theme_secondaryFixed_highContrast">#FFE597</color> <color name="md_theme_secondaryFixed_highContrast">#FFE59E</color>
<color name="md_theme_onSecondaryFixed_highContrast">#000000</color> <color name="md_theme_onSecondaryFixed_highContrast">#000000</color>
<color name="md_theme_secondaryFixedDim_highContrast">#E4C971</color> <color name="md_theme_secondaryFixedDim_highContrast">#E7C870</color>
<color name="md_theme_onSecondaryFixedVariant_highContrast">#1D1600</color> <color name="md_theme_onSecondaryFixedVariant_highContrast">#1D1500</color>
<color name="md_theme_tertiaryFixed_highContrast">#FFE597</color> <color name="md_theme_tertiaryFixed_highContrast">#FFE59E</color>
<color name="md_theme_onTertiaryFixed_highContrast">#000000</color> <color name="md_theme_onTertiaryFixed_highContrast">#000000</color>
<color name="md_theme_tertiaryFixedDim_highContrast">#E4C971</color> <color name="md_theme_tertiaryFixedDim_highContrast">#E7C870</color>
<color name="md_theme_onTertiaryFixedVariant_highContrast">#1D1600</color> <color name="md_theme_onTertiaryFixedVariant_highContrast">#1D1500</color>
<color name="md_theme_surfaceDim_highContrast">#16130B</color> <color name="md_theme_surfaceDim_highContrast">#16130B</color>
<color name="md_theme_surfaceBright_highContrast">#3D392F</color> <color name="md_theme_surfaceBright_highContrast">#3D392F</color>
<color name="md_theme_surfaceContainerLowest_highContrast">#110E07</color> <color name="md_theme_surfaceContainerLowest_highContrast">#110E07</color>
<color name="md_theme_surfaceContainerLow_highContrast">#1E1B13</color> <color name="md_theme_surfaceContainerLow_highContrast">#1F1B13</color>
<color name="md_theme_surfaceContainer_highContrast">#221F17</color> <color name="md_theme_surfaceContainer_highContrast">#231F17</color>
<color name="md_theme_surfaceContainerHigh_highContrast">#2D2A21</color> <color name="md_theme_surfaceContainerHigh_highContrast">#2D2A21</color>
<color name="md_theme_surfaceContainerHighest_highContrast">#38342B</color> <color name="md_theme_surfaceContainerHighest_highContrast">#38342B</color>
</resources> </resources>

View File

@ -3,145 +3,145 @@
<color name="black">#FF000000</color> <color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color> <color name="white">#FFFFFFFF</color>
<!-- Material Design --> <!-- Material Design -->
<color name="md_theme_primary">#715C0D</color> <color name="md_theme_primary">#725C0C</color>
<color name="md_theme_onPrimary">#FFFFFF</color> <color name="md_theme_onPrimary">#FFFFFF</color>
<color name="md_theme_primaryContainer">#FDE186</color> <color name="md_theme_primaryContainer">#FFE089</color>
<color name="md_theme_onPrimaryContainer">#231B00</color> <color name="md_theme_onPrimaryContainer">#241A00</color>
<color name="md_theme_secondary">#715C0D</color> <color name="md_theme_secondary">#725C0C</color>
<color name="md_theme_onSecondary">#FFFFFF</color> <color name="md_theme_onSecondary">#FFFFFF</color>
<color name="md_theme_secondaryContainer">#FDE186</color> <color name="md_theme_secondaryContainer">#FFE089</color>
<color name="md_theme_onSecondaryContainer">#231B00</color> <color name="md_theme_onSecondaryContainer">#241A00</color>
<color name="md_theme_tertiary">#715C0D</color> <color name="md_theme_tertiary">#725C0C</color>
<color name="md_theme_onTertiary">#FFFFFF</color> <color name="md_theme_onTertiary">#FFFFFF</color>
<color name="md_theme_tertiaryContainer">#FDE186</color> <color name="md_theme_tertiaryContainer">#FFE089</color>
<color name="md_theme_onTertiaryContainer">#231B00</color> <color name="md_theme_onTertiaryContainer">#241A00</color>
<color name="md_theme_error">#BA1A1A</color> <color name="md_theme_error">#BA1A1A</color>
<color name="md_theme_onError">#FFFFFF</color> <color name="md_theme_onError">#FFFFFF</color>
<color name="md_theme_errorContainer">#FFDAD6</color> <color name="md_theme_errorContainer">#FFDAD6</color>
<color name="md_theme_onErrorContainer">#410002</color> <color name="md_theme_onErrorContainer">#410002</color>
<color name="md_theme_background">#FFF8F0</color> <color name="md_theme_background">#FFF8F0</color>
<color name="md_theme_onBackground">#1E1B13</color> <color name="md_theme_onBackground">#1F1B13</color>
<color name="md_theme_surface">#FFF8F0</color> <color name="md_theme_surface">#FFF8F0</color>
<color name="md_theme_onSurface">#1E1B13</color> <color name="md_theme_onSurface">#1F1B13</color>
<color name="md_theme_surfaceVariant">#EBE2CF</color> <color name="md_theme_surfaceVariant">#EBE1CF</color>
<color name="md_theme_onSurfaceVariant">#4C4639</color> <color name="md_theme_onSurfaceVariant">#4C4639</color>
<color name="md_theme_outline">#7D7767</color> <color name="md_theme_outline">#7D7667</color>
<color name="md_theme_outlineVariant">#CEC6B4</color> <color name="md_theme_outlineVariant">#CFC6B4</color>
<color name="md_theme_scrim">#000000</color> <color name="md_theme_scrim">#000000</color>
<color name="md_theme_inverseSurface">#343027</color> <color name="md_theme_inverseSurface">#343027</color>
<color name="md_theme_inverseOnSurface">#F8F0E2</color> <color name="md_theme_inverseOnSurface">#F8F0E2</color>
<color name="md_theme_inversePrimary">#E0C56D</color> <color name="md_theme_inversePrimary">#E2C46D</color>
<color name="md_theme_primaryFixed">#FDE186</color> <color name="md_theme_primaryFixed">#FFE089</color>
<color name="md_theme_onPrimaryFixed">#231B00</color> <color name="md_theme_onPrimaryFixed">#241A00</color>
<color name="md_theme_primaryFixedDim">#E0C56D</color> <color name="md_theme_primaryFixedDim">#E2C46D</color>
<color name="md_theme_onPrimaryFixedVariant">#564500</color> <color name="md_theme_onPrimaryFixedVariant">#574500</color>
<color name="md_theme_secondaryFixed">#FDE186</color> <color name="md_theme_secondaryFixed">#FFE089</color>
<color name="md_theme_onSecondaryFixed">#231B00</color> <color name="md_theme_onSecondaryFixed">#241A00</color>
<color name="md_theme_secondaryFixedDim">#E0C56D</color> <color name="md_theme_secondaryFixedDim">#E2C46D</color>
<color name="md_theme_onSecondaryFixedVariant">#564500</color> <color name="md_theme_onSecondaryFixedVariant">#574500</color>
<color name="md_theme_tertiaryFixed">#FDE186</color> <color name="md_theme_tertiaryFixed">#FFE089</color>
<color name="md_theme_onTertiaryFixed">#231B00</color> <color name="md_theme_onTertiaryFixed">#241A00</color>
<color name="md_theme_tertiaryFixedDim">#E0C56D</color> <color name="md_theme_tertiaryFixedDim">#E2C46D</color>
<color name="md_theme_onTertiaryFixedVariant">#564500</color> <color name="md_theme_onTertiaryFixedVariant">#574500</color>
<color name="md_theme_surfaceDim">#E1D9CC</color> <color name="md_theme_surfaceDim">#E1D9CC</color>
<color name="md_theme_surfaceBright">#FFF8F0</color> <color name="md_theme_surfaceBright">#FFF8F0</color>
<color name="md_theme_surfaceContainerLowest">#FFFFFF</color> <color name="md_theme_surfaceContainerLowest">#FFFFFF</color>
<color name="md_theme_surfaceContainerLow">#FBF3E5</color> <color name="md_theme_surfaceContainerLow">#FBF3E5</color>
<color name="md_theme_surfaceContainer">#F5EDDF</color> <color name="md_theme_surfaceContainer">#F5EDDF</color>
<color name="md_theme_surfaceContainerHigh">#EFE7DA</color> <color name="md_theme_surfaceContainerHigh">#EFE7D9</color>
<color name="md_theme_surfaceContainerHighest">#E9E2D4</color> <color name="md_theme_surfaceContainerHighest">#EAE1D4</color>
<color name="md_theme_primary_mediumContrast">#514100</color> <color name="md_theme_primary_mediumContrast">#534100</color>
<color name="md_theme_onPrimary_mediumContrast">#FFFFFF</color> <color name="md_theme_onPrimary_mediumContrast">#FFFFFF</color>
<color name="md_theme_primaryContainer_mediumContrast">#897324</color> <color name="md_theme_primaryContainer_mediumContrast">#8A7223</color>
<color name="md_theme_onPrimaryContainer_mediumContrast">#FFFFFF</color> <color name="md_theme_onPrimaryContainer_mediumContrast">#FFFFFF</color>
<color name="md_theme_secondary_mediumContrast">#514100</color> <color name="md_theme_secondary_mediumContrast">#534100</color>
<color name="md_theme_onSecondary_mediumContrast">#FFFFFF</color> <color name="md_theme_onSecondary_mediumContrast">#FFFFFF</color>
<color name="md_theme_secondaryContainer_mediumContrast">#897324</color> <color name="md_theme_secondaryContainer_mediumContrast">#8A7223</color>
<color name="md_theme_onSecondaryContainer_mediumContrast">#FFFFFF</color> <color name="md_theme_onSecondaryContainer_mediumContrast">#FFFFFF</color>
<color name="md_theme_tertiary_mediumContrast">#514100</color> <color name="md_theme_tertiary_mediumContrast">#534100</color>
<color name="md_theme_onTertiary_mediumContrast">#FFFFFF</color> <color name="md_theme_onTertiary_mediumContrast">#FFFFFF</color>
<color name="md_theme_tertiaryContainer_mediumContrast">#897324</color> <color name="md_theme_tertiaryContainer_mediumContrast">#8A7223</color>
<color name="md_theme_onTertiaryContainer_mediumContrast">#FFFFFF</color> <color name="md_theme_onTertiaryContainer_mediumContrast">#FFFFFF</color>
<color name="md_theme_error_mediumContrast">#8C0009</color> <color name="md_theme_error_mediumContrast">#8C0009</color>
<color name="md_theme_onError_mediumContrast">#FFFFFF</color> <color name="md_theme_onError_mediumContrast">#FFFFFF</color>
<color name="md_theme_errorContainer_mediumContrast">#DA342E</color> <color name="md_theme_errorContainer_mediumContrast">#DA342E</color>
<color name="md_theme_onErrorContainer_mediumContrast">#FFFFFF</color> <color name="md_theme_onErrorContainer_mediumContrast">#FFFFFF</color>
<color name="md_theme_background_mediumContrast">#FFF8F0</color> <color name="md_theme_background_mediumContrast">#FFF8F0</color>
<color name="md_theme_onBackground_mediumContrast">#1E1B13</color> <color name="md_theme_onBackground_mediumContrast">#1F1B13</color>
<color name="md_theme_surface_mediumContrast">#FFF8F0</color> <color name="md_theme_surface_mediumContrast">#FFF8F0</color>
<color name="md_theme_onSurface_mediumContrast">#1E1B13</color> <color name="md_theme_onSurface_mediumContrast">#1F1B13</color>
<color name="md_theme_surfaceVariant_mediumContrast">#EBE2CF</color> <color name="md_theme_surfaceVariant_mediumContrast">#EBE1CF</color>
<color name="md_theme_onSurfaceVariant_mediumContrast">#474235</color> <color name="md_theme_onSurfaceVariant_mediumContrast">#484235</color>
<color name="md_theme_outline_mediumContrast">#645F50</color> <color name="md_theme_outline_mediumContrast">#655E50</color>
<color name="md_theme_outlineVariant_mediumContrast">#817A6B</color> <color name="md_theme_outlineVariant_mediumContrast">#817A6B</color>
<color name="md_theme_scrim_mediumContrast">#000000</color> <color name="md_theme_scrim_mediumContrast">#000000</color>
<color name="md_theme_inverseSurface_mediumContrast">#343027</color> <color name="md_theme_inverseSurface_mediumContrast">#343027</color>
<color name="md_theme_inverseOnSurface_mediumContrast">#F8F0E2</color> <color name="md_theme_inverseOnSurface_mediumContrast">#F8F0E2</color>
<color name="md_theme_inversePrimary_mediumContrast">#E0C56D</color> <color name="md_theme_inversePrimary_mediumContrast">#E2C46D</color>
<color name="md_theme_primaryFixed_mediumContrast">#897324</color> <color name="md_theme_primaryFixed_mediumContrast">#8A7223</color>
<color name="md_theme_onPrimaryFixed_mediumContrast">#FFFFFF</color> <color name="md_theme_onPrimaryFixed_mediumContrast">#FFFFFF</color>
<color name="md_theme_primaryFixedDim_mediumContrast">#6E5A09</color> <color name="md_theme_primaryFixedDim_mediumContrast">#705909</color>
<color name="md_theme_onPrimaryFixedVariant_mediumContrast">#FFFFFF</color> <color name="md_theme_onPrimaryFixedVariant_mediumContrast">#FFFFFF</color>
<color name="md_theme_secondaryFixed_mediumContrast">#897324</color> <color name="md_theme_secondaryFixed_mediumContrast">#8A7223</color>
<color name="md_theme_onSecondaryFixed_mediumContrast">#FFFFFF</color> <color name="md_theme_onSecondaryFixed_mediumContrast">#FFFFFF</color>
<color name="md_theme_secondaryFixedDim_mediumContrast">#6E5A09</color> <color name="md_theme_secondaryFixedDim_mediumContrast">#705909</color>
<color name="md_theme_onSecondaryFixedVariant_mediumContrast">#FFFFFF</color> <color name="md_theme_onSecondaryFixedVariant_mediumContrast">#FFFFFF</color>
<color name="md_theme_tertiaryFixed_mediumContrast">#897324</color> <color name="md_theme_tertiaryFixed_mediumContrast">#8A7223</color>
<color name="md_theme_onTertiaryFixed_mediumContrast">#FFFFFF</color> <color name="md_theme_onTertiaryFixed_mediumContrast">#FFFFFF</color>
<color name="md_theme_tertiaryFixedDim_mediumContrast">#6E5A09</color> <color name="md_theme_tertiaryFixedDim_mediumContrast">#705909</color>
<color name="md_theme_onTertiaryFixedVariant_mediumContrast">#FFFFFF</color> <color name="md_theme_onTertiaryFixedVariant_mediumContrast">#FFFFFF</color>
<color name="md_theme_surfaceDim_mediumContrast">#E1D9CC</color> <color name="md_theme_surfaceDim_mediumContrast">#E1D9CC</color>
<color name="md_theme_surfaceBright_mediumContrast">#FFF8F0</color> <color name="md_theme_surfaceBright_mediumContrast">#FFF8F0</color>
<color name="md_theme_surfaceContainerLowest_mediumContrast">#FFFFFF</color> <color name="md_theme_surfaceContainerLowest_mediumContrast">#FFFFFF</color>
<color name="md_theme_surfaceContainerLow_mediumContrast">#FBF3E5</color> <color name="md_theme_surfaceContainerLow_mediumContrast">#FBF3E5</color>
<color name="md_theme_surfaceContainer_mediumContrast">#F5EDDF</color> <color name="md_theme_surfaceContainer_mediumContrast">#F5EDDF</color>
<color name="md_theme_surfaceContainerHigh_mediumContrast">#EFE7DA</color> <color name="md_theme_surfaceContainerHigh_mediumContrast">#EFE7D9</color>
<color name="md_theme_surfaceContainerHighest_mediumContrast">#E9E2D4</color> <color name="md_theme_surfaceContainerHighest_mediumContrast">#EAE1D4</color>
<color name="md_theme_primary_highContrast">#2B2100</color> <color name="md_theme_primary_highContrast">#2C2100</color>
<color name="md_theme_onPrimary_highContrast">#FFFFFF</color> <color name="md_theme_onPrimary_highContrast">#FFFFFF</color>
<color name="md_theme_primaryContainer_highContrast">#514100</color> <color name="md_theme_primaryContainer_highContrast">#534100</color>
<color name="md_theme_onPrimaryContainer_highContrast">#FFFFFF</color> <color name="md_theme_onPrimaryContainer_highContrast">#FFFFFF</color>
<color name="md_theme_secondary_highContrast">#2B2100</color> <color name="md_theme_secondary_highContrast">#2C2100</color>
<color name="md_theme_onSecondary_highContrast">#FFFFFF</color> <color name="md_theme_onSecondary_highContrast">#FFFFFF</color>
<color name="md_theme_secondaryContainer_highContrast">#514100</color> <color name="md_theme_secondaryContainer_highContrast">#534100</color>
<color name="md_theme_onSecondaryContainer_highContrast">#FFFFFF</color> <color name="md_theme_onSecondaryContainer_highContrast">#FFFFFF</color>
<color name="md_theme_tertiary_highContrast">#2B2100</color> <color name="md_theme_tertiary_highContrast">#2C2100</color>
<color name="md_theme_onTertiary_highContrast">#FFFFFF</color> <color name="md_theme_onTertiary_highContrast">#FFFFFF</color>
<color name="md_theme_tertiaryContainer_highContrast">#514100</color> <color name="md_theme_tertiaryContainer_highContrast">#534100</color>
<color name="md_theme_onTertiaryContainer_highContrast">#FFFFFF</color> <color name="md_theme_onTertiaryContainer_highContrast">#FFFFFF</color>
<color name="md_theme_error_highContrast">#4E0002</color> <color name="md_theme_error_highContrast">#4E0002</color>
<color name="md_theme_onError_highContrast">#FFFFFF</color> <color name="md_theme_onError_highContrast">#FFFFFF</color>
<color name="md_theme_errorContainer_highContrast">#8C0009</color> <color name="md_theme_errorContainer_highContrast">#8C0009</color>
<color name="md_theme_onErrorContainer_highContrast">#FFFFFF</color> <color name="md_theme_onErrorContainer_highContrast">#FFFFFF</color>
<color name="md_theme_background_highContrast">#FFF8F0</color> <color name="md_theme_background_highContrast">#FFF8F0</color>
<color name="md_theme_onBackground_highContrast">#1E1B13</color> <color name="md_theme_onBackground_highContrast">#1F1B13</color>
<color name="md_theme_surface_highContrast">#FFF8F0</color> <color name="md_theme_surface_highContrast">#FFF8F0</color>
<color name="md_theme_onSurface_highContrast">#000000</color> <color name="md_theme_onSurface_highContrast">#000000</color>
<color name="md_theme_surfaceVariant_highContrast">#EBE2CF</color> <color name="md_theme_surfaceVariant_highContrast">#EBE1CF</color>
<color name="md_theme_onSurfaceVariant_highContrast">#282418</color> <color name="md_theme_onSurfaceVariant_highContrast">#282318</color>
<color name="md_theme_outline_highContrast">#474235</color> <color name="md_theme_outline_highContrast">#484235</color>
<color name="md_theme_outlineVariant_highContrast">#474235</color> <color name="md_theme_outlineVariant_highContrast">#484235</color>
<color name="md_theme_scrim_highContrast">#000000</color> <color name="md_theme_scrim_highContrast">#000000</color>
<color name="md_theme_inverseSurface_highContrast">#343027</color> <color name="md_theme_inverseSurface_highContrast">#343027</color>
<color name="md_theme_inverseOnSurface_highContrast">#FFFFFF</color> <color name="md_theme_inverseOnSurface_highContrast">#FFFFFF</color>
<color name="md_theme_inversePrimary_highContrast">#FFEBB2</color> <color name="md_theme_inversePrimary_highContrast">#FFEAB7</color>
<color name="md_theme_primaryFixed_highContrast">#514100</color> <color name="md_theme_primaryFixed_highContrast">#534100</color>
<color name="md_theme_onPrimaryFixed_highContrast">#FFFFFF</color> <color name="md_theme_onPrimaryFixed_highContrast">#FFFFFF</color>
<color name="md_theme_primaryFixedDim_highContrast">#372B00</color> <color name="md_theme_primaryFixedDim_highContrast">#382B00</color>
<color name="md_theme_onPrimaryFixedVariant_highContrast">#FFFFFF</color> <color name="md_theme_onPrimaryFixedVariant_highContrast">#FFFFFF</color>
<color name="md_theme_secondaryFixed_highContrast">#514100</color> <color name="md_theme_secondaryFixed_highContrast">#534100</color>
<color name="md_theme_onSecondaryFixed_highContrast">#FFFFFF</color> <color name="md_theme_onSecondaryFixed_highContrast">#FFFFFF</color>
<color name="md_theme_secondaryFixedDim_highContrast">#372B00</color> <color name="md_theme_secondaryFixedDim_highContrast">#382B00</color>
<color name="md_theme_onSecondaryFixedVariant_highContrast">#FFFFFF</color> <color name="md_theme_onSecondaryFixedVariant_highContrast">#FFFFFF</color>
<color name="md_theme_tertiaryFixed_highContrast">#514100</color> <color name="md_theme_tertiaryFixed_highContrast">#534100</color>
<color name="md_theme_onTertiaryFixed_highContrast">#FFFFFF</color> <color name="md_theme_onTertiaryFixed_highContrast">#FFFFFF</color>
<color name="md_theme_tertiaryFixedDim_highContrast">#372B00</color> <color name="md_theme_tertiaryFixedDim_highContrast">#382B00</color>
<color name="md_theme_onTertiaryFixedVariant_highContrast">#FFFFFF</color> <color name="md_theme_onTertiaryFixedVariant_highContrast">#FFFFFF</color>
<color name="md_theme_surfaceDim_highContrast">#E1D9CC</color> <color name="md_theme_surfaceDim_highContrast">#E1D9CC</color>
<color name="md_theme_surfaceBright_highContrast">#FFF8F0</color> <color name="md_theme_surfaceBright_highContrast">#FFF8F0</color>
<color name="md_theme_surfaceContainerLowest_highContrast">#FFFFFF</color> <color name="md_theme_surfaceContainerLowest_highContrast">#FFFFFF</color>
<color name="md_theme_surfaceContainerLow_highContrast">#FBF3E5</color> <color name="md_theme_surfaceContainerLow_highContrast">#FBF3E5</color>
<color name="md_theme_surfaceContainer_highContrast">#F5EDDF</color> <color name="md_theme_surfaceContainer_highContrast">#F5EDDF</color>
<color name="md_theme_surfaceContainerHigh_highContrast">#EFE7DA</color> <color name="md_theme_surfaceContainerHigh_highContrast">#EFE7D9</color>
<color name="md_theme_surfaceContainerHighest_highContrast">#E9E2D4</color> <color name="md_theme_surfaceContainerHighest_highContrast">#EAE1D4</color>
</resources> </resources>

View File

@ -7,4 +7,8 @@
<string name="meal">Meal</string> <string name="meal">Meal</string>
<string name="select_date">Select Date</string> <string name="select_date">Select Date</string>
<string name="not_available">N/A</string> <string name="not_available">N/A</string>
<string name="ok">OK</string>
<string name="ingredients">Ingredients:\u0020</string>
<string name="portion">Portion:\u0020</string>
<string name="nutrients">Nutrients:</string>
</resources> </resources>