Added string resources for install screen

This commit is contained in:
Viktor De Pasquale 2019-10-25 19:17:13 +02:00
parent 3cc5cb3123
commit 5f4718cd13
2 changed files with 10 additions and 5 deletions

View File

@ -67,7 +67,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/l1" android:layout_marginStart="@dimen/l1"
android:gravity="start" android:gravity="start"
android:text="Options" android:text="@string/install_options_title"
android:textAppearance="?appearanceTextBodyNormal" android:textAppearance="?appearanceTextBodyNormal"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -82,7 +82,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="@{() -> viewModel.step(1)}" android:onClick="@{() -> viewModel.step(1)}"
android:text="Next" android:text="@string/install_next"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
@ -145,7 +145,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/l1" android:layout_marginStart="@dimen/l1"
android:gravity="start" android:gravity="start"
android:text="Method" android:text="@string/install_method_title"
android:textAppearance="?appearanceTextBodyNormal" android:textAppearance="?appearanceTextBodyNormal"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -161,7 +161,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="@{() -> viewModel.step(2)}" android:onClick="@{() -> viewModel.step(2)}"
android:text="Next" android:text="@string/install_next"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
@ -226,7 +226,7 @@
android:layout_gravity="end" android:layout_gravity="end"
android:layout_margin="@dimen/l1" android:layout_margin="@dimen/l1"
android:onClick="@{() -> viewModel.install()}" android:onClick="@{() -> viewModel.install()}"
android:text="Let's go" android:text="@string/install_start"
app:icon="@drawable/ic_forth_md2" app:icon="@drawable/ic_forth_md2"
app:iconGravity="textEnd" /> app:iconGravity="textEnd" />

View File

@ -41,4 +41,9 @@
<string name="settings_dark_mode_system">Follow System</string> <string name="settings_dark_mode_system">Follow System</string>
<string name="settings_dark_mode_dark">Always Dark</string> <string name="settings_dark_mode_dark">Always Dark</string>
<string name="install_options_title">Options</string>
<string name="install_method_title">Method</string>
<string name="install_next">Next</string>
<string name="install_start">Let\'s go</string>
</resources> </resources>