Remove xml themes
This commit is contained in:
parent
c53f304c03
commit
06f5f18b65
|
@ -26,7 +26,6 @@
|
||||||
android:networkSecurityConfig="@xml/network_security_config">
|
android:networkSecurityConfig="@xml/network_security_config">
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.StartActivity"
|
android:name=".activities.StartActivity"
|
||||||
android:theme="@style/Theme.NextPush.NoActionBar"
|
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
||||||
<!-- Base application theme. -->
|
|
||||||
<style name="Theme.NextPush" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
|
||||||
<!-- Primary brand color. -->
|
|
||||||
<item name="colorPrimary">@color/nextcloud</item>
|
|
||||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
|
||||||
<item name="colorOnPrimary">@color/black</item>
|
|
||||||
<!-- Secondary brand color. -->
|
|
||||||
<item name="colorSecondary">@color/teal_200</item>
|
|
||||||
<item name="colorSecondaryVariant">@color/teal_200</item>
|
|
||||||
<item name="colorOnSecondary">@color/black</item>
|
|
||||||
<item name="colorOnTertiary">@color/dark_gray</item>
|
|
||||||
<!-- Status bar color. -->
|
|
||||||
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
||||||
<!-- Customize your theme here. -->
|
|
||||||
<item name="windowActionModeOverlay">true</item>
|
|
||||||
<item name="actionBarTheme">@style/Theme.NextPush.AppBarOverlay</item>
|
|
||||||
</style>
|
|
||||||
</resources>
|
|
|
@ -1,80 +1,3 @@
|
||||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<!-- Base application theme. -->
|
<style name="Theme.NextPush" parent="android:Theme.Material.Light.NoActionBar" />
|
||||||
<style name="Theme.NextPush" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
|
||||||
<!-- Primary brand color. -->
|
|
||||||
<item name="colorPrimary">@color/nextcloud</item>
|
|
||||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
|
||||||
<item name="colorOnPrimary">@color/white</item>
|
|
||||||
<!-- Secondary brand color. -->
|
|
||||||
<item name="colorSecondary">@color/teal_200</item>
|
|
||||||
<item name="colorSecondaryVariant">@color/teal_700</item>
|
|
||||||
<item name="colorOnSecondary">@color/black</item>
|
|
||||||
<item name="colorOnTertiary">@color/light_gray</item>
|
|
||||||
<!-- Status bar color. -->
|
|
||||||
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
||||||
<!-- Customize your theme here. -->
|
|
||||||
<item name="windowActionModeOverlay">true</item>
|
|
||||||
<item name="actionBarTheme">@style/Theme.NextPush.AppBarOverlay</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="Theme.NextPush.NoActionBar">
|
|
||||||
<item name="windowActionBar">false</item>
|
|
||||||
<item name="windowNoTitle">true</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="Theme.NextPush.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" >
|
|
||||||
<item name="colorSecondary">@android:color/transparent</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="Theme.NextPush.PopupOverlay" parent="ThemeOverlay.AppCompat.DayNight" />
|
|
||||||
|
|
||||||
<style name="ErrorText" parent="TextAppearance.AppCompat">
|
|
||||||
<item name="android:textColor">@color/design_default_color_error</item>
|
|
||||||
<item name="android:textSize">16sp</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="HintText" parent="TextAppearance.AppCompat">
|
|
||||||
<item name="android:textColor">@android:color/white</item>
|
|
||||||
<item name="android:textSize">14sp</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="NextcloudButton" parent="ThemeOverlay.Material3.Button">
|
|
||||||
<item name="android:backgroundTint">@android:color/white</item>
|
|
||||||
<item name="android:textAllCaps">false</item>
|
|
||||||
<item name="android:textColor">@color/nextcloud</item>
|
|
||||||
<item name="android:textStyle">bold</item>
|
|
||||||
<item name="android:padding">16dp</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TextInputLayoutAppearance" parent="Base.Widget.MaterialComponents.TextInputLayout">
|
|
||||||
<item name="android:textCursorDrawable">@null</item>
|
|
||||||
<item name="android:background">@android:color/transparent</item>
|
|
||||||
|
|
||||||
<item name="hintTextAppearance">@style/HintText</item>
|
|
||||||
<item name="errorTextAppearance">@style/ErrorText</item>
|
|
||||||
<item name="android:textColor">@android:color/white</item>
|
|
||||||
<item name="android:textColorHint">@android:color/white</item>
|
|
||||||
|
|
||||||
<item name="colorPrimary">@android:color/white</item>
|
|
||||||
<item name="colorPrimaryDark">@android:color/white</item>
|
|
||||||
<item name="colorAccent">@android:color/white</item>
|
|
||||||
<item name="colorControlNormal">@android:color/white</item>
|
|
||||||
<item name="colorControlActivated">@android:color/white</item>
|
|
||||||
<item name="colorControlHighlight">@android:color/white</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TextInputLayoutStyle">
|
|
||||||
<item name="android:textColor">@android:color/white</item>
|
|
||||||
<item name="android:textColorHint">@android:color/white</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TextInputEditTextLogin" parent="ThemeOverlay.MaterialComponents.TextInputEditText">
|
|
||||||
<item name="android:background">@android:color/transparent</item>
|
|
||||||
<item name="android:textColor">@android:color/white</item>
|
|
||||||
|
|
||||||
<item name="colorPrimary">@android:color/white</item>
|
|
||||||
<item name="colorPrimaryDark">@android:color/white</item>
|
|
||||||
<item name="colorAccent">@android:color/white</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue