Customize home screen with ADHOC's curated apps.

This commit is contained in:
Nestor Kwak 2019-11-16 02:41:50 +00:00
parent da75d23918
commit d60cfebbb3
2 changed files with 87 additions and 116 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2019 ADHOC
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="calls">Calls</string>
<string name="browsers">Browsers</string>
</resources>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The CyanogenMod Project <!-- Copyright (C) 2019 ADHOC
(C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -15,138 +16,85 @@
--> -->
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
<!-- Far-left screen [0] --> <!-- Single screen [1] -->
<favorite
<!-- Left screen [1] --> launcher:packageName="com.simplemobiletools.gallery.pro"
launcher:className="com.simplemobiletools.gallery.pro.activities.SplashActivity.Orange"
<!-- Clock Widget --> launcher:screen="1"
<appwidget launcher:x="3"
launcher:packageName="com.cyanogenmod.lockclock" launcher:y="2" />
launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider"
launcher:screen="1"
launcher:x="0"
launcher:y="0"
launcher:spanX="4"
launcher:spanY="2" />
<favorite <favorite
launcher:packageName="com.android.contacts" launcher:packageName="com.android.contacts"
launcher:className="com.android.contacts.activities.PeopleActivity" launcher:className="com.android.contacts.activities.PeopleActivity"
launcher:screen="1" launcher:screen="1"
launcher:x="0"
launcher:y="3" />
<favorite
launcher:packageName="com.fsck.k9"
launcher:className="com.fsck.k9.activity.Accounts"
launcher:screen="1"
launcher:x="1" launcher:x="1"
launcher:y="3" /> launcher:y="3" />
<resolve <favorite
launcher:screen="1" launcher:packageName="com.android.calculator2"
launcher:x="2" launcher:className="com.android.calculator2.Calculator"
launcher:y="3" > launcher:screen="1"
<favorite launcher:x="2"
launcher:packageName="org.fdroid.fdroid" launcher:y="3" />
launcher:className="org.fdroid.fdroid.FDroid" />
</resolve>
<favorite <favorite
launcher:packageName="fil.libre.repwifiapp" launcher:packageName="com.android.camera"
launcher:className="fil.libre.repwifiapp.activities.MainActivity" launcher:className="com.android.camera.Camera"
launcher:screen="1" launcher:screen="1"
launcher:x="3" launcher:x="3"
launcher:y="3" /> launcher:y="3" />
<!-- Screen [2] -->
<appwidget
launcher:packageName="com.cyanogenmod.eleven"
launcher:className="com.cyanogenmod.eleven.appwidgets.AppWidgetLarge"
launcher:screen="2"
launcher:x="0"
launcher:y="0"
launcher:spanX="4"
launcher:spanY="2" />
<favorite
launcher:packageName="com.android.email"
launcher:className="com.android.email.activity.Welcome"
launcher:screen="2"
launcher:x="0"
launcher:y="3" />
<resolve
launcher:screen="2"
launcher:x="1"
launcher:y="3" >
<favorite
launcher:packageName="com.android.gallery"
launcher:className="com.android.camera.GalleryPicker" />
</resolve>
<favorite
launcher:packageName="com.cyanogenmod.eleven"
launcher:className="com.cyanogenmod.eleven.ui.activities.HomeActivity"
launcher:screen="2"
launcher:x="2"
launcher:y="3" />
<favorite
launcher:packageName="com.android.settings"
launcher:className="com.android.settings.Settings"
launcher:screen="2"
launcher:x="3"
launcher:y="3" />
<!-- Hotseat (We use the screen as the position of the item in the hotseat) --> <!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
<!-- Dialer, Messaging, [All Apps], Browser, Camera --> <folder
<resolve launcher:title="@string/calls"
launcher:container="-101" launcher:container="-101"
launcher:screen="0" launcher:screen="0"
launcher:x="0" launcher:x="0"
launcher:y="0" > launcher:y="0" >
<favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> <favorite
<favorite launcher:uri="tel:123" /> launcher:packageName="com.android.dialer"
<favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> launcher:className="com.android.dialer.DialtactsActivity" />
<favorite
launcher:packageName="org.linphone"
launcher:className="org.linphone.activities.LinphoneLauncherActivity" />
</folder>
<favorite <favorite
launcher:packageName="com.android.dialer" launcher:packageName="org.smssecure.smssecure"
launcher:className="com.android.dialer.DialtactsActivity" /> launcher:className="org.smssecure.smssecure.RoutingActivity"
<favorite launcher:container="-101"
launcher:packageName="com.android.contacts" launcher:screen="1"
launcher:className="com.android.contacts.activities.PeopleActivity" /> launcher:x="1"
</resolve> launcher:y="0" />
<resolve <favorite
launcher:container="-101" launcher:packageName="eu.siacs.conversations"
launcher:screen="1" launcher:className="eu.siacs.conversations.ui.ConversationActivity"
launcher:x="1" launcher:container="-101"
launcher:y="0" > launcher:screen="3"
<favorite launcher:x="2"
launcher:packageName="com.android.messaging" launcher:y="0" />
launcher:className="com.android.messaging.ui.conversationlist.ConversationListActivity" />
<favorite
launcher:packageName="com.android.email"
launcher:className="com.android.email.activity.Welcome" />
</resolve>
<resolve <folder
launcher:container="-101" launcher:title="@string/browsers"
launcher:screen="3" launcher:container="-101"
launcher:x="2" launcher:screen="4"
launcher:y="0" > launcher:x="4"
<favorite launcher:y="0" >
launcher:packageName="com.android.browser" <favorite
launcher:className="com.android.browser.BrowserActivity" /> launcher:packageName="com.stoutner.privacybrowser.standard"
<favorite launcher:className="com.stoutner.privacybrowser.activities.MainWebViewActivity" />
launcher:packageName="com.cyngn.browser" <favorite
launcher:className="com.android.browser.BrowserLauncher" /> launcher:packageName="org.torproject.torbrowser_alpha"
</resolve> launcher:className="org.torproject.torbrowser_alpha.App" />
</folder>
<resolve
launcher:container="-101"
launcher:screen="4"
launcher:x="4"
launcher:y="0" >
<favorite
launcher:packageName="com.android.camera"
launcher:className="com.android.camera.Camera" />
</resolve>
</favorites> </favorites>