Conversation
| * for now. Will uncomment if this issue gets fixed. | ||
| * for now. Wil | ||
| * l uncomment if this issue gets fixed. |
olivierperez
left a comment
There was a problem hiding this comment.
I'm not a maintainer of this repository but I also would like this PR to be merged ^^
| Surface( | ||
| color = Color.White | ||
| ) { | ||
| Scaffold( |
There was a problem hiding this comment.
Another thing, I think you need to fix the indent of this file.
The Scaffold should be indented, and later in the file a } is misplaced.
| import com.airbnb.android.showkase.models.insideGroup | ||
| import com.airbnb.android.showkase.ui.SemanticsUtils.lineCountVal | ||
|
|
||
| @SuppressLint("UnusedMaterialScaffoldPaddingParameter") |
|
@mataku Can you tell me what the test failure was when you attempted to use |
material2 TopAppBar's height is 56dp, so we couldn't set maxLines to 2 or over
|
@vinaygaba See details: https://github.com/airbnb/Showkase/actions/runs/16053765228/job/45302791177 The height of the material2 AppBar is fixed at 56 dp, so it appears that it cannot display multiple lines, and uses a custom component for now.
|
|
@mataku this rings a bell and iirc was an intentional choice to show longer component names. I think we can keep it as is and we should be good to merge once all the tests pass. |
|
I agree. If it is changed, using the m3 AppBar would make a multi-line display much easier. |


Context
Closes #399
TargetSDK 35 app requires edge-to-edge support. Of course, it's possible to opt out, but it's better to do it anyway because support is needed by TargetSDK 36, and contents will be natural if supported.
Changes
Notes
I tried to change to use TopAppBar instead of
Rowuse for toolbar, but I just found comments:Showkase/showkase/src/main/java/com/airbnb/android/showkase/ui/ShowkaseBrowserApp.kt
Lines 163 to 167 in cf3cdc8
TopAppBar seems to work, but ShowkaseBrowserTest failed, so I kept using custom Row.
Screenshots