1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

UI - improve fileWatcher explanation (#1077)

This commit is contained in:
Catfriend1 2018-05-06 11:45:08 +02:00 committed by Audrius Butkevicius
parent 16223f4c61
commit d5da9d7883
2 changed files with 14 additions and 2 deletions

View file

@ -90,6 +90,17 @@
android:drawableStart="@drawable/ic_autorenew_black_24dp" android:drawableStart="@drawable/ic_autorenew_black_24dp"
android:text="@string/folder_fileWatcher" /> android:text="@string/folder_fileWatcher" />
<TextView
android:id="@+id/fileWatcherDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="75dp"
android:layout_marginStart="75dp"
android:layout_marginTop="-20dp"
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
android:text="@string/folder_fileWatcherDescription" />
/>
<android.support.v7.widget.SwitchCompat <android.support.v7.widget.SwitchCompat
android:id="@+id/folderPause" android:id="@+id/folderPause"
style="@style/Widget.Syncthing.TextView.Label.Details" style="@style/Widget.Syncthing.TextView.Label.Details"

View file

@ -152,8 +152,9 @@ Please report any problems you encounter via Github.</string>
<!-- Setting title --> <!-- Setting title -->
<string name="folder_master">Send Only</string> <string name="folder_master">Send Only</string>
<!-- Setting title --> <!-- Setting title and description -->
<string name="folder_fileWatcher">Realtime Sync</string> <string name="folder_fileWatcher">Watch for changes</string>
<string name="folder_fileWatcherDescription">Asks operating system to notify about changes to files. If disabled falls back to periodic hourly scans.</string>
<!-- Setting title --> <!-- Setting title -->
<string name="folder_pause">Pause Folder</string> <string name="folder_pause">Pause Folder</string>