Android key event ing table and escape character comparison

Source: Internet
Author: User

Many developers do not know how to input a symbol similar to "&" in the layout file of Android. android123 below lists some case event ing and escape character comparison tables, for example, & in layout. at the same time as/uff06 in XML, we can see from the table below that & and 7 are in the same position on the keyboard.

Keyevent. keycode_unknown,
Keyevent. keycode_soft_left,
Keyevent. keycode_soft_right,
Keyevent. keycode_home,
Keyevent. keycode_back,
Keyevent. keycode_call,
Keyevent. keycode_endcall,
Keyevent. keycode_0 | ('/uff09' <shift_fwch ),//)
Keyevent. keycode_1 | ('/uff01' <shift_fwch ),//!
Keyevent. keycode_2 | ('/uff20' <shift_fwch ),//@
Keyevent. keycode_3 | ('/uff03' <shift_fwch ),//#
Keyevent. keycode_4 | ('/uffe5' <shift_fwch), // $-fullwidth yuan
Keyevent. keycode_5 | ('/uff05' <shift_fwch), // %
Keyevent. keycode_6 | ('/u2026' <shift_fwch), // ^-apostrophe
Keyevent. keycode_7 | ('/uff06' <shift_fwch ),//&
Keyevent. keycode_8 | ('/uff0a' <shift_fwch ),//*
Keyevent. keycode_9 | ('/uff08' <shift_fwch ),//(
Keyevent. keycode_star,
Keyevent. keycode_pound,
Keyevent. keycode_dpad_up,
Keyevent. keycode_dpad_down,
Keyevent. keycode_dpad_left,
Keyevent. keycode_dpad_right,
Keyevent. keycode_dpad_center,
Keyevent. keycode_volume_up,
Keyevent. keycode_volume_down,
Keyevent. keycode_power,
Keyevent. keycode_camera,
Keyevent. keycode_clear,
Keyevent. keycode_a,
Keyevent. keycode_ B | ('/uff3d' <shift_fwch), //]
Keyevent. keycode_c | ('/u00a9' <shift_fwch), // Copyright
Keyevent. keycode_d | ('/u3001' <shift_fwch ),////
Keyevent. keycode_e | ('_' <shift_fwch ),//_
Keyevent. keycode_f | ('/uff5b' <shift_fwch ),//{
Keyevent. keycode_g | ('/uff5d' <shift_fwch ),//}
Keyevent. keycode_h | ('/uff1a' <shift_fwch ),//:
Keyevent. keycode_ I | ('/uff0d' <shift_fwch ),//-
Keyevent. keycode_j | ('/uff1b' <shift_fwch ),//;
Keyevent. keycode_k | ('/u201c' <shift_fwch ),//"
Keyevent. keycode_l | ('/u2019' <shift_fwch ),//'
Keyevent. keycode_m | ('/u300b' <shift_fwch), //>-French quotes
Keyevent. keycode_n | ('/u300a' <shift_fwch), // <-French quotes
Keyevent. keycode_o | ('/uff0b' <shift_fwch), // +
Keyevent. keycode_p | ('/uff1d' <shift_fwch), // =
Keyevent. keycode_q | ('/t' <shift_fwch), // t
Keyevent. keycode_r | ('/u00ae' <shift_fwch), // Trademark
Keyevent. keycode_s | ('/uff5c' <shift_fwch), // |
Keyevent. keycode_t | ('/u20ac' <shift_fwch ),//
Keyevent. keycode_u | ('/u00d7' <shift_fwch), // Multiplier
Keyevent. keycode_v | ('/uff3b' <shift_fwch ),//[
Keyevent. keycode_w | ('/uff40' <shift_fwch ),//'
Keyevent. keycode_x, keyevent. keycode_y | ('/u00f7' <shift_fwch ),
Keyevent. keycode_z,
Keyevent. keycode_comma | ('/uff1f' <shift_fwch ),
Keyevent. keycode_period | ('/uff0f' <shift_fwch ),
Keyevent. keycode_alt_left, keyevent. keycode_alt_right,
Keyevent. keycode_shift_left, keyevent. keycode_shift_right,
Keyevent. keycode_tab, keyevent. keycode_space, keyevent. keycode_sym,
Keyevent. keycode_explorer, keyevent. keycode_envelope,
Keyevent. keycode_enter, keyevent. keycode_del,
Keyevent. keycode_grave, keyevent. keycode_minus,
Keyevent. keycode_equals, keyevent. keycode_left_bracket,
Keyevent. keycode_right_bracket, keyevent. keycode_backslash,
Keyevent. keycode_semicolon, keyevent. keycode_apostrophe,
Keyevent. keycode_slash,
Keyevent. keycode_at | ('/uff5e' <shift_fwch ),
Keyevent. keycode_num, keyevent. keycode_headsethook,
Keyevent. keycode_focus, keyevent. keycode_plus,
Keyevent. keycode_menu, keyevent. keycode_notification,
Keyevent. keycode_search

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.