Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、TextView に文字列を追加すると、
this is my string
TextView の最大長は 4 です
アクティビティのように見えるthis...かt...、文字列サイズが最大長よりも大きい場合、割り当てられた文字列の末尾に文字列継続記号があることを意味します。
this...
t...
誰かが私に何をすべきかを教えてくれますか、またはプログラミングを通じて文字列の最後に手動で「...」を追加する必要があります。
どんな助けでも大歓迎です。
TextViewには以下を使用してください。
android:ellipsize="end" android:singleLine="true"