锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精自产拍久久久久久蜜,美女黄网久久,国产精品久久一区二区三区http://m.shnenglu.com/life02/zh-cnSun, 24 Aug 2025 08:10:03 GMTSun, 24 Aug 2025 08:10:03 GMT60- 鍔ㄦ佸鍔犲睆騫曪紙杞澆錛?/title>http://m.shnenglu.com/life02/archive/2012/07/26/185196.htmllife02life02Thu, 26 Jul 2012 08:29:00 GMThttp://m.shnenglu.com/life02/archive/2012/07/26/185196.htmlhttp://m.shnenglu.com/life02/comments/185196.htmlhttp://m.shnenglu.com/life02/archive/2012/07/26/185196.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/185196.htmlhttp://m.shnenglu.com/life02/services/trackbacks/185196.htmlhttp://blog.csdn.net/the01hierarch/article/details/7631081
1.宸︽粦鍒囨崲鍒版樉紺烘墍鏈塧pps
PageView.java->onTouchEvent->case MotionEvent.ACTION_UP->if (mTouchState == TOUCH_STATE_SCROLLING)->else { snapToDestination();->鍚庢坊鍔?br />
if(((isSignificantMove && deltaX > 0 && !isFling) ||
(isFling && velocityX > 0)) && mCurrentPage == 0)
{
snapToLeftDestination();
}
騫跺湪Workspace.java涓噸鍐欏嚱鏁?br />
protected void snapToLeftDestination() {
mLauncher.showAllApps(true);
}
2.闈欐佹坊鍔犲睆騫曞拰灞忓箷涓婄殑蹇嵎閿?br />
http://blog.csdn.net/the01hierarch/article/details/7641521
android1.6鐨勭増鏈湁3涓睆 闇瑕佹妸瀹冩敼涓?涓睆 闇瑕佷慨鏀圭殑鍦版柟 濡備笅
1銆丩auncher.java
Java浠g爜 鏀惰棌浠g爜
static final int SCREEN_COUNT = 5;
static final int DEFAULT_SCREN = 2;
2銆乴auncher.xml
Java浠g爜 鏀惰棌浠g爜
<com.lp.launcher.Workspace
android:id="@+id/workspace"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
launcher:defaultScreen="2">//浠?寮濮?nbsp;
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />
<include android:id="@+id/cell3" layout="@layout/workspace_screen" />
<include android:id="@+id/cell4" layout="@layout/workspace_screen" />
<include android:id="@+id/cell5" layout="@layout/workspace_screen" />
</com.lp.launcher.Workspace>
defaultScreen 淇敼涓? 鐒跺悗 鍔犱袱涓?/span><include />
鐒跺悗 淇敼榛樿鏄劇ず鐨勫睆
3銆乄orkspace.java
淇敼鏋勯犳柟娉曢噷闈㈢殑
Java浠g爜 鏀惰棌浠g爜
mDefaultScreen = a.getInt(R.styleable.Workspace_defaultScreen, 2);//浠?寮濮?nbsp;
榪欐椂 鍩烘湰涓婂凡緇忓彲浠ユ樉紺?涓睆騫曚簡 榛樿鐨勫睆涔熸槸絎笁涓睆浜?nbsp;浣嗘槸榪涘幓鍚?nbsp;榛樿鏄劇ず鐨勫睆浠涔堜篃娌℃湁 鎴戜滑闇瑕佹妸緇勫緩閮芥尓鍒伴粯璁ゅ睆涓婂幓
4銆乨efault_workspace.xml
淇敼鎵鏈夌殑 launcher:screen 涓?nbsp;2
Java浠g爜 鏀惰棌浠g爜
launcher:screen="2"
3.妗岄潰鏈涓嬫柟鏄劇ず3涓寚瀹氬揩鎹鋒柟寮?br />
鏂規(guī)硶涓錛氬湪launcher.xml涓垹闄?nbsp;
<include
android:id="@+id/hotseat"
android:layout_width="match_parent"
android:layout_height="@dimen/button_bar_height_plus_padding"
android:layout_gravity="bottom"
layout="@layout/hotseat"/>
騫舵坊鍔犵浉搴旂殑鎸夐挳
鏂規(guī)硶浜岋細(xì)淇敼default_workspace.xml
鏂規(guī)硶涓夛細(xì)濡傛灉鏄畾姝葷儹閿紝涓嶅彲鏀瑰彉鐨勮瘽涓嶆帹鑽?br />
閲嶅啓LauncherModel->loadWorkspace涓幏寰楃殑鏁版嵁鏂規(guī)硶錛屽叾涓璼WorkspaceItems.add(info);灝辨槸娣誨姞蹇嵎鏂瑰紡錛堝寘鎷闈idget鍜屼笅闈㈢殑鐑敭錛?br />
鍦℉otseat->resetLayout->鍒犻櫎mContent.addViewToCellLayout(allAppsButton, -1, 0, new CellLayout.LayoutParams(x,y,1,1), true);
4.鍔ㄦ佹坊鍔犲睆騫?br />
鍦╨auncher.java涓坊鍔犱袱涓寜閿簨浠?/span>---------涔嬪悗鍙互灝嗚繖涓や釜鎸夐挳浣滀負(fù)appwidget鍔犲埌榛樿鐨勬闈笂錛屽拰launcher浜や簰鐢ㄥ姩鎬侊紙鍐呴儴娉ㄥ唽錛夊箍鎾?br />
public void addScreen(View view)
{
LayoutInflater mInflater = LayoutInflater.from(this);
CellLayout mCelllayout =(CellLayout)mInflater.inflate(R.layout.workspace_screen,null);
mWorkspace.addView(mCelllayout);
mWorkspace.requestLayout();
}
public void removeScreen(View view)
{
int currentPage = mWorkspace.getCurrentPage();
int countPage = mWorkspace.getChildCount();
if(countPage > 1)
{
if(currentPage == (countPage - 1))
{
currentPage--;
}
mWorkspace.removeViewAt(countPage - 1);
}
mWorkspace.requestLayout();
mWorkspace.snapToPage(currentPage);
}
]]> - sd鍗′腑鍒犻櫎涓涓枃浠?/title>http://m.shnenglu.com/life02/archive/2012/04/13/171254.htmllife02life02Fri, 13 Apr 2012 07:08:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/13/171254.htmlhttp://m.shnenglu.com/life02/comments/171254.htmlhttp://m.shnenglu.com/life02/archive/2012/04/13/171254.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/171254.htmlhttp://m.shnenglu.com/life02/services/trackbacks/171254.html闃呰鍏ㄦ枃

]]> - 閬嶅巻SD鍗″強(qiáng)鍒犻櫎銆侀噸鍛藉悕鏂囦歡(杞澆)http://m.shnenglu.com/life02/archive/2012/04/12/171122.htmllife02life02Thu, 12 Apr 2012 11:49:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/12/171122.htmlhttp://m.shnenglu.com/life02/comments/171122.htmlhttp://m.shnenglu.com/life02/archive/2012/04/12/171122.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/171122.htmlhttp://m.shnenglu.com/life02/services/trackbacks/171122.html闃呰鍏ㄦ枃

]]> - Android 浠巗d鍗¤鍙朮ML鏂囦歡騫惰В鏋愶紙杞澆錛?/title>http://m.shnenglu.com/life02/archive/2012/04/12/171083.htmllife02life02Thu, 12 Apr 2012 05:41:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/12/171083.htmlhttp://m.shnenglu.com/life02/comments/171083.htmlhttp://m.shnenglu.com/life02/archive/2012/04/12/171083.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/171083.htmlhttp://m.shnenglu.com/life02/services/trackbacks/171083.html闃呰鍏ㄦ枃

]]> - android SD鍗℃枃浠剁殑璇誨啓(z杞澆)http://m.shnenglu.com/life02/archive/2012/04/12/171082.htmllife02life02Thu, 12 Apr 2012 05:38:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/12/171082.htmlhttp://m.shnenglu.com/life02/comments/171082.htmlhttp://m.shnenglu.com/life02/archive/2012/04/12/171082.html#Feedback1http://m.shnenglu.com/life02/comments/commentRss/171082.htmlhttp://m.shnenglu.com/life02/services/trackbacks/171082.html闃呰鍏ㄦ枃

]]> - layout灞呬腑http://m.shnenglu.com/life02/archive/2012/04/11/170933.htmllife02life02Wed, 11 Apr 2012 08:49:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/11/170933.htmlhttp://m.shnenglu.com/life02/comments/170933.htmlhttp://m.shnenglu.com/life02/archive/2012/04/11/170933.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/170933.htmlhttp://m.shnenglu.com/life02/services/trackbacks/170933.html闃呰鍏ㄦ枃

]]> - Android寮鍙戜箣SD鍗′笂鏂囦歡鎿嶄綔 錛堣漿錛?/title>http://m.shnenglu.com/life02/archive/2012/04/09/170656.htmllife02life02Mon, 09 Apr 2012 13:17:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/09/170656.htmlhttp://m.shnenglu.com/life02/comments/170656.htmlhttp://m.shnenglu.com/life02/archive/2012/04/09/170656.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/170656.htmlhttp://m.shnenglu.com/life02/services/trackbacks/170656.html闃呰鍏ㄦ枃

]]> - PackageInstaller 鍘熺悊綆榪幫紙杞級(jí)http://m.shnenglu.com/life02/archive/2012/04/08/170511.htmllife02life02Sun, 08 Apr 2012 14:29:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/08/170511.htmlhttp://m.shnenglu.com/life02/comments/170511.htmlhttp://m.shnenglu.com/life02/archive/2012/04/08/170511.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/170511.htmlhttp://m.shnenglu.com/life02/services/trackbacks/170511.html闃呰鍏ㄦ枃

]]> - eclipse鏄劇ず琛屽彿http://m.shnenglu.com/life02/archive/2012/04/08/170462.htmllife02life02Sun, 08 Apr 2012 11:43:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/08/170462.htmlhttp://m.shnenglu.com/life02/comments/170462.htmlhttp://m.shnenglu.com/life02/archive/2012/04/08/170462.html#Feedback0http://m.shnenglu.com/life02/comments/commentRss/170462.htmlhttp://m.shnenglu.com/life02/services/trackbacks/170462.html闃呰鍏ㄦ枃

]]> - An internal error occurred during: "Launching New_configuration"http://m.shnenglu.com/life02/archive/2012/04/08/170456.htmllife02life02Sun, 08 Apr 2012 10:49:00 GMThttp://m.shnenglu.com/life02/archive/2012/04/08/170456.htmlhttp://m.shnenglu.com/life02/comments/170456.htmlhttp://m.shnenglu.com/life02/archive/2012/04/08/170456.html#Feedback1http://m.shnenglu.com/life02/comments/commentRss/170456.htmlhttp://m.shnenglu.com/life02/services/trackbacks/170456.html闃呰鍏ㄦ枃

]]>
久久99国产一区二区三区|
亚洲欧美精品一区久久中文字幕|
国内精品久久久久久99蜜桃|
久久精品水蜜桃av综合天堂|
91麻精品国产91久久久久|
色婷婷久久综合中文久久一本|
国产精品99久久久精品无码|
国产精品一区二区久久国产|
久久人人爽人人爽AV片|
99国产精品久久|
一本久久综合亚洲鲁鲁五月天|
精品久久久久久国产潘金莲|
无码人妻久久一区二区三区蜜桃|
91精品国产综合久久婷婷|
亚洲欧美成人久久综合中文网
|
久久99精品久久久久久水蜜桃|
久久久久亚洲国产|
久久AAAA片一区二区|
久久天堂电影网|
AV狠狠色丁香婷婷综合久久
|
一本久道久久综合狠狠爱|
久久国产成人午夜AV影院|
狠狠干狠狠久久|
久久夜色精品国产欧美乱|
无夜精品久久久久久|
久久99精品免费一区二区|
人人狠狠综合久久亚洲88|
久久99国产亚洲高清观看首页
|
精品乱码久久久久久久|
中文字幕精品久久|
亚洲精品97久久中文字幕无码|
久久久久亚洲AV综合波多野结衣|
日本免费一区二区久久人人澡
|
中文字幕久久精品|
亚洲日韩欧美一区久久久久我|
色综合久久中文字幕综合网|
久久久久无码中|
少妇熟女久久综合网色欲|
久久亚洲精品成人无码网站|
久久久久亚洲精品日久生情
|
日韩久久久久久中文人妻|