我正在尝试为我的Android应用程序创建一个自家广告系列,但遗憾的是在提供网址时遇到了问题.
请在下面找到错误消息:
There were problems with your submission.
Invalid or non-existent app url
Run Code Online (Sandbox Code Playgroud)
有什么奇怪的...当我为任何网站提供地址(没有链接到Google Play应用程序)时,接下来http://就没有问题了!
你们中的任何人在AdMob网站上也遇到过这样的错误吗?
为了您的信息,我在Google Chrome,IE7和Firefox上检查了此行为 - 没有变化.
这可能与以下内容重复:
Admob - 无法创建任何广告(admob精灵蹩脚?)
...但我决定在新线程中找到解决方案.
此致,
Bartosz Ostrowski.
有没有简单的方法来平铺从ImageView上的URL下载的位图?
最好使用Picasso或UniversalImageLoader.
我正在考虑从毕加索缓存中获取图像并在画布上绘图,但也许有更优雅的方式?
谢谢,Bartek.
我在XML中定义了一个按钮,如下所示:
<Button
android:layout_width="@dimen/logo_menu_width"
android:layout_height="@dimen/logo_menu_height"
android:layout_margin="@dimen/logo_menu_margins"
android:gravity="left|center_vertical"
android:background="@drawable/selector_blue"
android:drawableStart="@drawable/ic_action_settings"
android:paddingStart="6dp"
android:text="Options"
android:textColor="@color/blue_light"
android:textSize="@dimen/logo_menu_text"
android:id="@+id/buttonOptions"
android:layout_gravity="center_horizontal" />
Run Code Online (Sandbox Code Playgroud)
如何增加图标(使用drawableStart设置)和文本之间的距离?文本对齐方式设置为左侧.paddingStart设置为6dp,但它仅适用于图标,而不适用于文本.
是否可以使用XML文件进行设置?
我知道我可以使用LinearLayout来实现这一点 - 包含ImageView和TextView,但我试图限制视图的嵌套.