-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Implement image description viewer #129
Conversation
TextView heading=new TextView(activity); | ||
heading.setText(R.string.image_description); | ||
heading.setAllCaps(true); | ||
heading.setTypeface(null, Typeface.BOLD); | ||
heading.setPadding(0, V.dp(24), 0, V.dp(8)); |
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.
Not sure about this. Is there a specific styling more suitable for headings?
handleView.setBackgroundResource(R.drawable.bg_bottom_sheet_handle); | ||
ViewGroup handle=new FrameLayout(activity); | ||
handle.addView(handleView); | ||
handle.setLayoutParams(new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, V.dp(24))); |
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.
I didn't find where or if the AccountSwitcherSheet sets the height of the handle somewhere - setting it to 24dp manually was the only solution I could find; might be a bit hacky.
Already implemented but differently (tappable ALT badges in timelines). |
Fixes #100, #107.