2014-07-10 40 views
0

我做了一些索尼smartwatch 2的表面,我有很多報告顯示日期顯示「零」,而不是真正的日期。索尼SmartWatch2日期錯誤

正如有人有給這個報告: http://forum.xda-developers.com/showpost.php?p=53974927&postcount=49

我發現,我已經忘了這添加到我的嚮導:

widgets:template="dd" 

然後我tryed將其刪除。和它的工作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> 

和錶盤根本不工作,手錶不斷重新啓動它的自我

那麼無論如何要解決這個問題?

謝謝

回答

1

是的,它也適用於我。我想在SDK中有一個錯誤。我設法使用days_of_month而不是days_of_month_digit2days_of_month_digit1來解決它。當然,你必須準備31個圖形文件。