Status Bar 색상 지정
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
</style>
</resources>
Status Bar 투명처리
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>
'Programs > Android' 카테고리의 다른 글
Tips - windowTranslucentStatus 설정 후 adjustResize 안될 때 (1) | 2015.08.05 |
---|---|
안드로이드 RecyclerView (1) | 2015.07.08 |
Material Design 적용 및 AppCompatActivity 적용하기 (0) | 2015.07.07 |
ANDROID DP/PX CONVERTER (0) | 2014.08.28 |
안드로이드 Resource 확장 적용 순서 (0) | 2014.08.26 |