-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix: Card Browser Border and Header Height. #17904
base: main
Are you sure you want to change the base?
Conversation
From what I said in Discord: why is is the border between columns extending to the headers? The before images don't have that. |
As additional columns are added to the card browser, vertical lines enhance its organization and clarity. |
@@ -17,9 +17,10 @@ | |||
<com.ichi2.ui.FixedTextView xmlns:android="http://schemas.android.com/apk/res/android" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:minHeight="48dp" |
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.
android:minHeight="48dp" | |
android:minHeight="?minTouchTargetSize" |
@@ -18,7 +18,7 @@ | |||
<LinearLayout | |||
android:id="@+id/browser_column_headings" | |||
android:layout_width="match_parent" | |||
android:background="?attr/selectableItemBackground" | |||
android:background="@drawable/browser_heading_bottom_divider" |
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.
this breaks the ripple effect when tapping the background, so the user loses the tap feedback.
Either you could fix that in the new background you created, or you can add the border as a new View
below this one
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.
Added the ripple effect in browser_heading_bottom_divider
.
Purpose / Description
Fixed the Card Browser Border and Column Header Height.
Fixes
Approach
Created drawable file for the bottom divider to improve the
Card Browser border
, increased theCard Browser Header height
and improved the heading textAlignment
.How Has This Been Tested?
Checklist
Please, go through these checks before submitting the PR.