-1
我想在android文本視圖中設置一些內容。爲某段落設置的Android TextView文本內容
像...
「
什麼是計算機的計算機是一個可編程的機械計算機的兩個 主要特點是:?
- 它響應以明確定義的方式到一組特定的指令
- 它可以執行一個預先錄製指令列表(一個程序)。
「
任何一個能幫助我
坦克
我想在android文本視圖中設置一些內容。爲某段落設置的Android TextView文本內容
像...
「
什麼是計算機的計算機是一個可編程的機械計算機的兩個 主要特點是:?
- 它響應以明確定義的方式到一組特定的指令
- 它可以執行一個預先錄製指令列表(一個程序)。
「
任何一個能幫助我
坦克
試試這個:
TextView tv = (TextView)findViewById(R.id.txtvew);
tv.setText(Html.fromHtml("<p>What is a Computer? A computer is a programmable machine. The two principal characteristics of a computer are:</p>" +
"1. It responds to a specific set of instructions in a well-defined manner.<br/>" +
"2. It can execute a prerecorded list of instructions (a program)."));
@faris:你的問題如果你有任何問題,那麼你可以隨時問我,謝謝!!! :-) –
添加你試過代碼.. – Ronnie