@H_404_4@<?
@H_404_4@xml
@H_404_4@version
@H_404_4@=
@H_404_4@"1.0"
@H_404_4@encoding
@H_404_4@=
@H_404_4@"utf-8"
@H_404_4@?>
@H_404_4@<
@H_404_4@selector
@H_404_4@xmlns:android
@H_404_4@=
@H_404_4@"http://schemas.android.com/apk/res/android"
@H_404_4@>
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@<
@H_404_4@item
@H_404_4@android:state_pressed
@H_404_4@=
@H_404_4@"true"
@H_404_4@
@H_404_4@
@H_404_4@android:drawable
@H_404_4@=
@H_404_4@"@color/gray"
@H_404_4@/>
@H_404_4@<!-- pressed :当前条目被按下时显示指定图形-->
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@<
@H_404_4@item
@H_404_4@android:state_focused
@H_404_4@=
@H_404_4@"true"
@H_404_4@
@H_404_4@
@H_404_4@android:drawable
@H_404_4@=
@H_404_4@"@color/gray"
@H_404_4@/>
@H_404_4@<!-- focused:获取焦点的时候 -->
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@<
@H_404_4@item
@H_404_4@android:drawable
@H_404_4@=
@H_404_4@"
@H_404_4@@android:color/transparent
@H_404_4@"
@H_404_4@/>
@H_404_4@<!-- default :默认的图形-->
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@------------------------------------------------------------------------------------------------
@H_404_4@
@H_404_4@<?
@H_404_4@xml
@H_404_4@version
@H_404_4@=
@H_404_4@"1.0"
@H_404_4@encoding
@H_404_4@=
@H_404_4@"@H_404_4@utf@H_404_4@-8"
@H_404_4@?>
@H_404_4@<
@H_404_4@LinearLayout
@H_404_4@xmlns:android
@H_404_4@=
@H_404_4@"http://schemas.android.com/apk/res/android"
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@-------------------------------------------------------------------------------------------
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@public
@H_404_4@@H_502_1032@class
@H_404_4@MainActivity
@H_404_4@@H_502_1032@extends
@H_404_4@Activity {
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@private
@H_404_4@String[]
@H_404_4@names
@H_404_4@= {
@H_404_4@"手机防盗"
@H_404_4@,
@H_404_4@"通讯卫士"
@H_404_4@,
@H_404_4@"软件管理"
@H_404_4@,
@H_404_4@"进程管理"
@H_404_4@,
@H_404_4@"流量统计"
@H_404_4@,
@H_404_4@"手机杀毒"
@H_404_4@,
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@private
@H_404_4@@H_502_1032@int
@H_404_4@[]
@H_404_4@icons
@H_404_4@= { R.drawable.
@H_404_4@icon_safe_selector
@H_404_4@,R.drawable.
@H_404_4@icon_call_selector
@H_404_4@,
@H_404_4@R.drawable.
@H_404_4@icon_app_selector
@H_404_4@,R.drawable.
@H_404_4@icon_task_selector
@H_404_4@,R.drawable.
@H_404_4@icon_net_selector
@H_404_4@,R.drawable.
@H_404_4@icon_trojan_selector
@H_404_4@,
@H_404_4@R.drawable.
@H_404_4@icon_sys_selector
@H_404_4@,R.drawable.
@H_404_4@icon_atools_selector
@H_404_4@,R.drawable.
@H_404_4@icon_setting_selector
@H_404_4@};
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@protected
@H_404_4@@H_502_1032@void
@H_404_4@onCreate(Bundle savedInstanceState) {
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@gv_home
@H_404_4@.setOnItemClickListener(
@H_404_4@@H_502_1032@new
@H_404_4@OnItemClickListener() {
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@public
@H_404_4@@H_502_1032@void
@H_404_4@onItemClick(AdapterView<?> parent,View view,
@H_404_4@
@H_404_4@Intent intent_setting=
@H_404_4@@H_502_1032@new
@H_404_4@Intent(MainActivity.
@H_404_4@@H_502_1032@this
@H_404_4@,SettingActivity.
@H_404_4@@H_502_1032@class
@H_404_4@);
@H_404_4@startActivity(intent_setting);
@H_404_4@
@H_404_4@
@H_404_4@}
@H_404_4@
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@});
@H_404_4@
@H_404_4@
@H_404_4@ }
@H_404_4@
@H_404_4@
@H_404_4@ * 创建适配器
@H_404_4@ *
@H_404_4@ */
@H_404_4@
@H_404_4@@H_502_1032@private
@H_404_4@@H_502_1032@class
@H_404_4@HomeAdapter
@H_404_4@@H_502_1032@extends
@H_404_4@BaseAdapter{
@H_404_4@
@H_404_4@
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@public
@H_404_4@View getView(
@H_404_4@@H_502_1032@int
@H_404_4@position,View convertView,ViewGroup parent) {
@H_404_4@
@H_404_4@View view = View.@H_404_4@inflate@H_404_4@(getApplicationContext(),R.layout.
@H_404_4@grid_home_item
@H_404_4@,
@H_404_4@@H_502_1032@null
@H_404_4@);
@H_404_4@
@H_404_4@ImageView iv_item_icon=(ImageView) view.findViewById(R.id.
@H_404_4@iv_item_icon
@H_404_4@);
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@public
@H_404_4@Object getItem(
@H_404_4@@H_502_1032@int
@H_404_4@position) {
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@@H_502_1032@public
@H_404_4@@H_502_1032@long
@H_404_4@getItemId(
@H_404_4@@H_502_1032@int
@H_404_4@position) {
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@ }
@H_404_4@
@H_404_4@
@H_404_4@
@H_404_4@}
@H_404_4@
@H_404_4@
@H_404_4@