https://kotlinlang.org logo
#confetti
Title
# confetti
j

John O'Reilly

03/14/2024, 7:10 PM
hmm, I think it was related to length of some titles but might be wrong....or maybe we were hoping to add more info here
m

Marcello Galhardo

03/14/2024, 7:13 PM
I see! Two rows + fixed tab bar takes a bunch of space. Maybe we can move the profile photo to the left, keep search on the left, and move it back to a single row?
j

John O'Reilly

03/14/2024, 7:16 PM
Yeah, can definitely try that
We should also probably hide bar when scrolling
m

Marcello Galhardo

03/14/2024, 7:22 PM
Iirc, there was an issue where the view pager and vertical scroll were conflicting and causing gesture problems.
j

John O'Reilly

03/14/2024, 7:23 PM
Ah, remember that now
y

yschimke

03/15/2024, 7:23 AM
There are patterns for auto sizing text also. To fit within some space shrinking if needed.
👍 1
j

John O'Reilly

03/15/2024, 7:47 AM
Yeah, have done that before in other apps....it can work up to a point but wouldn't want title too small I think
👍🏻 1
m

Marcello Galhardo

03/16/2024, 7:04 PM
Maybe we can always have a "maximum size" for the title (like an abbreviated name) and if you tap on it, we can open the full name to the user? IMHO, the title there is just for the user to know in what conference they are but the attention should be on the conference list/content, where the user will spend most their time analysing. We should somehow find a pattern that fits better for us, whatever it is.
👍 1
j

John O'Reilly

03/18/2024, 10:11 PM
I think this was where we first ran in to space issue
m

Marcello Galhardo

03/19/2024, 2:37 PM
I see. I can think of a few options here on top of my head: 1. We keep as it is today. 2. We only use a second row if the title is larger than X (to be defined). 3. We truncate the String, and if the user tap on it we open a dialog with the full name? 4. We add a “short name” to all (new) conferences, that is used as title if the name is too long (here, it could be “Android Makers” only). Tap still shows the full name.
j

John O'Reilly

03/29/2024, 8:50 AM
I was using
MediumTopAppBar
but this is actually suggesting I should be using
LargeTopAppBar
m

Marcello Galhardo

03/29/2024, 4:27 PM
I would personally use that with a collapsible behaviour and maybe for a details screen. For a main screen, where the goal is to read the main content, that is way too much space for the title IMHO.
2 Views