列表 第页
我要动态更新<标题>在此基础上的路由/页用户查看我的网页。问题是,当页面加载时,几秒钟它显示的{{title}}里面我<标题> 标记它后来在当前页面的标题所说(从控制器加载)。没有办法,我可以有{{title}}的默认隐藏,直到值加载?I want to dynamically update...阅读全文
所以,即时通讯目前从jQuery的移植我的项目AngularJS,我有以下的code jQuery中So im currently porting my project from jQuery to AngularJS, I have the following code in jQueryjQuery的code...阅读全文
在我的onCreate()我设置一个进度条如下:In my onCreate() I set a progress bar as follows:getWindow().requestFeature(Window.FEATURE_PROGRESS);getWindow().setFeatureInt( Windo...阅读全文
我用微调的导航在我的动作条。一切正常,除了造型。I use Spinner navigation in my actionbar. Everything works fine except styling.我想微调导航看起来像有一个标题和副标题的动作条:I would like the spinner nav to...阅读全文
我发现这个在另一个SO问题答案。但我想在一些页面标题也用路由参数。I found this answer in another SO question. But i would like to also use route parameters in some of the page titles.如果我有一个 $...阅读全文
我想用纳克级一类有条件地添加到手风琴标题,但现在看来,甚至没有设置明确的类元素上获得preserved。我有这样的:I want use ng-class to conditionally add a class to the accordion-heading, but it appears that not ev...阅读全文
我在那样的UI路由器添加标题到每个状态: .STATE('项目',{ 网址:'/', templateUrl:项目/ projects.html', ncyBreadcrumb:{ 标签:'项目' }, 数据:{标题:'项目'}}) 然后是title属性需要的数据: &LT...阅读全文
我试图把我的$httpProvider.defaults.headers.common['X-CSRF-Token'] = $cookie.auth_token; 在我的应用我的.config部分,但它似乎并不像我可以访问文件/饼干,只是还没有?有没有更好的地方设置此?in my .config section o...阅读全文
我打电话,我无法控制的后端服务器。目前,它的使用jQuery阿贾克斯这样的:I'm calling a back-end server that I cannot control. Currently it's using jQuery ajax like this:return $.ajax({type: "P...阅读全文
我从升级我AngularJS SPA应用纳克电网V2.0.7 到 UI电网V3 和我的列标题不再环绕。我的列标题现在单成荫,并显示一个省略号 ... 时,列标题不适合。I have upgraded my AngularJS SPA application from ng-grid v2.0.7 to ui-grid...阅读全文
我采用了棱角分明的UI呈现在手风琴LITTEL数据库条目。在第一个试验中,我用的引导,但我综合AngularJS意见,手风琴没有更充分的工作(空HREF ...)。后来我换成我的引导与手风琴UI角度引导一个,默认的模板。我的问题是,在引导版本,我设法程式化取决于手风琴标题标题(我用的是NG重复指令,并在标题里面的吴式)...阅读全文
我使用的是新的V7工具栏,为我的生活不能弄清楚如何更改标题的颜色。我给自己定了工具栏的@style在styles.xml声明的风格,应用了titleTextStyle用文字颜色。我失去了一些东西?我编码棒棒糖但奇巧设备上目前正在测试。styles.xml <资源><! - 基本应用主题。 - &GT...阅读全文
[更新] 我解决了通过添加addHeaderView问题:I solve the problem by adding addHeaderView :protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceSt...阅读全文
我有这样的活动:public class MapViewer extends Activity {private GoogleMap map;private Database db = new Database(this);protected void onCreate(Bundle savedInstanceSta...阅读全文
我想知道是否有什么办法可以配备一个自定义标题,我自己绘制 - 并随后把进度条的标题布局,使得它就像内置的Android的进度条。 I was wondering if there was any way to feature a custom title with my own drawable -- and t...阅读全文
我正在开发小型机器人application.and我想的标题标题提示对话框风格或改变颜色分。我搜索一下这个问题,我想很多人寻找this.But我仍然没有能够找到合适的解决方案。我想改变这个如下。I am developing small android application.and I wanted to style...阅读全文
我有一个Web视图覆盖内置的浏览器,我想显示在标题栏中显示进度指示器。I have a web view to override the built-in browser and I want to show a progress indicator on the title bar.这是在code:@Overri...阅读全文
我需要改变的选中的标签颜色在我的选项卡活动。 I need to change selected tab color in my tab activity. 例如,所选项目的文本颜色必须是#cea939 ,和未选定项目的颜色必须是#d7ba60 。我应该怎么做才能改变这种状况?其实,我试图文字颜色值添加到 app...阅读全文
我看不到如何增加从标题的弹出式菜单来完成像显示在众多的材料设计实例。任何帮助将是非常美联社preciated。I'm unable to see how adding a popup menu from the title is accomplished like is shown in many of the ma...阅读全文
还有一个问题PagerTitleStrip和PagerTabStrip与支持-V4(23.0.0版)。There's an issue with PagerTitleStrip and PagerTabStrip with support-v4 (version 23.0.0).在 ViewPager 在使用 Pa...阅读全文
我有一个菜单项,在How我添加一个按钮,菜单项?。当我使用的图标,我可以点击图标罚款。但是,当我使用 actionLayout ,我收到的点击没有反应。这里是按钮 actionLayout 点:I have a menu item as explained in How do I add a button as a...阅读全文
我如何可以创建一个动作条冠军滚动,其中点击一个特定的标题项移动到相应的页面?How can I create an Actionbar title with scrolling where clicking on a particular title item moves to the corresponding p...阅读全文
我一直在尝试了以下问题:我创建了一个自定义操作吧:I have been experimenting the following issue: I have created a custom action bar:
我想添加自定义动作游戏的肌动蛋白栏的左侧,使用默认的标题替换,就像在下面的图片的默认图像显示I want to add a custom action title on the left of the actin bar, replacing with the default title just like in t...阅读全文
我使用了 ActionBarSherlock 我的应用程序,这是code我用它来隐藏标题的动作条:I'm using the ActionBarSherlock for my application and this is the code I use to hide the Title of ActionBar :...阅读全文
我的code是如下,虽然它的工作原理(当我改变父主题为Theme.Sherlock或Theme.Sherlock.Light它确实改变了主题),它并没有改变标题颜色。在code是pretty的大致相同这里 code:< XML版本=1.0编码=UTF-8&GT?;<资源><样式名称=MyThe...阅读全文
由于以下code:imshow(np.arange(16 * 16).reshape(16,16))CB =彩条()cb.set_label(富)cb.set_ticks([0,255])主要生产:我如何调整彩条文富,使其向左偏移,介乎0至255,更接近彩条,减少非必要的空白?解决方案 cb.set_lab...阅读全文
我开发一个可访问的Android应用程序,人们将利用触摸和话语提示无障碍服务探索用我的应用程序。 这是我的Android XML code:< LinearLayout中的xmlns:机器人=http://schemas.android.com/apk/res/android机器人:ID =@ + I...阅读全文
我已经打破我的头在这个颇有几分。我需要做的是,改变所有 AlertDialog S的风格在我的Android应用程序 - 对话框的背景必须是白色的杂交和文本必须是黑色的杂交。我试图创造了很多的风格,主题,并从code,清单等,但没有成功应用,对于文字颜色 AlertDialog 里面。现在,我有codeS最简单的...阅读全文
有谁知道如何可以自定义标题是凌空的要求设置。目前,有方法来设置正文内容的POST请求。我有一个简单的GET请求,但我需要通过自定义页眉非常久远。我不知道怎样JsonRequest类支持它。是否有可能呢?让我知道如果你需要更多的细节...... Does anyone know how can custom head...阅读全文
我在做一个自定义锁屏。I'm making a custom lock screen.在锁屏是我启动的时候一个活动的屏幕熄灭。The lock screen is an activity which I launch by the time the screen goes off.不过,我不能使活动既透明和放大...阅读全文
你好我的code得到错误。你能告诉我怎么解决这个问题。样式code <样式名称=AppTheme父=AppTheme.Base/><样式名称=AppTheme.Base父=Theme.AppCompat.Light>活动code @覆盖公共无效的onCreate(包savedInstanc...阅读全文
我一直在关注画廊的例子在这里:的http://开发商.android.com /资源/教程/视图/ HELLO-gallery.html 和添加文本,从这里下的图像显示:http://mytelcoit.com/2010/02/programming-android-create-icon-with-text-u...阅读全文
我有一个在所有布局公共头的应用程序。我想,只要用户点击的ID为 btn_home ImageView的,应用程序将返回到一个特定的活动,我的主来说吧。什么是做到这一点的最好方法是什么?我知道我可以定义的onClick(视图v)的每个活动,但也许有更好的方法来做到这一点。即使尽一切活动会有一些(通过遗产)等具有的onC...阅读全文
我知道有设置活动标题的两种方式。一种方法是将其设置在Android清单这样的机器人:标签=@字符串/ APP_NAME。二是编程方式在活动课例如的setTitle(的Hello World!)设置。这两种方式都位于左侧,但我怎么可以把它放在中心?I know there are two ways of setting...阅读全文
我想使用Android的支持-V7创建简单的应用:21库 code片段:MainActivity.java I'm trying to create simple application using android-support-v7:21 library.Code snippets:MainActivity....阅读全文
您好我想与标题图标添加到我的动作条,但只有图标显示。我创造了这个项目:Hi I want to add a icon with title to my actionbar, but only the icon is shown. I created this item:<?xml version="1.0" enc...阅读全文
绝对Android开发的初学者在这里,所以请大家多多包涵。我想实现两件事情与我的动作条的标题:Absolute Android development beginner here, so please bear with me. I am trying to achieve 2 things with my titl...阅读全文