The invention discloses a functional double-page
layout UI design method based on an Android
system, which comprises the following steps: modifying a default UI
layout, realizing display of a left UI and a right UI by utilizing a linear
layout, a laminated layout and a basic control, and taking the display of the left UI and the right UI as the layout of a basic window; modifying an onCreate method of a SetingsActivity class to obtain information displayed in double pages, then displaying data in a page manner, meanwhile,
copying an onPreferceStartFragment method, and
processing menu click logic;
rewriting an onPreferceTreeClick method and an onPreferceStartFragment method by using a SetingsPreferceFragment, and realizing the
response control on the menu click of the page in the two methods, so that the
response control on the menu click of the page can be realized by using the SetingsPreferceFragment method and the onPreferceStartFragment method; and transforming SubSetingLauncher, adding necessary information of double-page display, and meanwhile, transmitting data needing to be displayed to the SetingsActivity through the transformed SubSetingLauncher. The design is reasonable, rapid jump between menus can be realized, the operation is natural and smooth, the right
animation loading effect can be customized, and the problems of alternate display of single-page display data and operation redundancy are solved.