Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Adjusting the text display
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGgIt86 committed Sep 26, 2024
1 parent e196f8b commit f92cd13
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 84 deletions.
6 changes: 1 addition & 5 deletions app/src/main/kotlin/com/neko/v2ray/ui/MainRecyclerAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,8 @@ class MainRecyclerAdapter(val activity: MainActivity) : RecyclerView.Adapter<Mai
shareOptions = shareOptions.takeLast(1)
}

EConfigType.VLESS -> {
holder.itemMainBinding.tvType.text = profile.configType.name
}

else -> {
holder.itemMainBinding.tvType.text = profile.configType.name.lowercase()
holder.itemMainBinding.tvType.text = profile.configType.name
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class RoutingSettingRecyclerAdapter(val activity: RoutingSettingActivity) : Recy

open class BaseViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
fun onItemSelected() {
itemView.setBackgroundColor(Color.LTGRAY)
itemView.setBackgroundColor(Color.TRANSPARENT)
}

fun onItemClear() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class SubSettingRecyclerAdapter(val activity: SubSettingActivity) : RecyclerView

open class BaseViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
fun onItemSelected() {
itemView.setBackgroundColor(Color.LTGRAY)
itemView.setBackgroundColor(Color.TRANSPARENT)
}

fun onItemClear() {
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">حذف التكوين</string>
<string name="menu_item_import_config_qrcode">استيراد التكوين من QRcode</string>
<string name="menu_item_import_config_clipboard">استيراد التكوين من الحافظة</string>
<string name="menu_item_import_config_manually_vmess">اكتب يدويًا[Vmess]</string>
<string name="menu_item_import_config_manually_vless">اكتب يدويًا[VLESS]</string>
<string name="menu_item_import_config_manually_ss">اكتب يدويًا[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">اكتب يدويًا[الجوارب]</string>
<string name="menu_item_import_config_manually_http">اكتب يدويًا[HTTP]</string>/
<string name="menu_item_import_config_manually_trojan">اكتب يدويًا[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">اكتب يدويًا[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">اكتب يدويًا <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">اكتب يدويًا <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">اكتب يدويًا <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">اكتب يدويًا <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">اكتب يدويًا <b>[HTTP]</b></string>/
<string name="menu_item_import_config_manually_trojan">اكتب يدويًا <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">اكتب يدويًا <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">التكوين المخصص</string>
<string name="menu_item_import_config_custom_clipboard">استيراد التكوين المخصص من الحافظة</string>
<string name="menu_item_import_config_custom_local">استيراد التكوين المخصص من محليا</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">تنظیمات را حذف کنید</string>
<string name="menu_item_import_config_qrcode">پیکربندی را از QRcode وارد کنید</string>
<string name="menu_item_import_config_clipboard">پیکربندی را از کلیپ بورد وارد کنید</string>
<string name="menu_item_import_config_manually_vmess">به صورت دستی تایپ کنید[Vmess]</string>
<string name="menu_item_import_config_manually_vless">به صورت دستی تایپ کنید[VLESS]</string>
<string name="menu_item_import_config_manually_ss">تایپ دستی [Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">تایپ دستی [Socks]</string>
<string name="menu_item_import_config_manually_http">به صورت دستی تایپ کنید[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">به صورت دستی تایپ کنید[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">به صورت دستی تایپ کنید[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">به صورت دستی تایپ کنید <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">به صورت دستی تایپ کنید <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">تایپ دستی <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">تایپ دستی <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">به صورت دستی تایپ کنید <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">به صورت دستی تایپ کنید <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">به صورت دستی تایپ کنید <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">پیکربندی سفارشی</string>
<string name="menu_item_import_config_custom_clipboard">پیکربندی سفارشی را از کلیپ بورد وارد کنید</string>
<string name="menu_item_import_config_custom_local">پیکربندی سفارشی را از محلی وارد کنید</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">Hapus config</string>
<string name="menu_item_import_config_qrcode">Impor config dari Kode QR</string>
<string name="menu_item_import_config_clipboard">Impor config dari Clipboard</string>
<string name="menu_item_import_config_manually_vmess">Ketik secara manual[Vmess]</string>
<string name="menu_item_import_config_manually_vless">Ketik secara manual[VLESS]</string>
<string name="menu_item_import_config_manually_ss">Ketik secara manual[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">Ketik secara manual[Socks]</string>
<string name="menu_item_import_config_manually_http">Ketik secara manual[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">Ketik secara manual[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">Ketik secara manual[Wireguard ]</string>
<string name="menu_item_import_config_manually_vmess">Ketik secara manual <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">Ketik secara manual <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">Ketik secara manual <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">Ketik secara manual <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">Ketik secara manual <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">Ketik secara manual <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">Ketik secara manual <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">Config khusus</string>
<string name="menu_item_import_config_custom_clipboard">Impor config khusus dari Clipboard</string>
<string name="menu_item_import_config_custom_local">Impor config khusus dari lokal</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">構成の削除</string>
<string name="menu_item_import_config_qrcode">QRコードから設定をインポート</string>
<string name="menu_item_import_config_clipboard">クリップボードから設定をインポート</string>
<string name="menu_item_import_config_manually_vmess">手動で入力[Vmess]</string>
<string name="menu_item_import_config_manually_vless">手動で入力[VLESS]</string>
<string name="menu_item_import_config_manually_ss">手動で入力[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">手動で入力[Socks]</string>
<string name="menu_item_import_config_manually_http">手動で入力[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">手動で入力[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">手動で入力[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">手動で入力 <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">手動で入力 <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">手動で入力 <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">手動で入力 <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">手動で入力 <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">手動で入力 <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">手動で入力 <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">カスタム構成</string>
<string name="menu_item_import_config_custom_clipboard">クリップボードからカスタム構成をインポートする</string>
<string name="menu_item_import_config_custom_local">カスタム構成をローカルからインポートする</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-jw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">Busak konfigurasi</string>
<string name="menu_item_import_config_qrcode">Konfigurasi impor saka QR Code</string>
<string name="menu_item_import_config_clipboard">Impor konfigurasi saka Clipboard</string>
<string name="menu_item_import_config_manually_vmess">Ketik manual[Vmess]</string>
<string name="menu_item_import_config_manually_vless">Ketik manual[VLESS]</string>
<string name="menu_item_import_config_manually_ss">Ketik manual[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">Ketik manual[Socks]</string>
<string name="menu_item_import_config_manually_http">Ketik manual[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">Ketik manual[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">Ketik kanthi manual[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">Ketik manual <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">Ketik manual <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">Ketik manual <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">Ketik manual <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">Ketik manual <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">Ketik manual <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">Ketik kanthi manual <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">Konfigurasi kustom</string>
<string name="menu_item_import_config_custom_clipboard">Impor konfigurasi khusus saka Clipboard</string>
<string name="menu_item_import_config_custom_local">Impor konfigurasi kustom saka lokal</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">Удалить конфигурацию</string>
<string name="menu_item_import_config_qrcode">Импортировать конфигурацию из QRcode</string>
<string name="menu_item_import_config_clipboard">Импортировать конфигурацию из буфера обмена</string>
<string name="menu_item_import_config_manually_vmess">Введите вручную [Vmess]</string>
<string name="menu_item_import_config_manually_vless">Введите вручную[VLESS]</string>
<string name="menu_item_import_config_manually_ss">Введите вручную[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">Введите вручную [Socks]</string>
<string name="menu_item_import_config_manually_http">Введите вручную[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">Введите вручную [Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">Введите вручную [Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">Введите вручную <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">Введите вручную <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">Введите вручную <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">Введите вручную <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">Введите вручную <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">Введите вручную <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">Введите вручную <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">Пользовательская конфигурация</string>
<string name="menu_item_import_config_custom_clipboard">Импортировать пользовательскую конфигурацию из буфера обмена</string>
<string name="menu_item_import_config_custom_local">Импортировать пользовательскую конфигурацию локально</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-su/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">Hapus config</string>
<string name="menu_item_import_config_qrcode">Impor config tina QR Code</string>
<string name="menu_item_import_config_clipboard">Impor config tina Clipboard</string>
<string name="menu_item_import_config_manually_vmess">Ketik sacara manual[Vmess]</string>
<string name="menu_item_import_config_manually_vless">Ketik sacara manual[VLESS]</string>
<string name="menu_item_import_config_manually_ss">Ketik sacara manual[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">Ketik sacara manual[Kaos kaki]</string>
<string name="menu_item_import_config_manually_http">Ketik secara manual[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">Ketik sacara manual[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">Ketik sacara manual[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">Ketik sacara manual <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">Ketik sacara manual <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">Ketik sacara manual <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">Ketik sacara manual <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">Ketik secara manual <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">Ketik sacara manual <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">Ketik sacara manual <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">Konfigurasi custom</string>
<string name="menu_item_import_config_custom_clipboard">Impor config custom ti Clipboard</string>
<string name="menu_item_import_config_custom_local">Impor config custom ti lokal</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">Xóa cấu hình</string>
<string name="menu_item_import_config_qrcode">Nhập cấu hình từ QRcode</string>
<string name="menu_item_import_config_clipboard">Nhập cấu hình từ Clipboard</string>
<string name="menu_item_import_config_manually_vmess">Nhập thủ công [Vmess]</string>
<string name="menu_item_import_config_manually_vless">Nhập thủ công[VLESS]</string>
<string name="menu_item_import_config_manually_ss">Nhập thủ công [Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">Nhập thủ công [Socks]</string>
<string name="menu_item_import_config_manually_http">Nhập thủ công [HTTP]</string>
<string name="menu_item_import_config_manually_trojan">Nhập thủ công [Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">Nhập thủ công [Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">Nhập thủ công <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">Nhập thủ công <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">Nhập thủ công <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">Nhập thủ công <b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">Nhập thủ công <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">Nhập thủ công <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">Nhập thủ công <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">Cấu hình tùy chỉnh</string>
<string name="menu_item_import_config_custom_clipboard">Nhập cấu hình tùy chỉnh từ Clipboard</string>
<string name="menu_item_import_config_custom_local">Nhập cấu hình tùy chỉnh từ cục bộ</string>
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<string name="menu_item_del_config">删除配置</string>
<string name="menu_item_import_config_qrcode">从二维码导入配置</string>
<string name="menu_item_import_config_clipboard">从剪贴板导入配置</string>
<string name="menu_item_import_config_manually_vmess">手动输入[Vmess]</string>
<string name="menu_item_import_config_manually_vless">手动输入[VLESS]</string>
<string name="menu_item_import_config_manually_ss">手动输入[Shadowsocks]</string>
<string name="menu_item_import_config_manually_socks">手动输入[Socks]</string>
<string name="menu_item_import_config_manually_http">手动输入[HTTP]</string>
<string name="menu_item_import_config_manually_trojan">手动输入[Trojan]</string>
<string name="menu_item_import_config_manually_wireguard">手动输入[Wireguard]</string>
<string name="menu_item_import_config_manually_vmess">手动输入 <b>[VMESS]</b></string>
<string name="menu_item_import_config_manually_vless">手动输入 <b>[VLESS]</b></string>
<string name="menu_item_import_config_manually_ss">手动输入 <b>[SHADOWSOCKS]</b></string>
<string name="menu_item_import_config_manually_socks">手动输入<b>[SOCKS]</b></string>
<string name="menu_item_import_config_manually_http">手动输入 <b>[HTTP]</b></string>
<string name="menu_item_import_config_manually_trojan">手动输入 <b>[TROJAN]</b></string>
<string name="menu_item_import_config_manually_wireguard">手动输入 <b>[WIREGUARD]</b></string>
<string name="menu_item_import_config_custom">自定义配置</string>
<string name="menu_item_import_config_custom_clipboard">从剪贴板导入自定义配置</string>
<string name="menu_item_import_config_custom_local">从本地导入自定义配置</string>
Expand Down
Loading

0 comments on commit f92cd13

Please sign in to comment.