【问题标题】:Sony SmartWatch2 date error索尼 SmartWatch2 日期错误
【发布时间】:2014-09-15 05:09:28
【问题描述】:

我为索尼智能手表 2 制作了一些表盘,我收到很多报告称日期显示“零”而不是实际日期。

因为有人给出了这份报告: http://forum.xda-developers.com/showpost.php?p=53974927&postcount=49

我发现我忘了把这个添加到我的指南中:

widgets:template="dd"

然后我尝试删除它。它工作了http://forum.xda-developers.com/showpost.php?p=54004169&postcount=52

但我需要使它适合两个数字,所以我尝试了这个:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:widgets="http://schemas.android.com/apk/res-auto"
    android:layout_width="215px"
    android:layout_height="170px" >

    <com.sonyericsson.extras.liveware.aef.widget.TimeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="177px"
        android:layout_marginTop="73px"
        android:layout_weight="0.5"
        android:gravity="center" >

        <com.sonyericsson.extras.liveware.aef.widget.TimeView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:includeFontPadding="false"
            android:textColor="@android:color/white"
            widgets:textSize="20px"
            widgets:timeType="days_of_month_digit1" />
    </com.sonyericsson.extras.liveware.aef.widget.TimeLayout>

</RelativeLayout>

而且表盘根本不工作,手表不断自行重启

那么有没有办法解决这个问题?

谢谢

【问题讨论】:

    标签: sony sony-smartwatch


    【解决方案1】:

    是的,它对我也一样。我想SDK中有错误。我设法使用days_of_month 而不是days_of_month_digit2days_of_month_digit1 来解决它。当然要准备31个图形文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多