parent
1d57e77cea
commit
03a5cb2fb4
|
@ -52,6 +52,10 @@ class OnboardingThemePickerViewHolder(private val view: View) : RecyclerView.Vie
|
|||
radioLightTheme.performClick()
|
||||
}
|
||||
|
||||
val automaticTitle = view.context.getString(R.string.onboarding_theme_automatic_title)
|
||||
val automaticSummary = view.context.getString(R.string.onboarding_theme_automatic_summary)
|
||||
view.clickable_region_automatic.contentDescription = "$automaticTitle $automaticSummary"
|
||||
|
||||
view.clickable_region_automatic.setOnClickListener {
|
||||
radioFollowDeviceTheme.performClick()
|
||||
}
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
app:layout_constraintTop_toBottomOf="@+id/description_text"
|
||||
app:onboardingKey="@string/pref_key_light_theme" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/theme_light_image"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -144,6 +143,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:contentDescription="@string/onboarding_theme_automatic_title"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
Loading…
Reference in New Issue