Dainty™
13.11.24
조회 수 5698
추천 수 10
댓글 14

안녕하세요. Dainty™입니다. 

 

이번 게시물은 갤투 디제스터롬의 퀵패널 헤더부분에 날짜색상을 변경하는 위치에 대해 알려드리겠습니다.

사실 퀵패널 헤더에 있는 날짜색상은  res-layout-tw_status_bar_expanded_header.xml에서

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="3.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />

빨간색 부분을 수정하시면 되는데요 디제스터는 저걸 수정해도 바뀌지 않더군요...

 

그래서 res-values-styles.xml에서

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
        <item name="android:textSize">12.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffffffff</item>
        <item name="android:textAllCaps">true</item>
    </style>

이 부분을 수정해봤지만 역시나 바뀌지 않았습니다.

 

그러던 중 제 눈에 values-sw320dp 이 폴더가 들어옵니다. 

혹시나 했던 저는 폴더를 열어봤더니 역시나 styles.xml한개가 더 있더군요...

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
        <item name="android:textSize">12.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffffffff</item>
        <item name="android:textAllCaps">true</item>
    </style>

심지어 위에 구문들밖에 없는....

 

저 빨간색 부분을 수정해서 컴파일하고 적용하니 밑에 사진처럼 적용됐네요.(설정버튼은 어디로 사라졌는가!!)


이 부분 수정하시려는 분들이 보여서 강좌를 써봤습니다.

디제스터 퀵패널 헤더 날짜색상수정은 res-values-sw320dp-styles.xml이라는것을 기억해주세요^^


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