mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
Create date-formats-spinner
This commit is contained in:
parent
6a3145846e
commit
2dd3709e78
3 changed files with 52 additions and 5 deletions
|
@ -18,8 +18,8 @@
|
|||
android:id="@+id/settings_theme_scroller"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginBottom="32dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/settings_launcher_text_screen_timeout"
|
||||
android:layout_marginBottom="16dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/settings_launcher_text_time_format"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
@ -139,6 +139,25 @@
|
|||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_launcher_text_time_format"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:text="@string/settings_launcher_time_format"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintBottom_toTopOf="@id/settings_launcher_text_screen_timeout"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/settings_launcher_format_spinner"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:spinnerMode="dropdown"
|
||||
app:layout_constraintBottom_toBottomOf="@id/settings_launcher_text_time_format"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/settings_launcher_text_time_format" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_launcher_text_screen_timeout"
|
||||
android:layout_width="wrap_content"
|
|
@ -49,6 +49,15 @@
|
|||
<string name="settings_select_image">Change Image</string>
|
||||
<string name="settings_theme_examples">Examples</string>
|
||||
<string name="settings_launcher_disable_timeout">Keep screen on</string>
|
||||
<string name="settings_launcher_time_format">Date format</string>
|
||||
|
||||
<string-array name="settings_launcher_time_formats">
|
||||
<item>default</item>
|
||||
<item>inverse</item>
|
||||
<item>time only</item>
|
||||
<item>german</item>
|
||||
<item>german inv</item>
|
||||
</string-array>
|
||||
|
||||
<string name="settings_footer_repo">https://github.com/finnmglas/Launcher#en</string>
|
||||
<string name="settings_footer_web">https://www.finnmglas.com</string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue