You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be a good idea to add a colours database with color_name and color_hex_value columns, to show to user (e.g. with a Toast) a specific color name when the HEX value for selected user color matching with one of records into database.
The text was updated successfully, but these errors were encountered:
preloaded db in the assets folder with color names associated to the HEX (or RGB) value;
in the launcher activity we check the presence of the db in the private app space: if it's not present we copy it, otherwise nothing will be done;
alter the current database to add a column to store the name (remember onUpgrade too!);
update the ContentProvider;
every time the user add a color pressing the + button, a dialog will appear to insert the name. If that color has a name in our preloaded db, the EditText will be pre-filled, giving anyway the possibility to change the name.
update the color panel in home page to also show the name (the add + button is updated if a color is stored or not in the database)
It would be a good idea to add a colours database with color_name and color_hex_value columns, to show to user (e.g. with a Toast) a specific color name when the HEX value for selected user color matching with one of records into database.
The text was updated successfully, but these errors were encountered: