[GUIDE] [HOW-TO] Full Statusbar Brightness Android 4.3
This will give back full brightness to 4.3 TW statusbar on ENTIRE statusbar (left and right notification areas).
SystemUI/res/statusbar.xml edit:
Search for two occurrences of alpha and delete that part of the statement out of both lines. Example:
Delete code highlighted in RED.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" [COLOR='RED']android:alpha="@dimen/notification_icon_area_alpha"[/COLOR]>
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" [COLOR='RED']android:alpha="@dimen/system_icon_area_alpha"[/COLOR]>
Edit: An alternate method requires editing the alpha values in res/values/dimens.xml. I took the easy way out on this one.
tdunham said:
[GUIDE] [HOW-TO] Full Statusbar Brightness Android 4.3
This will give back full brightness to 4.3 TW statusbar on ENTIRE statusbar (left and right notification areas).
SystemUI/res/statusbar.xml edit:
Search for two occurrences of alpha and delete that part of the statement out of both lines. Example:
Delete code highlighted in RED.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" [COLOR='RED']android:alpha="@dimen/notification_icon_area_alpha"[/COLOR]>
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" [COLOR='RED']android:alpha="@dimen/system_icon_area_alpha"[/COLOR]>
Click to expand...
Click to collapse
Excellent, never noticed how dim it was before. Curious, what's the name of the battery widget in the screen shot?
Ramer84015 said:
Excellent, never noticed how dim it was before. Curious, what's the name of the battery widget in the screen shot?
Click to expand...
Click to collapse
I can't recall. It is one of the several battery mods included with MOAR Rom.
Ramer84015 said:
Excellent, never noticed how dim it was before. Curious, what's the name of the battery widget in the screen shot?
Click to expand...
Click to collapse
It's battery monitor widget by 3c
Is the brightness that noticeable? It's difficult to tell the difference between the screenshots on my phone.
metalfan78 said:
Is the brightness that noticeable? It's difficult to tell the difference between the screenshots on my phone.
Click to expand...
Click to collapse
Nice observation.
Yes it is fairly noticeable but it's not easy to see from the mobile app. View the screenshots with a pc browser and toggle between them quickly and you will see how it brightens up the entire statusbar and the associated icons.
Wow, there is a difference. I can't decide if I like dim or bright though.
Related
Is there a way to have the "Startbar" "Deskbar" a shiny black hue, similar to using Base Hue/greyscale, but having it pre-coded in the respective "scheme.xml"?
I would guess it would require changing some of the below values or adding new ones, but all i can get thus far is a medium grey. :-(
<colorscheme><title>N15H_HUD</title>
<scheme>
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
<color name="COLOR_HOMERULE" value="#000000" />
<color name="COLOR_HIGHLIGHT" value="#0066CC" />
<color name="COLOR_TRAYGRADLEFT" value="#000000" />
</scheme>
</colorscheme>
prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
massinegro204 said:
prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
Click to expand...
Click to collapse
I'm not really sure what or how you're trying to do this, but if i'm following you right you could do something like this
Code:
<style name="AppTheme" parent="@android:style/Theme.Light">
<item name="windowBackground">@drawable/app_theme_background</item>
</style>
app_theme_background being your xml in drawable that defines the drawable/s
Here's the original xml from framework drawable (screen_background_selector_light.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_light" android:state_accelerated="false" />
<item android:drawable="@drawable/background_holo_light" />
</selector>
'screen_background_light' or whatever you wish to name it...being your alternative hex color in values/drawables (guessing that's for slower devices or something)
'background_holo_light' or whatever you wish to name it being your alternative background image.
[How-to] Maximum StatusBar Brightness 4.4.2
This guide is based on the KK 4.4.2 Galaxy S5 builds.
I noticed that Samsung always make the statusbar notification areas a bit dim. Probably to help with battery conservation.
This requires decompiling SystemUI.apk.
SystemUI/res/values/dimens.xml edit
Code:
Change these three lines
New values are in BLUE
<item type="dimen" name="status_bar_icon_drawing_alpha">[COLOR="Blue"]100.0%[/COLOR]</item>
<item type="dimen" name="system_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
<item type="dimen" name="notification_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
Note:
Screenshots are best viewed from a PC so you can rapidly swap images to see the difference.
Interesting, thanks sir.
Sent from my SM-G900P using Tapatalk
Add this code to your styles.xml in res>values (API 21+ only)
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light">
<!-- This controls status bar color -->
<item name="android:colorPrimaryDark">#B86E00</item>
<item name="android:colorAccent">#FF9800</item>
</style>
</resources>
Add the color you want the status bar to display in place of #B86E00.
Keep in mind that status bar looks better if it is a bit darker than your app theme.
I try to built a preference screen with a toolbar, but I got some issues:
- There is a word "main". How can I remove it?
- The status bar is white. I want it to look like my main screen (same theme). Somehow it does not apply the color
- The toolbar overlays the content. I tried a a layout_marginTop on the list view, but it does not change anything.
Here is the code of my activity_settings.xml:
Code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/colorPrimary"
app:navigationIcon="?attr/homeAsUpIndicator"
app:title="@string/action_settings"
android:theme="@style/ThemeOverlay.AppCompat.Dark" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize"/>
</LinearLayout>
This is the AndroidManifest entry:
Code:
<activity
android:name=".activities.SettingsActivity"
android:label="@string/activity_settings"
android:theme="@style/AppTheme.NoActionBar" />
Can anybody help me?
Why don't you link the manifest of the 2 activities to the same style theme?
--------------------------
I keep track of your replies with my android devices using the app "Tapatalk".
What do you mean? Can you please give me a short example? Thank you!
He wants both of the activity to have the same theme. You have to do it in the manifest. Also to remove main, you have to set android:label=""
To change the status bar color, change color for colorPrimaryDark in color.xml