Skip to content
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 #4710 the button scaling problem in largest text, and change button name" #4987

Merged
merged 12 commits into from
Jun 15, 2023
Merged
Prev Previous commit
Next Next commit
"Remove the drawable padding attribute since it seems useless"
  • Loading branch information
XichengSpencer committed May 31, 2023
commit e58b523db594e4859a82f3e07f671a4192adbb56
4 changes: 1 addition & 3 deletions app/src/main/res/layout/resume_lesson_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
android:fontFamily="sans-serif-medium"
android:minWidth="144dp"
android:minHeight="@dimen/clickable_item_min_height"
android:drawablePadding="4dp"
android:textAllCaps="true"
android:textColor="@color/component_color_shared_secondary_button_background_trim_color"
android:textSize="14sp"
Expand All @@ -110,10 +109,8 @@
android:id="@+id/resume_lesson_continue_button"
android:layout_width="0dp"
android:layout_height="match_parent"
android:drawablePadding="4dp"
android:minWidth="144dp"
android:gravity="center"
app:iconGravity="textEnd"
android:background="@drawable/state_button_primary_background"
android:drawableTint="@color/component_color_shared_white_background_color"
android:fontFamily="sans-serif-medium"
Expand All @@ -123,6 +120,7 @@
android:textSize="14sp"
android:layout_marginStart="8dp"
android:text="@string/resume_lesson_button"
app:iconGravity="textEnd"
app:layout_constraintHorizontal_weight="1"
app:icon="@drawable/ic_arrow_right_alt_24dp"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down