mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Better status and navigation bar colors.
This commit is contained in:
parent
810afe8e7e
commit
2252dea0a1
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- TODO: AC These values should not be hardcoded here or use any "notnight" color resources.
|
||||
The light theme should be defined in the main "themes.xml" file. -->
|
||||
<style name="Theme.Session.DayNight">
|
||||
<item name="android:navigationBarColor">@color/gray65</item>
|
||||
<item name="android:statusBarColor">@color/accent</item>
|
||||
<item name="android:navigationBarColor">?android:navigationBarColor</item>
|
||||
<item name="android:statusBarColor">@color/transparent</item>
|
||||
<!-- <item name="android:statusBarColor">?colorAccent</item>-->
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
<item name="android:textColorHint">@color/gray50</item>
|
||||
|
||||
<item name="home_gradient_start">#00FFFFFF</item>
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
<style name="Theme.TextSecure.DayNight">
|
||||
|
||||
<item name="android:navigationBarColor">@color/gray78</item>
|
||||
<item name="android:navigationBarColor">?android:navigationBarColor</item>
|
||||
|
||||
<item name="theme_type">light</item>
|
||||
<!-- <item name="actionBarTabBarStyle">@style/TextSecure.LightActionBar.TabBar</item>-->
|
@ -88,7 +88,7 @@
|
||||
<item name="android:colorBackground">#121212</item>
|
||||
<item name="android:windowBackground">?android:colorBackground</item>
|
||||
<item name="android:navigationBarColor">?android:colorBackground</item>
|
||||
<item name="android:statusBarColor">?android:colorBackground</item>
|
||||
<item name="android:statusBarColor">?colorPrimary</item>
|
||||
</style>
|
||||
<style name="Theme.Session.ForceDark.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
|
@ -129,8 +129,6 @@ public class MediaSendFragment extends Fragment implements ViewTreeObserver.OnGl
|
||||
|
||||
@Override
|
||||
public @Nullable View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||||
// return ThemeUtil.getThemedInflater(requireActivity(), inflater, R.style.TextSecure_DarkTheme)
|
||||
// .inflate(R.layout.mediasend_fragment, container, false);
|
||||
return inflater.inflate(R.layout.mediasend_fragment, container, false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user