我有布局结构:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.google.ads.AdView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adSize="BANNER"
/>
<LinearLayout style="@style/TitleBar"
android:layout_width="fill_parent"
android:layout_height="45dip"
// title bar
</LinearLayout>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
// main layout with all needed elements and background!" >
</RelativeLayout>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
一切都很好,直到我的AdMob消失.然后我可以看到具有admob大小的空黑区域.
更新:我的屏幕截图:

通常我会看到这里的广告块,但是当我获得onFailedToReceiveAd(广告请求成功,但由于缺少广告资源而没有广告返回.)广告消费者和我的布局没有填满所有屏幕.
我为我的联系人添加了自定义字段.它包括:
<ContactsSource xmlns:android="http://schemas.android.com/apk/res/android">
<ContactsDataKind
android:icon="@drawable/ic_launcher"
android:mimeType="vnd.android.cursor.item/vnd.com.mob.my_new.profile"
android:summaryColumn="data2"
android:detailColumn="data3"
android:detailSocialSummary="true" />
Run Code Online (Sandbox Code Playgroud)
目前.当用户在Android Contacs中选择此字段时,我想执行一些操作(例如 - 启动活动).我该如何实现呢?(它将类似于facebook自定义字段 - 显示个人资料页面)
有没有人使用dropbox api编写一些应用程序?我想编写应用程序,将能够读/写文件到Dropbox Share文件夹...我发现这个帖子:forums.dropbox.com/topic.php?id = 25486和这个项目:http:// bitbucket.org/dropboxapi/dropbox-client-java/overview 但我找不到任何文档或教程来执行dropbox文件操作甚至添加api库...