mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
android: Simplify theme definition due to minSdkVersion
This commit is contained in:
parent
13426bd2ea
commit
3bf34f1cd5
@ -1,28 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2016 Tobias Brunner
|
|
||||||
|
|
||||||
Copyright (C) secunet Security Networks AG
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU General Public License as published by the
|
|
||||||
Free Software Foundation; either version 2 of the License, or (at your
|
|
||||||
option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
for more details.
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<style name="ApplicationTheme" parent="ApplicationTheme.Base">
|
|
||||||
<item name="android:activatedBackgroundIndicator">@drawable/activated_background</item>
|
|
||||||
<item name="android:selectableItemBackground">@drawable/activated_background</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="AlertDialogTheme" parent="AlertDialogTheme.Base">
|
|
||||||
<item name="android:windowBackground">@android:color/transparent</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
|
@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2016 Tobias Brunner
|
|
||||||
|
|
||||||
Copyright (C) secunet Security Networks AG
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU General Public License as published by the
|
|
||||||
Free Software Foundation; either version 2 of the License, or (at your
|
|
||||||
option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
for more details.
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<style name="ApplicationTheme" parent="ApplicationTheme.Base">
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="AlertDialogTheme" parent="AlertDialogTheme.Base">
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
|
@ -16,7 +16,7 @@
|
|||||||
-->
|
-->
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<style name="ApplicationTheme.Base" parent="Theme.AppCompat">
|
<style name="ApplicationTheme" parent="Theme.AppCompat">
|
||||||
<item name="colorAccent">@color/accent</item>
|
<item name="colorAccent">@color/accent</item>
|
||||||
<item name="colorPrimary">@color/primary</item>
|
<item name="colorPrimary">@color/primary</item>
|
||||||
<item name="colorPrimaryDark">@color/primary_dark</item>
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="AlertDialogTheme.Base" parent="Theme.AppCompat.Dialog.Alert">
|
<style name="AlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert">
|
||||||
<item name="colorAccent">@color/accent</item>
|
<item name="colorAccent">@color/accent</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user