안녕하세요.^^
처음으로 강좌을 올려봅니다.. ㅎㅎ
(만약 중복이거나 문제가 될시에 삭제하겠습니다.)
(이 강좌는 디컴파일, 컴파일 등 기본적인 지식을 알고계셔야 작업이 가능합니다.)
ps. 팁을 주신 SPAPA 님 / Blacky™ 님 / eprince1015 님 감사드립니다.
전 처음에 작업했을땐, 아이디을 새로 추가해서, 복잡하게 했는데... 파파님에게 여쭈어 보니까, 똑같은 방법이라서,
쉬운 방법을 설명해 드립니다.^^
우선 경로는 framework-res.apk/res/해당 폴더 (각 기기마다 다릅니다...)/keyguard_circlelock_clockwidget.xml입니다.
이 경로로 들어가 파일을 열으시면,
앞 문단에,
<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:orientation="vertical" android:id="@id/clock_root" android:paddingTop="35.0dip" android:paddingBottom="6.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android"> |
이렇게 보이실 텐데요...
그 아래줄에,
|
추가 해주시면 됩니다.~~ (marginLeft / Top, text size 는 직접 알맞게 수정해주세요~~) 제 폰 같은 경우는,
이 상태가 딱 맞드라구요~~ ㅎㅎ
그러면 아래 처럼 이렇게 되겠죠??
<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:orientation="vertical" android:id="@id/clock_root" android:paddingTop="35.0dip" android:paddingBottom="6.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" <TextView android:textSize="50.0dip" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="left" android:id="@id/circle_owner_info" android:paddingTop="35.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:singleLine="true" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.5" /> |
그럼 짠~~
충전 하실때도,
이렇게 수정이 됩니다.
성공하시면, 추천버튼 꾹~ 눌러주시는 센스 부탁드려욧~~ ㅎㅎ