本帖最後由 you00792 於 2013-8-19 19:26 編輯
因為
<string name="aboutSite"><Data>網站:<a href=http://apk.tw/>apk.tw/</a></Data></string>
這個只能寫在string.xml裡面
在引用進來 而且string name不能重複
以下為範例
你仔細看
<TextView android:text="@string/aboutCoop" style="@style/bukaInfo" />
這段裡面string/aboutCoop
表示引用string.xml底下的string name="aboutCoop"的部分
也就是對應到
所以會顯示 商務合作: [email protected]
而且整個string.xml絕對不會有第二個string name="aboutCoop"
只有一行不會重複
所以你應該是在
ibuka\res\layout\actbukainfo.xml
<TextView android:text="@string/aboutCoop" style="@style/bukaInfo" />
<TextView android:text="資源交流YY群:277097" style="@style/bukaInfo" />
<TextView android:text="@string/apklink" style="@style/bukaInfo" />
然後在string.xml最底下
補上一行
<string name="apklink"><Data>網站:<a href=http://apk.tw/>apk.tw/</a></Data></string>
您好!您暫時不能瀏覽帖子的全部內容,請 登錄 | 沒有帳號? 註冊 |