diff --git a/app/src/main/res/layout/lessons_completed_chapter_view.xml b/app/src/main/res/layout/lessons_completed_chapter_view.xml index 7468d9d4023..2ee50f5e587 100644 --- a/app/src/main/res/layout/lessons_completed_chapter_view.xml +++ b/app/src/main/res/layout/lessons_completed_chapter_view.xml @@ -27,7 +27,7 @@ android:background="@color/component_color_lessons_tab_activity_lessons_completed_chapter_index_background_color" android:fontFamily="sans-serif" android:gravity="center" - android:importantForAccessibility="@{viewModel.chapterPlayState != ChapterPlayState.NOT_PLAYABLE_MISSING_PREREQUISITES ? View.IMPORTANT_FOR_ACCESSIBILITY_YES : View.IMPORTANT_FOR_ACCESSIBILITY_NO}" + android:importantForAccessibility="yes" android:minWidth="60dp" android:minHeight="48dp" android:paddingStart="8dp" @@ -48,12 +48,12 @@ android:background="@color/component_color_lessons_tab_activity_lessons_completed_chapter_name_background_color" android:fontFamily="sans-serif" android:gravity="center|start" - android:importantForAccessibility="@{viewModel.chapterPlayState != ChapterPlayState.NOT_PLAYABLE_MISSING_PREREQUISITES ? View.IMPORTANT_FOR_ACCESSIBILITY_YES : View.IMPORTANT_FOR_ACCESSIBILITY_NO}" + android:importantForAccessibility="yes" android:minHeight="48dp" android:paddingStart="12dp" android:paddingEnd="12dp" android:text="@{viewModel.chapterTitle}" - android:textColor="@{viewModel.chapterPlayState != ChapterPlayState.NOT_PLAYABLE_MISSING_PREREQUISITES ? @color/component_color_shared_primary_text_color : @color/component_color_shared_primary_text_color}" + android:textColor="@color/component_color_shared_primary_text_color" android:textSize="14sp" app:layout_constraintBottom_toTopOf="@id/divider" app:layout_constraintEnd_toEndOf="parent"