标签: themes

为什么swagger-ui没有主题?

我非常喜欢大量记录Restful API,特别是"试试看!" 按钮,但swagger-ui界面看起来不是很酷.

而且我无法相信这些神奇的开源工具没有模板(或者我找不到任何模板)?

我不希望它是免费的..像http://getbootstrap.com/有很多网站购买主题(如https://wrapbootstrap.com/),为什么我找不到任何swagger主题的网站?

themes swagger swagger-ui

58
推荐指数
4
解决办法
4万
查看次数

如何为iPhone应用程序创建多个主题/皮肤?

我有一个iphone应用程序准备好并由应用程序商店批准.现在我想为我的应用创建不同的主题.有人可以帮助我,有关如何为我的应用程序创建主题的信息/链接/步骤?

我想为男孩们创造一个金属主题,为女孩们创建一个粉红色主题.我的意思是,整个应用程序(功能和功能)将保持不变,但取决于用户是谁(男孩或女孩),他/她可以选择他们希望看到的主题.当主题改变时,只有图像/背景/音乐会根据应用的主题而改变.

非常感谢!

cocoa-touch themes objective-c ios

55
推荐指数
1
解决办法
2万
查看次数

未定位到最新版本的Android

我在尝试在最新的Android SDK Package 4.2上测试主题时收到警告.

这是我的清单文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.themetest"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="16" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppBaseTheme" >
        <activity
            android:name="com.example.themetest.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
Run Code Online (Sandbox Code Playgroud)

不针对最新版本的Android; 兼容模式适用.考虑测试和更新此版本.有关详细信息,请参阅android.os.Build.VERSION_CODES javadoc.AndroidManifest.xml/ThemeTest第7行Android Lint问题

我正在使用一个名为"AppBaseTheme"的自定义主题.我的问题是究竟是什么咨询android.os.Build.VERSION_CODES javadoc..我怎么能解决这个问题?

android themes warnings styles manifest

53
推荐指数
2
解决办法
7万
查看次数

Microsoft Visual Studio更改默认主题

我发现使用IDE中给出的黑色主题进行编码真的很难visual studio 2012.无论如何我有可能回到旧的灰色主题或者无论如何我可以让它看起来更白一点?

ide themes microsoft-metro visual-studio-2012

50
推荐指数
2
解决办法
7万
查看次数

Android - 在onClick上更改应用主题

我知道有一种方法可以在按钮点击时更改应用程序默认主题.Blackmart开发人员已经做到了.我已经在Google上搜索了1000页,但我发现这个(不工作)

getApplication().setTheme(Theme.Holo)
Run Code Online (Sandbox Code Playgroud)

由于我已经在res/values/styles.xml中创建了一个新样式,还有其他方法可以动态更改它吗?甚至重启应用程序?

java xml android themes styles

48
推荐指数
1
解决办法
7万
查看次数

jQuery UI主题和HTML表

有没有办法使用jQuery CSS主题主题HTML表(CSS)?

除了我看起来不同的HTML表之外,我的所有组件看起来都属于它们.

html themes jquery-ui html-table themeroller

46
推荐指数
3
解决办法
10万
查看次数

Android Dialog主题使图标太亮

我在Eclipse中创建了一个新的应用程序,目标是Jelly Bean.这是所有自动创建的代码.清单将应用程序主题设置为AppName:

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    . . . 
Run Code Online (Sandbox Code Playgroud)

对于值dir中的样式,它转换为AppBaseTheme:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <!--
        Base application theme, dependent on API level. This theme is replaced
        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
    -->
    <style name="AppBaseTheme" parent="android:Theme.Light">
        <!--
            Theme customizations available in newer API levels can go in
            res/values-vXX/styles.xml, while customizations related to
            backward-compatibility can go here.
        -->
    </style>

    <!-- Application theme. -->
    <style name="AppTheme" parent="AppBaseTheme">
        <!-- All customizations that are NOT specific to a particular API-level can go here. …
Run Code Online (Sandbox Code Playgroud)

icons android themes android-alertdialog

45
推荐指数
1
解决办法
1万
查看次数

无法引用包含合并字典的资源字典

我有一个库,CommonLibraryWpfThemes,里面有几个Resource Dictionary XAML文件.My Themes/Generic.xml文件包含一个ResourceDictionary.MergedDictionaries声明,它将所有其他文件合并在一起.

Generic.xaml

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/ResourceDictionaries/BrushDictionary.xaml" />
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/ResourceDictionaries/TextBlockDictionary.xaml" />
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/ResourceDictionaries/LabelDictionary.xaml" />
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/ResourceDictionaries/ButtonDictionary.xaml" />
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/ResourceDictionaries/WindowDictionary.xaml" />
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
Run Code Online (Sandbox Code Playgroud)

在我的应用程序项目中,我引用了CommonLibraryWpfThemes,并在我的App.xaml文件中显式引用了Generic.xml.

App.xaml - 失败

<Application
    x:Class="MyApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary
            Source="/CommonLibraryWpfThemes;component/Themes/Generic.xaml" />
    </Application.Resources>
</Application>
Run Code Online (Sandbox Code Playgroud)

这不起作用.运行我的应用程序时出现以下错误:

System.Windows.Markup.XamlParseException occurred
  Message="Cannot find resource named '{_fadedOrangeBrush}'. Resource names are case sensitive.  Error at object 'System.Windows.Setter' in markup file 'CommonLibraryWpfThemes;component/ResourceDictionaries/WindowDictionary.xaml' Line 18 Position 13."
  Source="PresentationFramework"
  LineNumber=18
  LinePosition=13
Run Code Online (Sandbox Code Playgroud)

如果我直接将Generic.xaml的内容放入App.xaml,一切正常:

App.xaml - SUCCEEDS

<Application
    x:Class="MyApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary …
Run Code Online (Sandbox Code Playgroud)

wpf xaml themes resourcedictionary

44
推荐指数
3
解决办法
4万
查看次数

查找由android平台主题定义的所有可用样式

在几个android样式教程中使用了我在android.R.style.*styles中找不到的父样式元素(http://developer.android.com/reference/android/R.style.html).

一些示例来自http://android-developers.blogspot.com/2011/04/customizing-action-bar.html操作栏文章.尼克使用父样式,如:

<style name="MyDropDownNav" parent="android:style/Widget.Holo.Light.Spinner.DropDown.ActionBar">
...
</style>
Run Code Online (Sandbox Code Playgroud)

要么

<style name="MyActionBarTabStyle" parent="android:style/Widget.Holo.Light.ActionBarView_TabView">
...
</style>
Run Code Online (Sandbox Code Playgroud)

这些父母风格来自哪里?是否可以列出所有可用的父样式?

谢谢.

android themes styles

44
推荐指数
1
解决办法
5万
查看次数

如何使用jQuery切换CSS样式表?

我正在做的事情很简单.

您单击一个按钮(id="themes"),它会打开一个(id="themedrop")向下滑动的div 并列出主题.(此时我只有两个)

<button id="original">Original</button><br />
<button id="grayscale">Grayscale</button>
Run Code Online (Sandbox Code Playgroud)

现在当网站加载时,它加载style1.css(主/原始主题)

<link rel="stylesheet" type="text/css" href="style1.css">
Run Code Online (Sandbox Code Playgroud)

现在我想弄清楚的是......如何点击灰度按钮将样式表从style1.css更改为style2.css(注意:文件位于同一目录中)

任何帮助将非常感激.

css jquery themes stylesheet

44
推荐指数
3
解决办法
7万
查看次数