mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 08:11:17 +00:00
Fixing introduced lint errors/warnings.
This commit is contained in:
parent
7629ddbdcd
commit
a76bc00eb9
24 changed files with 7 additions and 105 deletions
|
@ -225,8 +225,7 @@ public class FolderPickerActivity extends SyncthingActivity
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
|
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
|
||||||
ArrayAdapter<File> adapter = (ArrayAdapter<File>) mListView.getAdapter();
|
File f = mFilesAdapter.getItem(i);
|
||||||
File f = adapter.getItem(i);
|
|
||||||
if (f.isDirectory()) {
|
if (f.isDirectory()) {
|
||||||
displayFolder(f);
|
displayFolder(f);
|
||||||
invalidateOptions();
|
invalidateOptions();
|
||||||
|
|
|
@ -5,7 +5,6 @@ import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.MotionEvent;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
@ -159,14 +158,10 @@ public class DrawerFragment extends Fragment implements RestApi.OnReceiveSystemI
|
||||||
|
|
||||||
mDeviceId.setText(info.myID);
|
mDeviceId.setText(info.myID);
|
||||||
mDeviceId.setVisibility(View.VISIBLE);
|
mDeviceId.setVisibility(View.VISIBLE);
|
||||||
mDeviceId.setOnTouchListener(new View.OnTouchListener() {
|
mDeviceId.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onTouch(View view, MotionEvent motionEvent) {
|
public void onClick(View v) {
|
||||||
if (motionEvent.getAction() == MotionEvent.ACTION_UP) {
|
|
||||||
mActivity.getApi().copyDeviceId(mDeviceId.getText().toString());
|
mActivity.getApi().copyDeviceId(mDeviceId.getText().toString());
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mCpuUsage.setText(new DecimalFormat("0.00").format(info.cpuPercent) + "%");
|
mCpuUsage.setText(new DecimalFormat("0.00").format(info.cpuPercent) + "%");
|
||||||
|
|
|
@ -180,7 +180,7 @@ public class FolderFragment extends Fragment
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
return inflater.inflate(R.layout.fragment_folder, null);
|
return inflater.inflate(R.layout.fragment_folder, container, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:minHeight="45dip">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:gravity="center_vertical"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingLeft="16dp"
|
|
||||||
android:paddingRight="16dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -7,6 +7,6 @@
|
||||||
android:id="@+id/add_folder"
|
android:id="@+id/add_folder"
|
||||||
android:icon="@drawable/ic_add_white_24dp_active"
|
android:icon="@drawable/ic_add_white_24dp_active"
|
||||||
android:title="@string/add_folder"
|
android:title="@string/add_folder"
|
||||||
app:showAsAction="ifRoom" />
|
app:showAsAction="never" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">ID adresáře musí být krátký identifikátor (64 znaků nebo méně) obsahující pouze písmena, čísla, tečky (.), pomlčky (-) a podtržítka (_).</string>
|
<string name="folder_id_invalid">ID adresáře musí být krátký identifikátor (64 znaků nebo méně) obsahující pouze písmena, čísla, tečky (.), pomlčky (-) a podtržítka (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Cesta k adresáři nesmí být prázdná</string>
|
<string name="folder_path_required">Cesta k adresáři nesmí být prázdná</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Nejdříve prosím připojte přístroj.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID přístroje</string>
|
<string name="device_id">ID přístroje</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">Die Verzeichnis-ID muss eine kurze Kennung (64 Zeichen oder weniger) sein. Sie kann nur aus Buchstaben, Zahlen und dem Punkt- (.), Bindestrich- (-), und Unterstrich- (_) Zeichen bestehen.</string>
|
<string name="folder_id_invalid">Die Verzeichnis-ID muss eine kurze Kennung (64 Zeichen oder weniger) sein. Sie kann nur aus Buchstaben, Zahlen und dem Punkt- (.), Bindestrich- (-), und Unterstrich- (_) Zeichen bestehen.</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Der Ordnerpfad darf nicht leer sein</string>
|
<string name="folder_path_required">Der Ordnerpfad darf nicht leer sein</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Bitte verbinde zuerst ein Gerät.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">Geräte-ID</string>
|
<string name="device_id">Geräte-ID</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">El ID de carpeta tiene que ser un identificador corto (64 caracteres o menos) formado por letras, números y los caracteres como el punto (.), el guión (-) y el subrayado(_).</string>
|
<string name="folder_id_invalid">El ID de carpeta tiene que ser un identificador corto (64 caracteres o menos) formado por letras, números y los caracteres como el punto (.), el guión (-) y el subrayado(_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">La ruta a la carpeta no puede estar vacia</string>
|
<string name="folder_path_required">La ruta a la carpeta no puede estar vacia</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Para empezar conecte un dispositivo, por favor.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID del dispositivo</string>
|
<string name="device_id">ID del dispositivo</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">L\'ID du dossier doit être un identifiant court (64 caractères ou moins) pouvant contenir les valeurs suivantes: lettres, chiffres, point (.), tiret milieu (-), et tiret-bas (_).</string>
|
<string name="folder_id_invalid">L\'ID du dossier doit être un identifiant court (64 caractères ou moins) pouvant contenir les valeurs suivantes: lettres, chiffres, point (.), tiret milieu (-), et tiret-bas (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Le chemin du dossier ne doit pas être vide</string>
|
<string name="folder_path_required">Le chemin du dossier ne doit pas être vide</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">SVP, connectez-vous d\'abord à une machine.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID machine</string>
|
<string name="device_id">ID machine</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">L\'ID della cartella dev\'essere un identificatore breve (64 caratteri o meno) costituito solamente da lettere, numeri, punti (.), trattini (-) e trattini bassi (_).</string>
|
<string name="folder_id_invalid">L\'ID della cartella dev\'essere un identificatore breve (64 caratteri o meno) costituito solamente da lettere, numeri, punti (.), trattini (-) e trattini bassi (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Il percorso della cartella non può essere vuoto</string>
|
<string name="folder_path_required">Il percorso della cartella non può essere vuoto</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Prima devi connettere un dispositivo.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID Dispositivo</string>
|
<string name="device_id">ID Dispositivo</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">フォルダーIDは、文字、数字、ドット (.)、ダッシュ (-)、アンダースコア (_) からなる、短い識別子 (64文字以下) でなければなりません。</string>
|
<string name="folder_id_invalid">フォルダーIDは、文字、数字、ドット (.)、ダッシュ (-)、アンダースコア (_) からなる、短い識別子 (64文字以下) でなければなりません。</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">フォルダーのパスは空にできません</string>
|
<string name="folder_path_required">フォルダーのパスは空にできません</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">まずデバイスに接続してください。</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">デバイス ID</string>
|
<string name="device_id">デバイス ID</string>
|
||||||
|
|
|
@ -74,8 +74,6 @@
|
||||||
<string name="folder_id_invalid">폴더 ID는 문자, 숫자, 마침표(.), 붙임표(-), 밑줄 문자(_)로만 구성되어 있는 짧은 식별자(64자 이하)여야 합니다.</string>
|
<string name="folder_id_invalid">폴더 ID는 문자, 숫자, 마침표(.), 붙임표(-), 밑줄 문자(_)로만 구성되어 있는 짧은 식별자(64자 이하)여야 합니다.</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">폴더 경로를 공백으로 둘 수 없습니다</string>
|
<string name="folder_path_required">폴더 경로를 공백으로 둘 수 없습니다</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">먼저 기기를 연결해 주십시오.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">기기 ID</string>
|
<string name="device_id">기기 ID</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">De map-ID moet een korte aanduiding (64 of minder tekens) zijn, bestaande uit enkel letters, cijfers, punten (.), streepjes (-) en onderstrepingstekens (_).</string>
|
<string name="folder_id_invalid">De map-ID moet een korte aanduiding (64 of minder tekens) zijn, bestaande uit enkel letters, cijfers, punten (.), streepjes (-) en onderstrepingstekens (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Het mappad mag niet leeg zijn</string>
|
<string name="folder_path_required">Het mappad mag niet leeg zijn</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Verbind eerst met een knooppunt.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">Apparaat-ID</string>
|
<string name="device_id">Apparaat-ID</string>
|
||||||
|
|
|
@ -77,8 +77,6 @@
|
||||||
<string name="folder_id_invalid">Nazwa katalogu musi być krótka (64 lub mniej znaków). Może zawierać tylko litery, cyfry, kropki, myślniki i znak podkreślenia.</string>
|
<string name="folder_id_invalid">Nazwa katalogu musi być krótka (64 lub mniej znaków). Może zawierać tylko litery, cyfry, kropki, myślniki i znak podkreślenia.</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Ścieżka do folderu nie może być pusta</string>
|
<string name="folder_path_required">Ścieżka do folderu nie może być pusta</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Proszę najpierw podłączyć urządzenie.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID urządzenia</string>
|
<string name="device_id">ID urządzenia</string>
|
||||||
|
|
|
@ -80,8 +80,6 @@ As estatísticas agregadas estão disponíveis publicamente em https://data.sync
|
||||||
<string name="folder_id_invalid">O ID da pasta deve ser um nome curto (64 caracteres ou menos) consistindo apenas em letras, números, ponto (.), hífen (-) ou underscore (_).</string>
|
<string name="folder_id_invalid">O ID da pasta deve ser um nome curto (64 caracteres ou menos) consistindo apenas em letras, números, ponto (.), hífen (-) ou underscore (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">O caminho da pasta não pode ficar vazio</string>
|
<string name="folder_path_required">O caminho da pasta não pode ficar vazio</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Conecte um dispositivo antes, por favor.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID do dispositivo</string>
|
<string name="device_id">ID do dispositivo</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">O ID da pasta tem que ser um identificador curto (64 caracteres ou menos) consistindo apenas em letras, números e os caracteres ponto (.), hífen (-) e sublinhado (_).</string>
|
<string name="folder_id_invalid">O ID da pasta tem que ser um identificador curto (64 caracteres ou menos) consistindo apenas em letras, números e os caracteres ponto (.), hífen (-) e sublinhado (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">O caminho da pasta não pode estar vazio</string>
|
<string name="folder_path_required">O caminho da pasta não pode estar vazio</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Ligue primeiro um dispositivo, por favor.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID do dispositivo</string>
|
<string name="device_id">ID do dispositivo</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">ID папки должен быть коротким идентификатором (64 символов или меньше) состоящий из букв, цифр и символов точки (.), тире(-) и подчеркивания (_).</string>
|
<string name="folder_id_invalid">ID папки должен быть коротким идентификатором (64 символов или меньше) состоящий из букв, цифр и символов точки (.), тире(-) и подчеркивания (_).</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Путь к папке не может быть пустым</string>
|
<string name="folder_path_required">Путь к папке не может быть пустым</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Сначала подключите устройство</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">ID устройства</string>
|
<string name="device_id">ID устройства</string>
|
||||||
|
|
|
@ -74,8 +74,6 @@
|
||||||
<string name="folder_id_invalid">Klasör ID, (64 karakterden daha az) ve sadece harf, sayı, nokta (.), çizgi (-) ve altçizgi (_) karakterleri içermesi gerekir.</string>
|
<string name="folder_id_invalid">Klasör ID, (64 karakterden daha az) ve sadece harf, sayı, nokta (.), çizgi (-) ve altçizgi (_) karakterleri içermesi gerekir.</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">Klasör yolu boş olmamalı</string>
|
<string name="folder_path_required">Klasör yolu boş olmamalı</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">Lütfen önce bir cihaz bağlayın.</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">Cihaz ID</string>
|
<string name="device_id">Cihaz ID</string>
|
||||||
|
|
|
@ -78,8 +78,6 @@
|
||||||
<string name="folder_id_invalid">文件夹标识必须由不长于 64 位字符,且仅能包含字母、数字、半角句号(.)、横线(-)和下划线(_)。</string>
|
<string name="folder_id_invalid">文件夹标识必须由不长于 64 位字符,且仅能包含字母、数字、半角句号(.)、横线(-)和下划线(_)。</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">文件夹路径不得为空</string>
|
<string name="folder_path_required">文件夹路径不得为空</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">请先连接设备</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">设备标识</string>
|
<string name="device_id">设备标识</string>
|
||||||
|
|
|
@ -71,8 +71,6 @@
|
||||||
<string name="folder_id_invalid">資料夾識別碼必須為一段只包含半形英文字母、數字、點 (.)、連接符號 (-) 以及底線 (_) 的簡短識別碼 (不多於 64 個字元)</string>
|
<string name="folder_id_invalid">資料夾識別碼必須為一段只包含半形英文字母、數字、點 (.)、連接符號 (-) 以及底線 (_) 的簡短識別碼 (不多於 64 個字元)</string>
|
||||||
<!--Toast shown when trying to create a folder with an empty path-->
|
<!--Toast shown when trying to create a folder with an empty path-->
|
||||||
<string name="folder_path_required">資料夾路徑不得為空</string>
|
<string name="folder_path_required">資料夾路徑不得為空</string>
|
||||||
<!--Toast shown when selecting 'devices' if no devices have been added-->
|
|
||||||
<string name="no_devices">請先連接至一個裝置。</string>
|
|
||||||
<!--DeviceSettingsFragment-->
|
<!--DeviceSettingsFragment-->
|
||||||
<!--Setting title-->
|
<!--Setting title-->
|
||||||
<string name="device_id">裝置識別碼</string>
|
<string name="device_id">裝置識別碼</string>
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<color name="primary">#03A9F4</color>
|
<color name="primary">#03A9F4</color>
|
||||||
<color name="primary_dark">#0288D1</color>
|
<color name="primary_dark">#0288D1</color>
|
||||||
<color name="primary_light">#B3E5FC</color>
|
|
||||||
<color name="accent">#FFC107</color>
|
<color name="accent">#FFC107</color>
|
||||||
<color name="icons">#FFFFFF</color>
|
|
||||||
<color name="divider">#1F000000</color>
|
<color name="divider">#1F000000</color>
|
||||||
|
|
||||||
<color name="text_red">#ffff4444</color>
|
<color name="text_red">#ffff4444</color>
|
||||||
|
|
|
@ -135,9 +135,6 @@
|
||||||
<!-- Toast shown when trying to create a folder with an empty path -->
|
<!-- Toast shown when trying to create a folder with an empty path -->
|
||||||
<string name="folder_path_required">The folder path must not be empty</string>
|
<string name="folder_path_required">The folder path must not be empty</string>
|
||||||
|
|
||||||
<!-- Toast shown when selecting 'devices' if no devices have been added -->
|
|
||||||
<string name="no_devices">Please connect a device first.</string>
|
|
||||||
|
|
||||||
<!-- Dialog shown before config export -->
|
<!-- Dialog shown before config export -->
|
||||||
<string name="dialog_confirm_export">Do you really want to export your configuration? Existing files will be overwritten.</string>
|
<string name="dialog_confirm_export">Do you really want to export your configuration? Existing files will be overwritten.</string>
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
<eat-comment/>
|
<eat-comment/>
|
||||||
|
|
||||||
<style name="ThemeOverlay.Syncthing.Toolbar" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
<style name="ThemeOverlay.Syncthing.Toolbar" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||||
|
<item name="android:windowBackground">@null</item>
|
||||||
<item name="colorAccent">@android:color/white</item>
|
<item name="colorAccent">@android:color/white</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<EditTextPreference
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="folder_id"
|
|
||||||
android:title="@string/folder_id" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="directory"
|
|
||||||
android:title="@string/directory" />
|
|
||||||
|
|
||||||
<CheckBoxPreference
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="folder_master"
|
|
||||||
android:title="@string/folder_master" />
|
|
||||||
|
|
||||||
<PreferenceScreen
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="devices"
|
|
||||||
android:title="@string/devices" />
|
|
||||||
|
|
||||||
<CheckBoxPreference
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="versioning"
|
|
||||||
android:title="@string/file_versioning" />
|
|
||||||
|
|
||||||
<EditTextPreference
|
|
||||||
android:persistent="false"
|
|
||||||
android:key="versioning_keep"
|
|
||||||
android:title="@string/keep_versions"
|
|
||||||
android:inputType="numberDecimal" />
|
|
||||||
|
|
||||||
</PreferenceScreen>
|
|
Loading…
Reference in a new issue