适用于Android Studio的十六进制代码颜色库

时间:2017-05-06 07:53:29

标签: android colors

我正在开发一个名为色盲的Android应用程序,用于色盲。 扫描功能已在我的项目中完成。 唯一的问题是,我需要一个颜色库来支持我的项目。 我正在为我的应用程序使用mysqlite数据库,我将颜色代码和名称添加到数据库, 但问题是那里的代码太多了 所以我需要一个色库。

下图是关于样本编码添加颜色代码和数据库的名称 sample coding add color code and name to database

这对我的项目来说还不够。

请帮忙。

1 个答案:

答案 0 :(得分:3)

您不需要为颜色值制作数据库表 您可以在项目的res / values文件夹中创建colors.xml文件。

Redirect to blade file use this method:-
return view('your viewfile')->with(compact('data'));
                   or
Redirect to method in controller use this technique:-
use Illuminate\Support\Facades\Redirect; // Add this in top of controller
return Redirect::to('/searchItem')->with(compact('data'));