标签: google-play-newsstand

将照片添加到Google Play报亭的图库中

我正试图在Google Play报亭的文章库中添加几张图片但没有成功.我尝试添加3张尺寸合适的图片,但无法在文章库中显示.

<media:content url="[URL IMAGE]"
        type="image/png" expression="full" width="538" height="190">
  <media:description type="plain">[DESCRIPTION]</media:description>
  <media:credit role="author" scheme="urn:ebu">[AUTHOR]</media:credit>
</media:content>
Run Code Online (Sandbox Code Playgroud)

这是我<item>元素的一个例子:

<item>
    <title><![CDATA[Arquean a cafetería]]></title>
    <link><![CDATA[http://google/wE-bacdkE]]></link>
    <content:encoded><![CDATA[Today we’re introducing a new age-based rating system for apps and games on Google Play. We know that people in different countries have different ideas about what content is appropriate for kids, teens and adults, so today’s announcement will help developers better label their apps for the right audience. Consistent with industry best practices, this change will …
Run Code Online (Sandbox Code Playgroud)

java android google-play google-play-newsstand

15
推荐指数
1
解决办法
438
查看次数

带有活动标签的Android TabLayout始终位于中心位置,就像在Play报亭应用中一样

android.support.design.widget.TabLayout,如何使活动标签始终显示在中心,就像在Play报亭应用程序中一样,如下所示.

第一个和最后一个选项卡也应出现在中心.

报摊

报摊

我尝试在TabLayout上使用填充.它不起作用.这是我写的代码:

<android.support.design.widget.TabLayout
            android:id="@+id/tabs"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:tabIndicatorColor="@color/yellow"
            app:tabSelectedTextColor="@android:color/white"
            app:tabTextColor="#EEE"
            app:tabMode="scrollable"
            android:gravity="bottom"
            android:clipToPadding="false"
            android:paddingLeft="90dp"
            android:paddingRight="90dp"
            />
Run Code Online (Sandbox Code Playgroud)

在这种情况下,tabIndicator也将从左移90dp.它应该保持在独立于填充的中心.

android material-design android-tablayout google-play-newsstand

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