Colors
enum class ThemeColors(val colorKey: String, val lightColor: Int, val darkColor: Int) {
BgColor("bg_color", Color.parseColor("#FFFFFF"), Color.parseColor("#111111")),
SecondaryBgColor("secondary_bg_color", Color.parseColor("#F0F0F0"), Color.parseColor("#222222")),
TextColor("text_color", Color.parseColor("#222222"), Color.parseColor("#FFFFFF")),
HintColor("hint_color", Color.parseColor("#A8A8A8"), Color.parseColor("#A8A8A8")),
LinkColor("link_color", Color.parseColor("#A8A8A8"), Color.parseColor("#A8A8A8")),
ButtonColor("button_color", Color.parseColor("#A8A8A8"), Color.parseColor("#A8A8A8")),
ButtonTextColor("button_text_color", Color.parseColor("#A8A8A8"), Color.parseColor("#A8A8A8")),
HeaderBgColor("header_bg_color", Color.parseColor("#527DA3"), Color.parseColor("#527DA3")),
AccentTextColor("accent_text_color", Color.parseColor("#1C93E3"), Color.parseColor("#FFFFFF")),
SectionHeaderTextColor("section_header_text_color", Color.parseColor("#3A95D5"), Color.parseColor("#FFFFFF")),
SubTitleTextColor("subtitle_text_color", Color.parseColor("#82868A"), Color.parseColor("#FFFFFF")),
DestructiveTextColor("destructive_text_color", Color.parseColor("#CC2929"), Color.parseColor("#FFFFFF")),
TextErrColor("text_err_color", Color.parseColor("#CC4747"), Color.parseColor("#CC4747")),
ProgressCircleColor("progress_circle_color", Color.parseColor("#1C93E3"), Color.parseColor("#1C93E3")),
SheetScrollUpColor("sheet_scroll_up", Color.parseColor("#E1E4E8"), Color.parseColor("#E1E4E8"));
}
Strings
mapOf(
"action_close_anyway" to R.string.action_close_anyway,
"action_cancel" to R.string.action_cancel,
"action_allow" to R.string.action_allow,
"action_not_allow" to R.string.action_not_allow,
"action_share_contact" to R.string.action_share_contact,
"action_not_now" to R.string.action_not_now,
"action_block_all" to R.string.action_block_all,
"dialog_close_save_message" to R.string.dialog_close_save_message,
"dialog_share_phone_title" to R.string.dialog_share_phone_title,
"dialog_share_phone_message" to R.string.dialog_share_phone_message,
"dialog_write_access_title" to R.string.dialog_write_access_title,
"dialog_write_access_message" to R.string.dialog_write_access_message,
)
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="action_close_anyway">Close anyway</string>
<string name="action_cancel">Cancel</string>
<string name="action_allow">Allow</string>
<string name="action_not_allow">Don\'t Allow</string>
<string name="action_share_contact">Share contact</string>
<string name="action_not_now">Not now</string>
<string name="action_block_all">Block All</string>
<string name="dialog_close_save_message">Changes that you made may not be saved.</string>
<string name="dialog_share_phone_title">Share your phone number?</string>
<string name="dialog_share_phone_message">The bot will know your phone number. This can be useful...</string>
<string name="dialog_write_access_title">Allow messaging</string>
<string name="dialog_write_access_message">Allow this bot to send you messages?</string>
<string name="button_ok">OK</string>
<string name="permissions_resource_title">This tool requires the following resources:</string>
<string name="permissions_rationale_popup_title">Information</string>
<string name="permissions_access_camera">Use the camera</string>
<string name="permissions_access_microphone">Use the microphone</string>
<string name="permissions_read_protected_media">Read DRM protected Media</string>
</resources>
```