제가 시간날때마다 워드로 정리했던 팁들입니다. 유용하게 사용하시고
기종마다 소스가 다를 수 있습니다.
저는 옵티머스G, G PRO 기준에서 작성합니다.
힘내라고 추천좀... ㅎㅎ
1. framework-res.apk
ü 상단바 중앙의 "[수]" 이런 형식의 요일 추가 시키기
Ø framework-res.apk /res/value-ko, en-rUS/
<string name="twelve_hour_time_format">h:mm [E]</string> |
위의h:mm [E] 로 변경
l E 는 요일을 나타내는 것
2. LGSystemUI.apk
ü 시계 중앙 처리
Ø LGSystemUI.apk /res/layout/Status_bar.xml
Ø 해당 처리 한 후 기존에 있던 Clock 을 찾아서 한줄을 삭제 해야함.
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:layout_gravity="center" android:id="@id/clock" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:includeFontPadding="false" android:layout_weight="0.0" /> |
ü 시계 중앙일 때 알림글 겹치는 현상 해결
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:background="@drawable/stat_sys_indi_bg" |
위의<com.android.systemui.statusbar.phone.TickerView 구문을 찾아서
android:background="@drawable/stat_sys_indi_bg"이부분만 추가시킨다.
ü 추노 마크 제거
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" /> |