본문 바로가기

☆ 테마제작관련 ☆/테마제작강좌

갤럭시노트 젤리빈 퀵패널 따라하기 #1



갤럭시노트 젤리빈 퀵패널  / 갤럭시노트 젤리빈

안녕하세요 Azdesign입니다.

이번 시간에는 갤럭시노트 젤리빈 퀵패널 따라하기 방법에 대하여 포스팅 하도록 하겠습니다.


이번강좌는 갤럭시노트 젤리빈 따라하기 #1 입니다.

-국내 갤럭시노트 SKT ICS 4.01버젼 강좌입니다.-



퀵패널 열고 닫을 때 하단부에 젤리빈과같이

파란띠에 불으 들어오는 강좌입니다.


스샷을 찍을 수가 없어서 동영상으로 올립니다.

퀵패널을 열고 닫을 때 아래 부분을 봐주세요




 적용할 스샷과 동영상 부터 확인 해볼까요??












 SystemUI.apk



1. xml 수정 

1) SystemUI.apk\res\layout\tw_status_bar_tracking.xml [구문삽입 수정]

-아래 파란색 부분을 추가해 주세요 -

 <?xml version="1.0" encoding="utf-8"?>

<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/tw_quickpanel_bg_tile" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"

  xmlns:android="http://schemas.android.com/apk/res/android">

    <View android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />

    <com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">

        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">

            <com.android.systemui.statusbar.phone.CarrierLabel android:textSize="15.0dip" android:textStyle="bold" android:textColor="#ff33b5e5" android:layout_gravity="center" android:background="#00000000" android:layout_width="wrap_content" android:layout_height="20.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="8.669983dip" android:layout_marginBottom="10.0dip" android:layout_weight="1.0" />

           </LinearLayout>

        <ImageView android:layout_gravity="bottom" android:background="@drawable/notification_tracking_bg" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />

    </com.android.systemui.statusbar.phone.CloseDragHandle>

</com.android.systemui.statusbar.phone.TrackingView>




2) SystemUI.apk\res\drawable\status_bar_close.xml 신규로 제작하여 해당위치에 저장해주세요 

-메모장등 편집기를 이용해서 새로운 xml 화일을 만들어서 지정위치에 저장해주세요 -

 <?xml version="1.0" encoding="utf-8"?>

<selector

  xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />

    <item android:drawable="@drawable/status_bar_close_off" />

</selector>







3) SystemUI.apk\res\drawable-xhdpi 안에 이미지 교체 및 삽입

-첨부된 화일을 저장해서 해당위치에 저장해주세요 -





status_bar_close_off.9.png




status_bar_close_on.9.png









이상으로 갤럭시노트 젤리빈 퀵패널 따라하기 #1 방법에 대하여 포스팅을 마치도록 하겠습니다.