- 论坛徽章:
- 20
|
回复 1# yelang5460 - sed -nr '/<[^>]+$/{h;:a;n;H;/>/!ba;g;s/(\n)+ */ /gp;d};/^ *$/!p' file
复制代码- <?xml version="1.0" encoding="utf-8"?>
- <!-- Copyright (C) 2009 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->
- <favorites xmlns:launcher="//schemas.android.com/apk/res/com.sec.android.app.launcher">
- <home>
- <!-- Left screen [1] -->
- <appwidget launcher:packageName="com.sec.android.widgetapp.digitalclock" launcher:className="com.sec.android.widgetapp.digitalclock.DigitalClockWidgetProvider" launcher:screen="1" launcher:x="0" launcher:y="0" launcher:spanX="4" launcher:spanY="1" />
- <search launcher:screen="1" launcher:x="0" launcher:y="2" />
- <favorite launcher:packageName="com.android.email" launcher:className="com.android.email.activity.Welcome" launcher:screen="1" launcher:x="0" launcher:y="3" />
- <favorite launcher:packageName="com.sec.android.app.camera" launcher:className="com.sec.android.app.camera.Camera" launcher:screen="1" launcher:x="1" launcher:y="3" />
- <favorite launcher:packageName="com.sec.android.app.samsungapps" launcher:className="com.sec.android.app.samsungapps.Main" launcher:screen="1" launcher:x="2" launcher:y="3" />
- <favorite launcher:packageName="com.sec.chaton" launcher:className="com.sec.chaton.HomeActivity" launcher:screen="1" launcher:x="3" launcher:y="3" />
- </home>
- <!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
- <hotseat>
- <favorite launcher:packageName="com.android.contacts" launcher:className="com.android.contacts.activities.DialtactsActivity" launcher:screen="0" />
- <favorite launcher:packageName="com.android.contacts" launcher:className="com.android.contacts.activities.PeopleActivity" launcher:screen="1" />
- <favorite launcher:packageName="com.android.mms" launcher:className="com.android.mms.ui.ConversationComposer" launcher:screen="2" />
- <favorite launcher:packageName="com.android.browser" launcher:className="com.android.browser.BrowserActivity" launcher:screen="3" />
- </hotseat>
- </favorites>
复制代码 |
|