김밍고
13.08.24
조회 수 13299
추천 수 39
댓글 40


네.안녕하세요 김밍고입니다.

지금까지 맛클 강좌를 받아먹기만 해서 

죄송스러운 마음에 상단바 그라데이션을 유출시키려고 합니다


일단 systemUI를 디컴파일 해주시죠


그런다음 


SystemUI/res/layout/tw_stats_bar.xml에 들어가주세요


2번째 줄(갤투기준)에


<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"에서


android:background="@drawable/status_bar_background"를 android:background="@null"로 바꿔주세요





바꾼 구문입니다


<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@null" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"





그런다음 6번째 줄


     <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">    에서



 <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:background="@drawable/title_bar_shadow" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">



로 android:background="@drawable/title_bar_shadow"를 추가시켜 주세요



성공입니다! 이제 갤포의 상단바 그라데이션을 즐겨보시죠!!!


적용 화면





카카오스토리,삼성 앱스,트위터 등에서도

이렇게 상단바를 볼 수 있습니다!




P.S 추천이나 댓글이 많으면 다른것도 유출시켜 드리죠...얼마든지 있습니다...<퍽



Extra Form
첨부
Screenshot_2013-08-24-11-04-35.png  [File Size:36.0KB/Download:1]
Screenshot_2013-08-24-11-04-53.png  [File Size:105.8KB/Download:0]
댓글을 남겨야 다운로드가 가능합니다. 감사의 댓글을 달고 오른쪽 확인버튼을 눌러주세요.
다운로드시 일주일에 한개 이상의 게시물 작성이 필요합니다. 지금 자유게시판에 회원님의 하루를 남겨보세요.
추천♡버튼을 잊지 마세요. 추천인과 회원님 모두 포인트가 적립됩니다.
댓글 40
댓글 쓰기 권한이 없습니다.
강좌 정렬 목록 검색 쓰기
등록된 글이 없습니다.
1 -