小米note怎么样mote繁体中文介面

小米3 突然死机了 出现简体中文 繁体中文 英文 就不会开机,怎么办_百度知道
小米3 突然死机了 出现简体中文 繁体中文 英文 就不会开机,怎么办
我有更好的答案
嗨!长按电源键强制重启一下。
那是进入re状态了。参照里的教程,线刷一次
打电话问客服吧
或音量上+开机键
不可以选择吗?
其他类似问题
为您推荐:
繁体中文的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁小米2s怎样把系统语言弄成其它语言,现在只有英语,繁体中文和简体中文_百度知道
小米2s怎样把系统语言弄成其它语言,现在只有英语,繁体中文和简体中文
提问者采纳
是的,默认只有这些语言的。
我想弄比如德文日文那些
这个目前是不可以的。
提问者评价
太给力了,你的回答完美地解决了我的问题,非常感谢!
已回答987519
响应时间&7小时
其他类似问题
为您推荐:
繁体中文的相关知识
其他1条回答
设置,语言和输入法设置,去切换,请采纳
你逗我?我问的是弄出了这三个意外的语言,
下个语言包就可以了
系统语言切换软件就可以解决
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁小米主题制作
&多屏幕锁屏也是基于百变锁屏的框架,使用到新的功能:变量赋值命令,变量动画,还有动画播放控制,代码如下:
&!-- 定义三屏幕变量 --&
&Var name="clock_style" expression="0" const="true"/&
&Var name="current_screen" expression="ifelse(eq(#clock_style,0),1,2)" const="true"/&
&Var name="screenview_x" expression="0" const="true"/&
&Var name="screenview_y" expression="0" const="true"/&
&Var name="screenview_w" expression="720" const="true" /&
&Var name="screenview_h" expression="900" const="true" /&
&Var name="screenview_count" expression="3" const="true" /&
&!--判断触摸点是否在上端屏幕--&
&Var name="touch_in_area" expression="ge(#touch_x,0)*le(#touch_x,#screen_width)*ge(#touch_y,#screenview_y)*le(#touch_y,#screenview_y+#screenview_h)" /&
&!--终点离开始点的位置--&
&Var name="gesture_offset" expression="ifelse(#touch_in_area,#touch_x-#touch_begin_x,0)" /&
&Var name="music_info_display"
expression="#music_state" const="true"/&
&!--动画播放控制--&
&Button x="#screenview_x" y="#screenview_y" w="#screen_width" h="#screenview_h"&
&Triggers&
&Trigger action="up"&
&VariableCommand name="gesture_valid" expression="ge(abs(#gesture_offset),80)" /&
&VariableCommand name="ani_begin_x_add" expression="ifelse(lt(#current_screen,#screenview_count-1),#gesture_offset+#screenview_w,#gesture_offset)"/&
&VariableCommand name="ani_begin_x_dec" expression="ifelse(gt(#current_screen,0),#gesture_offset-#screenview_w,#gesture_offset)"/&
&VariableCommand name="ani_begin_x" expression="ifelse(#gesture_valid,ifelse(#gesture_offset,#ani_begin_x_dec,#ani_begin_x_add),#gesture_offset)" /&
&VariableCommand name="current_screen_add" expression="ifelse(lt(#current_screen,#screenview_count-1),#current_screen+1,#current_screen)"/&
&VariableCommand name="current_screen_dec" expression="ifelse(gt(#current_screen,0),#current_screen-1,#current_screen)"/&
&VariableCommand name="current_screen" expression="ifelse(#gesture_valid,ifelse(#gesture_offset,#current_screen_dec,#current_screen_add),#current_screen)"/&
&VariableCommand name="touch_x" expression="#touch_begin_x"/&
&Command target="ani_offset_x.animation" value="play"/&
&/Trigger&
&/Triggers&
&!--变量动画--&
&Var name="ani_offset_x"&
&VariableAnimation&
&AniFrame value="#ani_begin_x" time="0"/&
&AniFrame value="0" time="50"/&
&AniFrame value="0" time="000"/&
&/VariableAnimation&
&Var name="screenview_offset" expression="#gesture_offset+#ani_offset_x" /&
& &然后就是在各个屏幕中添加各自要显示的元素了,和百变锁屏一样。
&VirtualScreen name="screenview" w="#screenview_w" h="#screenview_h"&
&Wallpaper/&
&!-- screen 0 在这里添加第一个界面中的元素,添加新界面需要修改x 和visibility --& &Group x="-#current_screen*#screenview_w+#screenview_offset" visibility="eq(#current_screen,0)+#current_screen*#screenview_offset"&
&Time x="#screenview_w/2" y="0" align="center" src="time1/lock_screen_bar_time.png"/&
&DateTime x="#screenview_w/2" y="100" align="center" color="#AAEEEEEE" size="24" format="EEEE NNNN"/&
百变闹钟和百变锁屏一样都是用MAML框架,所以只要你会锁屏代码,你就能写出一个惊天动地的闹钟,像锁屏一样。
一.搭建基本框架。
在主题包中建立alarmscreen文件夹,里面包含 strings文件夹,manifest.xml文档和图片。
1.strings目录其实就是语言包,就好像能够像apk一样内置多国语言。如果你的主题里的Text只是想显示中文,那string目录可以不用写,如果还要显示其他国家的语言,那就在string目录下写好那个国家的语言,strings.xml是默认语言,一般是英文,
&string name="slider_text" value="slide right to close" /&
&string name="snooze_message" value="Snooze for %d min." /&
&/strings&
strings_zh_CN.xml为简体中文,strings_zh_TW.xml台湾繁体中文,strings_zh_HK.xml香港繁体中文,还有别的国家的语言包,比如英国的是strings_en.xml 。&
strings_zh_CN.xml为:
&string name="slider_text" value="向右滑动关闭闹钟" /&
&string name="snooze_message" value="%d分钟后再响" /&
&/strings&
自由桌面以com.miui.home.freestyle 为名。
一.搭建基本框架:
在com.miui.home.freestyle内,包含三个文件夹和一个description.xml文件,如下(截图)
skins文件夹主要存放自由部件;stage_images存放场景图;tools存放小工具(比如音乐插件);description.xml(描述文件,对自由桌面的宽高、类型的定义)。
stage_images背景图:首先要确定自由桌面的宽度,例如:要做3屏的自由桌面,则要选择2160宽度的图作为壁纸。壁纸将存放于stage_images目录下。
tools制作的小工具将放在此目录内(制作说明看最后)。
description.xml文件配置:将以下代码复制到description.xml内保存即可。
&?xml version='1.0' encoding='utf-8' standalone='yes' ?&
&scene name="我的制作" width="720" &
&screen type="drift"/&
&screen type="background"
width="2160" home="0"/&
&screen type="foreground"
width="2160" home="0"/&
&screen type="dock"
width="2160" home="0"/&
至此,一个简单的自由桌面已经完成了一半,剩下的一半将在主题编辑器内完成。用主题编辑器将此主题打开,点击&自由桌面编辑器&模块,进入编辑自由桌面。
一.锁屏界面设置快捷应用
每个主题都可以带一个配置描述xml文件,该文件描述了可以个性化配置的项目。文件名:config.xml 和manifest.xml 放在同一个目录下。可以设置程序快捷方式。
1.config.xml 文件格式:
&Config&&&
& & // 设置组&&text 设置组名称
&Group text="日期时间"&&&
// 设置项目&
//text:设置项名称,显示在设置界面中的文本
//summary:设置项详细说明&
//id:设置项对应的变量名称&
//default:缺省值
设置项目会把设置值绑定到百变锁屏的变量中,在manifest.xml中可以引用这些设置变量
& && &&&&CheckBox text="" summary="" id="show_date" default="1"/&
// 文字输入
& && &&&&StringInput text="" summary="" id="date_format" default="k:mm"/&
// 文字选择
& && &&&&StringChoice text="" summary="" customizable="true" id="time_format"&
//文字选择项目 value变量值 text界面显示文字
& && && && &&Item value="hh:mm" text="12小时"/&
& && && && &&Item value="kk:mm" text="24小时"/&
& && &&&&/StringChoice&
//数字选择
& && &&&&NumberChoice text="" summary="" id=""&
//数字选择项目 value数值 text界面显示文字
& && && && &&Item value="0" text="模式1"/&
& && && && &&Item value="1" text="模式2"/&
& && &&&&/NumberChoice&
& && &&&//数字输入
&NumberInput text="" summary="" id="" default=""/&
// 选择快捷方式& &id: 对应 EndPoint 中Intent的id,表示设置相同id的intent 快捷方式
&AppPicker text="" id=""/&
&2.manifest.xml&&代码片段
引入一个新的元素&Var& 该元素不是可显示的界面元素,只用做中间变量简化表达式name变量名 expression对应的表达式 type=&string& 或&number& 对应字符串变量或数值变量&const="true"变量值只会在初始化时计算一次,以后不会更新&&="false"会不断重新计算。如果表达式引用到的变量在初始化后不会变化,请使用const=true,提高效率。
下面以支持个性化设置的MIUI默认锁屏为例:
1.config.xml 文件
&Group text="日期时间"&
&CheckBox text="显示日期" id="show_date" default="1"/&
&StringInput text="日期格式" summary="" id="date_format" default="yyyy年M月d日 EEEE"/&
&NumberInput text="日期文字大小" id="text_size_date" default="14"/&
&NumberInput text="日期垂直位置" id="date_position_y" default="0"/&
&Group text="快捷方式"&
&AppPicker text="左边快捷方式" id="left_task"/&
&AppPicker text="右边快捷方式" id="right_task"/&
& 2.manifest.xml文件
&Var name="show_date" expression="ifelse(isnull(#show_date),1,#show_date)" type="number" const="true"/&
&Var name="text_size_date" expression="ifelse(isnull(#text_size_date),18,#text_size_date)" type="number" const="true"/&
&Var name="date_format" expression="ifelse(isnull(@date_format),'MMMMd日 EEEE', @date_format)" type="string" const="true"/&
&DateTime visibility="#show_date" x="#screen_width/2" y="#screen_height-260+49+#time_panel.actual_h+#unlocker.move_y+#date_position_y" align="center" color="#AAEEEEEE" size="#text_size_date" format="@date_format"/&
// 选择程序快捷方式
&Unlocker name="unlocker" bounceInitSpeed="1000"&
&StartPoint x="0" y="#screen_height-275" w="#screen_width/4" h="120"&
&/StartPoint&
&EndPoint x="0" y="#screen_height-150" w="#screen_width/4" h="300"&
&Intent id="left_task" action="android.intent.action.VIEW" type="vnd.android.cursor.dir/calls"/&
&/EndPoint&
&/Unlocker&
&Unlocker name="unlocker" bounceInitSpeed="1000"&
&StartPoint x="#screen_width*3/4" y="#screen_height-275" w="#screen_width/4" h="120"&
&/StartPoint&
&EndPoint x="#screen_width*3/4" y="#screen_height-150" w="#screen_width/4" h="300"&
&Intent id="right_task" action="android.intent.action.MAIN" type="vnd.android-dir/mms-sms" category="android.intent.category.DEFAULT"/&
&/EndPoint&
&/Unlocker&
3.自定义快捷APP
&Image x="#lockscreen2.actual_x+105" y="300" align="center" alignV="center" w="100" h="100" srcType="ApplicationIcon" srcExp="ifelse(isnull(@task1.package)+eqs(@task1.package,''),'com.android.contacts,com.android.contacts.activities.TwelveKeyDialer',@task1.package+','+@task1.class)"/&
&Unlocker name="task1" alwaysShow="true" &
&StartPoint x="#lockscreen2.actual_x+105" y="300" align="center" alignV="center" w="100" h="100"/&
&EndPoint x="#lockscreen2.actual_x+105" y="300" align="center" alignV="center" w="100" h="100"&
&Intent id="task1" action="android.intent.action.VIEW" type="vnd.android.cursor.dir/calls"/&
&/EndPoint&
&/Unlocker&
&Image x="#lockscreen2.actual_x+95" y="410" align="center" alignV="center" w="100" h="100" srcType="ApplicationIcon" srcExp="ifelse(isnull(@task2.package)+eqs(@task2.package,''),'com.android.mms,com.android.mms.ui.ConversationList',@task2.package+','+@task2.class)"/&
&Unlocker name="task2" alwaysShow="true" &
&StartPoint
x="#lockscreen2.actual_x+95" y="410" align="center" alignV="center" w="100" h="100"/&
&EndPoint x="#lockscreen2.actual_x+95" y="410" align="center" alignV="center" w="100" h="100"&
&Intent id="task2" action="android.intent.action.MAIN" type="vnd.android-dir/mms-sms" category="android.intent.category.DEFAULT"/&
&/EndPoint&
&/Unlocker&
二.自定义锁屏快捷入口
我们的锁屏为了能让用户个性化定制自己想要的部分,我们往往会在锁屏中加入一系列自定义选项,但是这个功能隐藏的太深,可能不容易被发现,所以我们可以加入一个快捷的方法(从锁屏直接进入这里),代码如下:
&Button x="0" y="0" w="720" h="1280" &
&Triggers&
&Trigger action="double"&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="miui.maml.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&Intent action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.LockscreenConfigSettings"/&
&ExternCommand command="unlock"/&
&/Trigger&
&/Triggers&
一.自定义锁屏文字
&1.config.xml 文件
&Group text="自定义锁屏文字" &
&StringInput text="第一行" summary="默认值:" id="word_1" default="" /&
&StringInput text="第二行" summary="默认值:" id="word_2" default="" /&
&StringInput text="第三行" summary="默认值:" id="word_3" default=" " /&
&StringInput text="第四行" summary="默认值:" id="word_4" default="" /&
2.manifest.xml 文件
&Var name="char" expression="'自定义句子'" type="string"/&
&Group name="wordtext" x="180" y="250"
visibility="eq(#music_control.visibility,0)" &
&Text x="0" y="0" color="#ff000000"
textExp="ifelse(isnull(@word_1),'自定义句子1',@word_1)" /&
&Text x="0" y="70" color="#ff000000"
textExp="ifelse(isnull(@word_2),'自定义句子2',@word_2)" /&
&Text x="0" y="140" color="#ff000000"
textExp="ifelse(isnull(@word_3),'自定义句子2',@word_3)" /&
3.双击屏幕某个区域,可以自定义文字
&Group name="settings"&
&Button x="#screen_width/2+50" y="#screen_height-390" w="600" h="600" &
&Triggers&
&Trigger action="double"&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="miui.maml.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&Intent action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.LockscreenConfigSettings"/&
&ExternCommand command="unlock"/&
&/Trigger&
&/Triggers&
二. 锁屏自定义壁纸
1.config.xml 文件
&Group text="锁屏自选"&
&StringChoice text="XX壁纸" summary="XX壁纸" customizable="true" id="color_xw" default="1"&
&Item value="1" text="壁纸1"/&
&Item value="2" text="壁纸2"/&
&Item value="3" text="壁纸3"/&
&Item value="4" text="壁纸4"/&
&Item value="5" text="壁纸5"/&
&Item value="6" text="壁纸6"/&
&/StringChoice&
2.manifest.xml 文件
&!-- 自定义锁屏壁纸--&
&Image name="bian" x="0+ #bg_move_x" y="#screen_height-1280+ #bg_move_y" srcExp="@color_xw+'.png'"
在lockscreen\advance目录里面放入六张图片,分别命名为1.png,2.png,3.png,4.png,5.png,6.png
3.双击壁纸某个区域,可以自定义文字
&Button x="520" y="1080" w="300" h="300" &
&!-- 壁纸 --&
&Image src="set_n.png" x="520" y ="1080"/&
&Image src="set_p.png" x="520" y ="1080"/&
&/Pressed&
&Triggers&
&Trigger action="up"&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&IntentCommand action="android.intent.action.MAIN" package="com.android.thememanager" class="miui.maml.MamlConfigSettings"&
&Extra name="maml_code" type="string" expression="'lockstyle'"/&
&/IntentCommand&
&Intent action="android.intent.action.MAIN" package="com.android.thememanager" class="com.android.thememanager.view.LockscreenConfigSettings"/&
&ExternCommand command="unlock" delay="500"/&
&SoundCommand sound="yinxiao/paper.wav" volume="1" loop="false" keepCur="true" condition="not(#music_control.music_state)*#lanxing_lock3"/&
&/Trigger&
&/Triggers&
& Wallpaper元素引用系统设置的壁纸,除了不能指定图片源外其他和Image元素相同,可以有动画和其他属性控制。如果没有此元素则不显示壁纸。可以有多个。
&Wallpaper /&
&Image x="0" y="#screen_height-1280 + 1073" src="normal_bg.png"/&
&Image x="#unlock_move-47" y="0" h="#screen_height" src="shadow_left.png" visibility="#unlocker.state"/&
&Image x="0" y="0" srcExp="'bg/bg_'+@color_xw+'.jpg'" /&}

我要回帖

更多关于 小米note顶配版 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信