Add no games text.

This commit is contained in:
Miku AuahDark
2022-05-15 00:14:02 +08:00
parent df8125b601
commit 39da32d7c5
2 changed files with 45 additions and 7 deletions
+37 -1
View File
@@ -13,5 +13,41 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:listitem="@layout/row_game" />
tools:listitem="@layout/row_game">
</androidx.recyclerview.widget.RecyclerView>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/no_games"
android:textSize="29sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:gravity="center_horizontal"
android:text="@string/no_games_info"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
+8 -6
View File
@@ -1,6 +1,8 @@
<resources>
<string name="version_info">Version %1$s</string>
<string name="copyright">Copyright © 20062022 LÖVE Development Team</string>
<string name="disclaimer">This software is provided \'as-is\', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.</string>
<string name="official_website">Official Website</string>
</resources>
<resources>
<string name="version_info">Version %1$s</string>
<string name="copyright">Copyright © 20062022 LÖVE Development Team</string>
<string name="disclaimer">This software is provided \'as-is\', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.</string>
<string name="official_website">Official Website</string>
<string name="no_games">No Games :(</string>
<string name="no_games_info">Looks like there are no LÖVE games found in the games folder. See the &quot;Game Folder&quot; in the options menu for more information.</string>
</resources>