2
我剛更新了我的眼鏡到XE12。從那時起,卡片的行爲不像以前那樣。Glass:setText大小限制?如何顯示全屏文本
我想顯示一個文本卡。這是我目前的代碼,我不得不改變「setFullScreenImages」by「setImageLayout()」。
card = new Card(this);
card.setText("Ce chocolat contient :\nSucre, beurre de cacao, cacao (min 31.5%), lait en poudre entier, liqueur de cacao, lécithine, vanilline.");
card.setImageLayout(ImageLayout.FULL);
card.addImage(R.drawable.card_chocolate_background);
card.setFootnote("Info produit");
我XE11得到的結果是:
與XE12結果:
有人能告訴我如何正確顯示文本?我明天有一個演示,我用這個自動更新有點困難。
謝謝!
我認爲這是臨時性措施,那麼我們會在XE13上獲得更好的支持嗎? – LawrenceGS