How to Configure Home Settings in poshomesettings.xml: Difference between revisions
Line 4: | Line 4: | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<desktop | <desktop | ||
// UI style, clarity / metro / android, Q2 only support metro. | // UI style, clarity / metro / android, Q2 and Q3 only support metro. | ||
style="android" | style="android" | ||
// Whether exist favorite bar, true: exist. | // Whether exist favorite bar, true: exist. | ||
favoriteBar="false" | favoriteBar="false" | ||
// | // Q2 and Q3 not support | ||
pageStatus="down" | pageStatus="down" | ||
// | // page indicator color | ||
indicatorColor="FF3030" | indicatorColor="FF3030" | ||
// | // whether set icon item background color | ||
itemBackground="true" | itemBackground="true" | ||
// title location, left/center/right, only for Q2 and Q3 | |||
titleGravity="left" | |||
// only for Q2 and Q3 | |||
title="WizarPOS" | |||
// When update, the version and versionCode should larger than the one in the system. | // When update, the version and versionCode should larger than the one in the system. | ||
version="1.0.0" | version="1.0.0" | ||
Line 28: | Line 32: | ||
// Some special application you want to define | // Some special application you want to define | ||
<application | <application | ||
// icon item background color | |||
backgroundColor="20A2DE" | backgroundColor="20A2DE" | ||
// app class name | |||
class="com.test.allApp15.AllAppList1" | class="com.test.allApp15.AllAppList1" | ||
// at which column | |||
col="1" | col="1" | ||
// app package name | |||
package="com.test.allApp15" | package="com.test.allApp15" | ||
// at which page | |||
page="3" | page="3" | ||
row="1" /> | // at which row | ||
row="1" | |||
// span columns | |||
columnSpan="2" (default is 1) | |||
// app or clock, default is app | |||
type="app" /> | |||
<application | <application | ||
backgroundColor="596892" | backgroundColor="596892" | ||
Line 60: | Line 74: | ||
// Define favorite bar. | // Define favorite bar. | ||
<favoritebar | <favoritebar | ||
// how many columns | |||
cols="3" | cols="3" | ||
// whether transparent | |||
hideBackground="false" > | hideBackground="false" > | ||
<application | <application | ||
// app class name | |||
class="com.example.testEditText.FirstActivity" | class="com.example.testEditText.FirstActivity" | ||
// at which column | |||
col="3" | col="3" | ||
// app package name | |||
package="com.example.testEditText" /> | package="com.example.testEditText" /> | ||
<application | <application | ||
Line 77: | Line 96: | ||
// Define hidden application. | // Define hidden application. | ||
<hiddenapplications > | <hiddenapplications > | ||
<application class="com. | <application | ||
// package name, if only config package name, all the entrance of this package will be hide, if only one entrance, just config package name | |||
package="com.sohu.inputmethod.sogou" | |||
// class name | |||
class="com.sohu.inputmethod.sogou.SogouIMELauncher"/> | |||
<hiddenapplications /> | <hiddenapplications /> | ||
</desktop> | </desktop> |
Revision as of 08:50, 29 July 2019
Through by poshomesettings.xml, you can config some home settings.
poshomesettings.xml file description
<?xml version="1.0" encoding="utf-8"?>
<desktop
// UI style, clarity / metro / android, Q2 and Q3 only support metro.
style="android"
// Whether exist favorite bar, true: exist.
favoriteBar="false"
// Q2 and Q3 not support
pageStatus="down"
// page indicator color
indicatorColor="FF3030"
// whether set icon item background color
itemBackground="true"
// title location, left/center/right, only for Q2 and Q3
titleGravity="left"
// only for Q2 and Q3
title="WizarPOS"
// When update, the version and versionCode should larger than the one in the system.
version="1.0.0"
versionCode="11" >
// Application config
<applications
// How many cols display in one page
cols="3"
iconheight="144"
iconwidth="144"
// How many rows display in one page
rows="5" >
// Some special application you want to define
<application
// icon item background color
backgroundColor="20A2DE"
// app class name
class="com.test.allApp15.AllAppList1"
// at which column
col="1"
// app package name
package="com.test.allApp15"
// at which page
page="3"
// at which row
row="1"
// span columns
columnSpan="2" (default is 1)
// app or clock, default is app
type="app" />
<application
backgroundColor="596892"
class=""
col="2"
package="com.UCMobile"
page="1"
row="1" />
<application
backgroundColor="20A2DE"
class="com.android.stk"
col="1"
package="com.android.stk.StkLauncherActivity"
page="1"
row="1" />
<application
backgroundColor="20A2DE"
class="com.android.stk"
col="1"
package="com.android.stk.StkMenuActivity"
page="1"
row="2" />
</applications>
// Define favorite bar.
<favoritebar
// how many columns
cols="3"
// whether transparent
hideBackground="false" >
<application
// app class name
class="com.example.testEditText.FirstActivity"
// at which column
col="3"
// app package name
package="com.example.testEditText" />
<application
class=""
col="2"
package="cn.kuwo.player" />
<application
class="com.example.realfullscreensample.MainActivity"
col="1"
package="com.example.realfullscreensample" />
</favoritebar>
// Define hidden application.
<hiddenapplications >
<application
// package name, if only config package name, all the entrance of this package will be hide, if only one entrance, just config package name
package="com.sohu.inputmethod.sogou"
// class name
class="com.sohu.inputmethod.sogou.SogouIMELauncher"/>
<hiddenapplications />
</desktop>
update process
Create the folder:
1) \wizarpos\homesettings\homesettings_XXX\, XXX default is wizarpos, please check the kernel version, it includes splash=XXX, this values is same with the splash value.
2) Or \cloudpos\, this is only supported in PosSysAssistant app version > 2.11.8
Copy the poshomesettings.xml to this folder, then update, the process is like install APK or update firmware.