search 登录 注册
arrow_back返回列表
ID:91830
light_modestarstar
Lv.1 韶华一笑间
edit_note帖子 49
stars积分 8,382
event加入 2012-01-16
美化修改

[教程]修改安卓短信界面透明方法

schedule发表于 2012-12-11 15:34:00 visibility查看 6,619 chat_bubble回复 539
#1 楼主
先从原ROM里提取出未编译过的
mms.apk
一、反编译Mms.apk
二、路径res/drawable/conversation_
item_background_read.xml 打开,
找到
<item android:state_*ed=“false“
android:drawable=“@color/read_
bgcolor“ />
修改为:
<item android:state_*ed=“false“
android:drawable=“@android:color/
transparent“ />
保存,退出!!!
三、路径res/drawable/conversation_
item_background_unread.xml 打
开,
找到
<item android:state_*ed=“false“
android:drawable=“@color/unread_
bgcolor“ />
修改为:
<item android:state_*ed=“false“
android:drawable=“@android:color/
transparent“ />
保存,退出
四、路径res/layout/compose_
message_activity.xml 打开,
找到
<EditText android:textSize=“16.0sp“
android:textColorHint=“#ff858585“
android:id=“@id/subject“
android:visibility=“gone“
android:layout_width=“fill_parent“
android:layout_height=“wrap_
content“ android:layout_
marginLeft=“3.2999878dip“
android:layout_
marginTop=“5.299988dip“
android:layout_
marginRight=“3.2999878dip“
android:hint=“@string/subject_hint“
android:singleLine=“true“
android:maxLength=“40“
android:capitalize=“sentences“
android:autoText=“true“ />
修改里面
android:textColorHint=“#ff858585“
为:
android:textColorHint=“#00000000“
再找到:
<EditText android:textSize=“18.0sp“
android:textColor=“@
touchwiz:color/tw_color002“
android:textColorHint=“#ff858585“
android:gravity=“top“ android:id=“@
id/embedded_text_editor“
android:background=“#ffffffff“
android:nextFocusRight=“@id/send_
button“ android:layout_
width=“wrap_content“
android:layout_height=“fill_parent“
android:layout_marginLeft=“10.0dip“
android:layout_marginTop=“12.0dip“
android:hint=“@string/type_to_
compose_text_enter_to_send“
android:capitalize=“sentences“
android:autoText=“true“
android:layout_toLeftOf=“@id/
sendbuttons“ android:layout_
alignParentLeft=“true“
android:inputType=“
textCapSentences|textAutoCorrect|
textMultiLine“
android:imeOptions=“actionSend|
flagNoEnterAction“ />
修改里面两段代码:
android:textColorHint=“#ff858585“
修改为
android:textColorHint=“#00000000“

全部回复 (539)

ID:61233
light_modestar
Lv.4 莫问四书意
2012-12-21 06:20:00 #22
这帖不错,该顶!
ID:121650
light_mode
Lv.1 韶华一笑间
2012-12-31 09:30:00 #23
看帖回帖是美德!
ID:114712
dark_modedark_modedark_modestarstar
Lv.1 韶华一笑间
2013-01-05 14:38:00 #24
这帖不错,该顶!
ID:114712
dark_modedark_modedark_modestarstar
Lv.1 韶华一笑间
2013-01-05 14:38:00 #25
这帖不错,该顶!
ID:31210
light_modestar
Lv.1 韶华一笑间
2013-01-28 22:09:00 #26
好帖,要顶!
ID:59815
dark_modedark_modedark_modestarstar
Lv.1 韶华一笑间
2013-01-29 16:24:00 #27
这帖不错,该顶!
ID:122016
dark_modedark_mode
Lv.1 韶华一笑间
2013-01-29 21:32:00 #28
你牛,我顶!哈哈
ID:61375
light_modestarstar
Lv.2 独赏二月雪
2013-01-31 14:12:00 #29
好帖,要顶!
ID:77381
light_modestarstar
Lv.1 韶华一笑间
2013-02-16 06:19:00 #30
看帖回帖是美德!
ID:46619
light_modestarstarstar
Lv.1 韶华一笑间
2013-02-20 08:29:00 #31
看帖回帖是美德!
ID:111363
dark_modedark_modedark_mode
Lv.1 韶华一笑间
2013-02-28 15:02:00 #32
好帖,要顶!
ID:127126
dark_modedark_modedark_modestarstarstar
Lv.1 韶华一笑间
2013-03-06 09:59:00 #33
好帖,要顶!
ID:98594
light_modestarstarstar
Lv.1 韶华一笑间
2013-03-06 10:31:00 #34
支持你!
ID:90518
light_modestarstarstar
Lv.1 韶华一笑间
2013-03-08 11:45:00 #35
支持你!
ID:90518
light_modestarstarstar
Lv.1 韶华一笑间
2013-03-08 11:45:00 #36
支持你! 呵呵
ID:123905
light_mode
Lv.1 韶华一笑间
2013-03-14 07:42:00 #37
你牛,我顶!
ID:133874
dark_modedark_mode
Lv.1 韶华一笑间
2013-03-21 08:13:00 #38
支持你!
ID:110562
light_modestarstar
Lv.1 韶华一笑间
2013-03-21 23:09:00 #39
支持你!
ID:73871
light_modestarstar
Lv.2 独赏二月雪
2013-04-01 11:02:00 #40
你牛,我顶!
ID:18036
light_modedark_mode
Lv.4 莫问四书意
2013-04-01 20:27:00 #41
支持你!
登录 后才能回复