-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix landscape NASCAR layout #1460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Change-Id: I3afab29958c713b2d53c9c5619244ee1867cfdc4
Change-Id: Ifeb4de6ac932db9e4aaae19269f4a05def2c62e4
auth/src/main/java/com/firebase/ui/auth/ui/idp/AuthMethodPickerActivity.java
Show resolved
Hide resolved
style="@style/FirebaseUI.Text.BodyText" | ||
android:layout_width="0dp" | ||
android:layout_height="0dp" | ||
android:layout_height="wrap_content" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm. I probably need to mess with the vertical chain type then. All the "padding" on the ToS/PP text isn't actually padding, it's a result of the view bounds stretching to meet its constraints.
Change-Id: I51011d5e347d4cf569dd03e05d5e0d8ad649be5f
@SUPERCILEX I think at some point with split screen there's no good layout. Here's what I have now at half-screen in both portrait and landscape. IMO it looks as good as we can hope for. Plus while it's a bummer visually, I think if you have a terms/privacy policy you need them to be visible at all costs. |
A few thoughts:
|
What do you mean by "large layout-land"? I think that's what I showed in the very first comment, but maybe there's something else? Also how does the ToS scroll? |
The first comment used When you're in vertical split screen mode, you can move the slider up to squish our poor app even further into oblivion. Then the ToS will be cut off but scrollable. |
Ohhh, nevermind you made the I've created a patch with my fix to clear confusion, but it does mean you have to scroll the ToS. WDYT? Is that a reasonable tradeoff? |
Change-Id: I47beeb3a5dc47bf84de769adaf7dff830e3807a6
@SUPERCILEX thanks for the patch! I applied it and it definitely helps in the super-small situation. From what I can tell, this now looks passable in any configuration of options/orientation/size. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
See #1434
I also updated the sample app in two ways:
Here's how it looks now:

