Commit 9d3cf08
committed
[TF] show user ID / DC ID in profile info
Display-only port of Nekogram's profile ID/DC line: a third line
under the avatar info showing "ID: <id>, DC: <dc>" (or "<date>, DC:
<dc>" when the avatar is pulled open). Long-press copies the ID
to the clipboard and shows a bulletin.
- Add tw/nekomimi/nekogram/SimpleTextViewSwitcher helper (a
ViewSwitcher whose children are SimpleTextView, with a
setText(CharSequence, boolean) for animated updates).
- Wire an idTextView into ProfileActivity's avatar container with
long-press-to-copy, and keep it in sync via updateIdText(...)
across page selection, photo deletion, chatInfo load and the
pulled-down / pulled-up states.
- Integrate idTextView into the existing avatar collapse/expand,
scroll, color-blending and search-mode transitions so the new
line animates alongside the online subtitle.1 parent 3b8f6d6 commit 9d3cf08
2 files changed
Lines changed: 240 additions & 1 deletion
File tree
- TMessagesProj/src/main/java
- org/telegram/ui
- tw/nekomimi/nekogram
0 commit comments