v0.6.0: bubble for Android 0.6.0 — the house look on the Rabbit, and a stretchy pull-to-refresh that pops

Desktop: Signal vibes or travewave, chosen in Preferences → Appearance.
Rabbit: white on pure black, 22/28/32 sp text, outlined buttons and dim-edged
text boxes, and drawn icons instead of emoji (rabbit.html). Pulling the chat
list further once the search box shows stretches a bubble that pops at the
mark and starts the check, then a spinner until it's done.
This commit is contained in:
2026-11-08 19:39:58 -08:00
parent 1cbb7b3bc8
commit 37007cc797
13 changed files with 504 additions and 79 deletions
@@ -92,12 +92,12 @@ public final class NewChatActivity extends BaseActivity {
LinearLayout toRow = new LinearLayout(this);
toRow.setGravity(Gravity.CENTER_VERTICAL);
toRow.setBackground(Ui.round(Ui.INPUT, Ui.dp(this, 20)));
toRow.setBackground(Ui.input(this, 20));
toRow.setPadding(Ui.dp(this, 20), 0, Ui.dp(this, 12), 0);
toLabel = Ui.text(this, "To:", Ui.T_SMALL, Ui.MUTED);
to = new EditText(this);
to.setHint("Name or number");
to.setHintTextColor(Ui.FAINT);
to.setHintTextColor(Ui.MUTED);
to.setTextColor(Ui.TEXT);
to.setTextSize(TypedValue.COMPLEX_UNIT_SP, Ui.T_BODY);
to.setBackground(null);
@@ -170,8 +170,9 @@ public final class NewChatActivity extends BaseActivity {
private void renderChips() {
chips.removeAllViews();
for (String n : members) {
TextView chip = Ui.text(this, Contacts.name(this, n) + " ✕", Ui.T_SMALL, Ui.TEXT);
chip.setBackground(Ui.round(Ui.INPUT, Ui.dp(this, 24)));
TextView chip = Ui.text(this, Contacts.name(this, n), Ui.T_SMALL, Ui.TEXT);
Ui.glyph(chip, Glyph.Kind.CLOSE, true);
chip.setBackground(Ui.input(this, 24));
chip.setPadding(Ui.dp(this, 18), Ui.dp(this, 8), Ui.dp(this, 18), Ui.dp(this, 8));
chip.setOnClickListener(v -> {
members.remove(n);
@@ -238,8 +239,8 @@ public final class NewChatActivity extends BaseActivity {
main.addView(Ui.text(c, o[1] != null ? Phone.format(o[0]) + (o[2] != null ? " · " + o[2] : "") : "Send to this number", Ui.T_SMALL, Ui.MUTED));
row.addView(main, new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1));
if (Config.get(c).canGroup(from) && members.isEmpty()) {
TextView plus = Ui.text(c, "+ Group", Ui.T_TINY, Ui.MUTED);
plus.setBackground(Ui.round(Ui.INPUT, Ui.dp(c, 24)));
TextView plus = Ui.text(c, "+ Group", Ui.T_SMALL, Ui.TEXT);
plus.setBackground(Ui.outline(c));
plus.setPadding(Ui.dp(c, 16), Ui.dp(c, 10), Ui.dp(c, 16), Ui.dp(c, 10));
plus.setOnClickListener(v -> addMember(o[0]));
row.addView(plus);