EXODUS_Q™
14.09.10
조회 수 4282
추천 수 3
댓글 7

 


▽Original Thread 


http://forum.xda-developers.com/galaxy-s2/themes-apps/mod-t2744332


Thanks to:"Vivek_Neel"


 


 


》갤럭시S5스타일의 "리센트 패널" 꾸미는 방법입니다.


 


》작업에 필요한 파일은 SystemUI.apk입니다. 


 


》디컴파일/컴파일이 가능한 분들에게 해당됩니다.


 


 


 


〉STEP1:
Decompile your SystemUI.apk


〉STEP2:
Navigate to res/layout/system_bar_recent_item and open it with notepad++


#SystemUI.apk/res/layout/system_bar_recent_item.xml 을 열어 작업합니다.




〉STEP3:
#아래 구문을 먼저 찾으세요.(처음 도입부에 있습니다.)



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

 


And paste the below code


#위 구문 바로 밑에 아래 구문들을 추가하세요.



Code:
 
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>



〉STEP 4:

Navigate to res/layout-land/status_bar_recent_item and open it with notepad++


#이번엔 res/layout-land폴더에 있는 status_bar_recent_item.xml 작업입니다.(헷갈리지 마세요~^^)

Find:


#아래 구문을 찾아서...



Code:
android:id="@id/recent_item"

And place the below code after that


#찾은 구문 바로 밑에 아래 구문들을 추가하세요.



Code:
 <FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>

 



〉STEP5:
Navigate to res/layout-port/status_bar_recent_item and open it with notepad++


#이번엔, layout-port폴더에 있는 status_bar_recent_item.xml 입니다.



Find:


#마찬가지로 아래 구문을 찾아서...



Code:
android:id="@id/recent_item"

And place the below code after that


#찾은 구문 바로 밑에 아래 구문들을 추가하세요.



Code:
             <FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>



〉STEP6:
Time to create ids.
▽Navigate to res/values and open strings.xml
Paste the below lines


#res/values폴더의 string.xml을 열어 아래 구문 두개를 맨 밑에 추가하세요.



Code:
  <string name="recents_item_background_shadow">recent</string>
<string name="recents_item_background">no shadow</string>

 


▽Open ids.xml and paste the below lines


#이번엔 res/values폴더의 ids.xml을 열어 아래 구문을 맨 밑에 추가하세요.



Code:
 
<item type="id" name="recents_item_background_shadow" />
<item type="id" name="recents_item_background" />

▽Open dimens.xml and paste the below lines


#마지막으로 res/values폴더의 dimens.xml을 열어 아래 구문을 맨 밑에 추가하세요.



Code:
 <dimen name="tw_status_bar_recents_panel_bg_width">100.0dip</dimen>
<dimen name="tw_status_bar_recents_panel_bg_height">120.0dip</dimen>

 


 


〉Download the .9.png from the attachment and paste it into drawable-hdpi


#첨부된 나인패치 이미지파일을 다운로드하여 각자 폰의 해상도에 맞는 dpi폴더에 넣으세요.(노트1_xhdpi)


 


#여기서 잠깐~!!!


게시글에 첨부된 나인패치 이미지를


tw_recents.bg.9.png 이렇게 나인패치 이름으로 하고 컴파일했을때 컴파일 오류가 발생합니다.


(이 현상은 사용자의 작업환경에 따라 컴파일이 될수도 있겠지만....)


그래서, 저는 임의로 나인패치 이미지가 아닌 일반적인 png파일을 만들어


tw_recents.bg.png 이렇게 이름을 해서 넣고 컴파일을 완료했습니다.참고하시기 바랍니다.^^


 


〉Recompile and done.


#끝.



 



DOWNLOAD THE BELOW


#이 이미지 투척 작업은 여러분 각자의 판단과 능력(?)에 맡기겠습니다.^^



Code:
tw_recents_bg.9.png

thanks to @RRGrr


 


 


 


[실제 노트1에 적용한 스크린샷]





 
Extra Form
첨부
Screenshot_2014-09-09-00-46-39.png  [File Size:369.0KB/Download:0]
댓글을 남겨야 다운로드가 가능합니다. 감사의 댓글을 달고 오른쪽 확인버튼을 눌러주세요.
다운로드시 일주일에 한개 이상의 게시물 작성이 필요합니다. 지금 자유게시판에 회원님의 하루를 남겨보세요.
추천♡버튼을 잊지 마세요. 추천인과 회원님 모두 포인트가 적립됩니다.

EXODUS_Q™ 님의 SIGNATURE

profile
Just Do It.
댓글 7
  • ?
    외계어~ 싫어요~ㅠㅠ
  • profile
    왜그러세요~..ㅋ..외계(테마별)에서 오신분이~^^
  • ?
    리센트이거는 꼭 해넣고 싶네요..너무 좋아보여요.ㅎㅎ
  • ?
    커스텀롬에서도 되나연?
  • ?
    저거 나인패치 이미지는..혹시 컴파일후에..그냥 넣으면 안되나요? 압축파일 열어서. 이거도 연구해서 넣어봐야겠군요..예쁘당..ㅎㅎ 해보는데 컴파일시 계속 21 나인패치오류가 나네요..음 어떻게 성공하셨대요~아흑 . . 어찌어찌하다보니 성공은 한거같은ㄷㄴ데........ 이상야릇
  • ?
    그나저나 내용보니 나인패치 이미지명이 현재 tw_recents_app_bg.png 로 되어있는건가요? 하두 안되서 저거로 바꺼서 컴파일하니 컴파일이 되네요...저걸 다 나인패치 이름으로 바꾸어도 안되나요?tw_recents_app_bg.9.png로요... 지금 저 하늘색이 나인패치 이미지가 아니라 작게 나오는거 같은데...훔..알수가.. 덴티님 S2용 보니 옆으로 길게 쭉 이어지던던데 아무래도 나인패치가 아니라서일가요?
  • ?
    evan55
    14.11.06
    계속 찾고 있던건데~ 감사해요!!
댓글 쓰기 권한이 없습니다.
정렬 목록 검색 쓰기
등록된 글이 없습니다.
1 - 2