diff --git a/app/src/main/java/com/wirelessalien/zipxtract/activity/MainActivity.kt b/app/src/main/java/com/wirelessalien/zipxtract/activity/MainActivity.kt index e823da1..e5062dd 100644 --- a/app/src/main/java/com/wirelessalien/zipxtract/activity/MainActivity.kt +++ b/app/src/main/java/com/wirelessalien/zipxtract/activity/MainActivity.kt @@ -930,7 +930,7 @@ class MainActivity : AppCompatActivity(), FileAdapter.OnItemClickListener, FileA val dialogView = layoutInflater.inflate(R.layout.password_input_dialog, null) val passwordEditText = dialogView.findViewById(R.id.passwordInput) - MaterialAlertDialogBuilder(this) + MaterialAlertDialogBuilder(this, R.style.MaterialDialog) .setTitle(getString(R.string.enter_password)) .setView(dialogView) .setPositiveButton(getString(R.string.ok)) { _, _ -> @@ -947,7 +947,7 @@ class MainActivity : AppCompatActivity(), FileAdapter.OnItemClickListener, FileA val dialogView = layoutInflater.inflate(R.layout.password_input_dialog, null) val passwordEditText = dialogView.findViewById(R.id.passwordInput) - MaterialAlertDialogBuilder(this) + MaterialAlertDialogBuilder(this, R.style.MaterialDialog) .setTitle(getString(R.string.enter_password)) .setView(dialogView) .setPositiveButton(getString(R.string.ok)) { _, _ -> @@ -964,7 +964,7 @@ class MainActivity : AppCompatActivity(), FileAdapter.OnItemClickListener, FileA val dialogView = layoutInflater.inflate(R.layout.password_input_dialog, null) val passwordEditText = dialogView.findViewById(R.id.passwordInput) - MaterialAlertDialogBuilder(this) + MaterialAlertDialogBuilder(this, R.style.MaterialDialog) .setTitle(getString(R.string.enter_password)) .setView(dialogView) .setPositiveButton(getString(R.string.ok)) { _, _ -> diff --git a/app/src/main/java/com/wirelessalien/zipxtract/adapter/FileAdapter.kt b/app/src/main/java/com/wirelessalien/zipxtract/adapter/FileAdapter.kt index 011ad90..86fa8f7 100644 --- a/app/src/main/java/com/wirelessalien/zipxtract/adapter/FileAdapter.kt +++ b/app/src/main/java/com/wirelessalien/zipxtract/adapter/FileAdapter.kt @@ -155,10 +155,8 @@ class FileAdapter(private val context: Context, private val mainActivity: MainAc when (file.extension) { "avi" -> holder.fileIcon.setImageResource(R.drawable.ic_avi) - "bin" -> holder.fileIcon.setImageResource(R.drawable.ic_bin) - "doc" -> holder.fileIcon.setImageResource(R.drawable.ic_doc) - "docx" -> holder.fileIcon.setImageResource(R.drawable.ic_docx) - "exe" -> holder.fileIcon.setImageResource(R.drawable.ic_unknown) + "doc", "docx" -> holder.fileIcon.setImageResource(R.drawable.ic_doc) + "exe" -> holder.fileIcon.setImageResource(R.drawable.ic_exe) "mkv" -> holder.fileIcon.setImageResource(R.drawable.ic_mkv) "mov" -> holder.fileIcon.setImageResource(R.drawable.ic_mov) "mp3" -> holder.fileIcon.setImageResource(R.drawable.ic_mp3) @@ -166,12 +164,22 @@ class FileAdapter(private val context: Context, private val mainActivity: MainAc "pdf" -> holder.fileIcon.setImageResource(R.drawable.ic_pdf) "ppt" -> holder.fileIcon.setImageResource(R.drawable.ic_ppt) "txt" -> holder.fileIcon.setImageResource(R.drawable.ic_txt) - "xls" -> holder.fileIcon.setImageResource(R.drawable.ic_xls) - "xlsx" -> holder.fileIcon.setImageResource(R.drawable.ic_xlsx) + "xls", "xlsx" -> holder.fileIcon.setImageResource(R.drawable.ic_xls) "rar" -> holder.fileIcon.setImageResource(R.drawable.ic_rar) "zip" -> holder.fileIcon.setImageResource(R.drawable.ic_zip) "apk" -> holder.fileIcon.setImageResource(R.drawable.ic_apk) - "png", "jpg", "bmp", "jpeg" -> { + "jar" -> holder.fileIcon.setImageResource(R.drawable.ic_jar) + "java" -> holder.fileIcon.setImageResource(R.drawable.ic_java) + "m4a" -> holder.fileIcon.setImageResource(R.drawable.ic_m4a) + "mpeg", "mpg" -> holder.fileIcon.setImageResource(R.drawable.ic_mpeg) + "svg" -> holder.fileIcon.setImageResource(R.drawable.ic_svg) + "wav" -> holder.fileIcon.setImageResource(R.drawable.ic_wav) + "webm" -> holder.fileIcon.setImageResource(R.drawable.ic_webm) + "xml" -> holder.fileIcon.setImageResource(R.drawable.ic_xml) + "tar" -> holder.fileIcon.setImageResource(R.drawable.ic_tar) + "db" -> holder.fileIcon.setImageResource(R.drawable.ic_db) + "7z" -> holder.fileIcon.setImageResource(R.drawable.ic_7z) + "png", "jpg", "bmp", "jpeg", "gif"-> { val requestBuilder = Glide.with(context) .asDrawable() .sizeMultiplier(0.25f) @@ -193,11 +201,13 @@ class FileAdapter(private val context: Context, private val mainActivity: MainAc } private fun truncateFileName(fileName: String, maxLength: Int): String { - return if (fileName.length <= maxLength) { - fileName - } else { - fileName.substring(0, maxLength - 3) + "..." + if (fileName.length <= maxLength) { + return fileName } + val keepLength = (maxLength - 3) / 2 + val start = fileName.substring(0, keepLength) + val end = fileName.substring(fileName.length - keepLength) + return "$start...$end" } fun updateFilesAndFilter(newFiles: ArrayList, query: String? = null) { diff --git a/app/src/main/res/drawable/blank.xml b/app/src/main/res/drawable/blank.xml deleted file mode 100644 index 01060fc..0000000 --- a/app/src/main/res/drawable/blank.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/drawable/folder.xml b/app/src/main/res/drawable/folder.xml deleted file mode 100644 index f1085f6..0000000 --- a/app/src/main/res/drawable/folder.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_7z.xml b/app/src/main/res/drawable/ic_7z.xml new file mode 100644 index 0000000..5fbd0eb --- /dev/null +++ b/app/src/main/res/drawable/ic_7z.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_aac.xml b/app/src/main/res/drawable/ic_aac.xml deleted file mode 100644 index d993248..0000000 --- a/app/src/main/res/drawable/ic_aac.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/drawable/ic_ai.xml b/app/src/main/res/drawable/ic_ai.xml deleted file mode 100644 index d7272d9..0000000 --- a/app/src/main/res/drawable/ic_ai.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - diff --git a/app/src/main/res/drawable/ic_apk.xml b/app/src/main/res/drawable/ic_apk.xml index b576ecc..b2879e3 100644 --- a/app/src/main/res/drawable/ic_apk.xml +++ b/app/src/main/res/drawable/ic_apk.xml @@ -1,10 +1,10 @@ + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM1.6,21.58s0,-0.05 0,-0.07l1.59,-4.85q0.11,-0.27 0.57,-0.27c0.32,0 0.51,0.08 0.58,0.25l1.58,4.85 0,0.07c0,0.1 -0.07,0.18 -0.19,0.25a1,1 0,0 1,-0.4 0.1,0.3 0.3,0 0,1 -0.31,-0.16l-0.33,-1.08h-2l-0.32,1.07a0.28,0.28 0,0 1,-0.3 0.17,0.65 0.65,0 0,1 -0.36,-0.1A0.27,0.27 0,0 1,1.6 21.58ZM2.95,20.04L4.5,20.04l-0.8,-2.57ZM6.5,21.65v-5a0.23,0.23 0,0 1,0.09 -0.18,0.38 0.38,0 0,1 0.24,-0.08L8.4,16.39a2,2 0,0 1,1.28 0.4,1.56 1.56,0 0,1 0.47,1.25v0.06a1.53,1.53 0,0 1,-0.49 1.26,2 2,0 0,1 -1.31,0.4h-1L7.35,21.65a0.22,0.22 0,0 1,-0.12 0.19,0.73 0.73,0 0,1 -0.3,0.07 0.7,0.7 0,0 1,-0.3 -0.07A0.23,0.23 0,0 1,6.5 21.65ZM7.35,19.17h1a1,1 0,0 0,0.71 -0.25,1 1,0 0,0 0.24,-0.73v-0.09a0.85,0.85 0,0 0,-0.95 -1h-1ZM10.86,21.65v-5a0.19,0.19 0,0 1,0.13 -0.19,0.56 0.56,0 0,1 0.3,-0.07 0.6,0.6 0,0 1,0.3 0.07,0.2 0.2,0 0,1 0.12,0.19L11.71,18.95l2,-2.42a0.29,0.29 0,0 1,0.24 -0.12,0.58 0.58,0 0,1 0.33,0.13 0.38,0.38 0,0 1,0.16 0.29,0.2 0.2,0 0,1 -0.06,0.15l-1.54,1.8 1.82,2.6a0.19,0.19 0,0 1,0.05 0.14,0.36 0.36,0 0,1 -0.15,0.27 0.56,0.56 0,0 1,-0.34 0.12,0.35 0.35,0 0,1 -0.31,-0.15l-1.63,-2.31 -0.52,0.61L11.76,21.65a0.22,0.22 0,0 1,-0.12 0.19,0.73 0.73,0 0,1 -0.3,0.07 0.7,0.7 0,0 1,-0.3 -0.07A0.23,0.23 0,0 1,10.87 21.65Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_audio_file.xml b/app/src/main/res/drawable/ic_audio_file.xml deleted file mode 100644 index 558dcb0..0000000 --- a/app/src/main/res/drawable/ic_audio_file.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_avi.xml b/app/src/main/res/drawable/ic_avi.xml index 056595f..4426908 100644 --- a/app/src/main/res/drawable/ic_avi.xml +++ b/app/src/main/res/drawable/ic_avi.xml @@ -1,30 +1,10 @@ - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,10.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,10.45a0.78,0.78 0,0 1,-0.79 -0.78L17.95,5.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,22.5 10.95ZM2.25,23.44a0.65,0.65 0,0 0,0.36 0.1,0.28 0.28,0 0,0 0.3,-0.17l0.32,-1.07h2L5.5,23.37a0.3,0.3 0,0 0,0.31 0.17,0.91 0.91,0 0,0 0.4,-0.1c0.12,-0.07 0.19,-0.15 0.19,-0.25a0.41,0.41 0,0 0,0 -0.07l-1.58,-4.85c-0.07,-0.17 -0.26,-0.25 -0.58,-0.25s-0.5,0.09 -0.57,0.27l-1.59,4.85s0,0 0,0.07A0.27,0.27 0,0 0,2.25 23.44ZM4.25,19.1 L5.05,21.67L3.43,21.67ZM6.31,18.46 L7.91,23.31q0.11,0.27 0.54,0.27a0.74,0.74 0,0 0,0.34 -0.07,0.31 0.31,0 0,0 0.19,-0.2L10.5,18.46a0.11,0.11 0,0 0,0 -0.07c0,-0.09 -0.06,-0.16 -0.17,-0.23a0.78,0.78 0,0 0,-0.36 -0.1,0.27 0.27,0 0,0 -0.29,0.17l-1.31,4.27 -1.32,-4.27a0.28,0.28 0,0 0,-0.3 -0.17,0.81 0.81,0 0,0 -0.36,0.1c-0.11,0.07 -0.16,0.14 -0.16,0.23ZM11.31,23.46a0.65,0.65 0,0 0,0.29 0.07,0.66 0.66,0 0,0 0.3,-0.07 0.23,0.23 0,0 0,0.13 -0.19v-5a0.21,0.21 0,0 0,-0.13 -0.19,0.68 0.68,0 0,0 -0.6,0 0.2,0.2 0,0 0,-0.12 0.19v5A0.21,0.21 0,0 0,11.31 23.47Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_bin.xml b/app/src/main/res/drawable/ic_bin.xml deleted file mode 100644 index 359bbdb..0000000 --- a/app/src/main/res/drawable/ic_bin.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/drawable/ic_db.xml b/app/src/main/res/drawable/ic_db.xml index 300f80f..ef271ba 100644 --- a/app/src/main/res/drawable/ic_db.xml +++ b/app/src/main/res/drawable/ic_db.xml @@ -1,36 +1,10 @@ - - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM2.02,21.02a0.42,0.42 0,0 1,0.11 -0.28,0.3 0.3,0 0,1 0.25,-0.14 0.42,0.42 0,0 1,0.22 0.09c0.08,0.07 0.16,0.13 0.24,0.21a1.42,1.42 0,0 0,0.36 0.21,1.63 1.63,0 0,0 0.55,0.09 1.22,1.22 0,0 0,0.73 -0.2,0.7 0.7,0 0,0 0.28,-0.6 0.77,0.77 0,0 0,-0.27 -0.6,1.89 1.89,0 0,0 -0.65,-0.38l-0.76,-0.31a1.67,1.67 0,0 1,-0.65 -0.5,1.27 1.27,0 0,1 -0.27,-0.83 1.34,1.34 0,0 1,0.16 -0.68,1.08 1.08,0 0,1 0.45,-0.45 2.13,2.13 0,0 1,0.59 -0.23,2.7 2.7,0 0,1 0.65,-0.07l0.45,0a3.89,3.89 0,0 1,0.47 0.09,1.21 1.21,0 0,1 0.38,0.17 0.31,0.31 0,0 1,0.15 0.25,0.55 0.55,0 0,1 -0.09,0.29 0.31,0.31 0,0 1,-0.26 0.14,0.63 0.63,0 0,1 -0.21,-0.07 2.34,2.34 0,0 0,-0.37 -0.15,2 2,0 0,0 -0.52,-0.07 1.38,1.38 0,0 0,-0.73 0.17,0.57 0.57,0 0,0 -0.27,0.52 0.6,0.6 0,0 0,0.14 0.39,1.29 1.29,0 0,0 0.37,0.26l0.51,0.21c0.19,0.07 0.37,0.15 0.56,0.24a2.8,2.8 0,0 1,0.5 0.31,1.25 1.25,0 0,1 0.37,0.49 1.58,1.58 0,0 1,0.15 0.71,1.43 1.43,0 0,1 -0.5,1.18 2.05,2.05 0,0 1,-1.33 0.41A2.57,2.57 0,0 1,2.5 21.62Q2.02,21.33 2.02,21.02ZM6.35,20.22L6.35,18.04a1.54,1.54 0,0 1,0.49 -1.27,2.33 2.33,0 0,1 2.61,0 1.54,1.54 0,0 1,0.49 1.27v2.18a1.62,1.62 0,0 1,-0.4 1.19,1.74 1.74,0 0,1 -1.11,0.47v0.52a0.26,0.26 0,0 1,-0.08 0.19,0.31 0.31,0 0,1 -0.21,0.07 0.26,0.26 0,0 1,-0.19 -0.07,0.23 0.23,0 0,1 -0.09,-0.19v-0.52a1.76,1.76 0,0 1,-1.1 -0.46A1.63,1.63 0,0 1,6.35 20.22ZM7.2,20.22c0,0.53 0.22,0.84 0.66,0.92v-0.46c0,-0.16 0.1,-0.25 0.28,-0.25a0.37,0.37 0,0 1,0.21 0.06,0.26 0.26,0 0,1 0.08,0.19v0.45a0.8,0.8 0,0 0,0.67 -0.91L9.1,18.04a1,1 0,0 0,-0.25 -0.73,1 1,0 0,0 -0.71,-0.23 0.84,0.84 0,0 0,-0.94 1ZM10.94,21.58v-5a0.22,0.22 0,0 1,0.12 -0.2,0.78 0.78,0 0,1 0.6,0 0.22,0.22 0,0 1,0.12 0.2v4.51h2.08a0.21,0.21 0,0 1,0.19 0.11,0.4 0.4,0 0,1 0.07,0.24 0.41,0.41 0,0 1,-0.07 0.25,0.21 0.21,0 0,1 -0.19,0.11L11.31,21.8a0.45,0.45 0,0 1,-0.26 -0.08A0.2,0.2 0,0 1,10.94 21.58Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_doc.xml b/app/src/main/res/drawable/ic_doc.xml index 8b52b5f..130407d 100644 --- a/app/src/main/res/drawable/ic_doc.xml +++ b/app/src/main/res/drawable/ic_doc.xml @@ -1,33 +1,10 @@ - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM2.13,21.73a0.45,0.45 0,0 0,0.27 0.07h1.41a2,2 0,0 0,1.31 -0.4,1.54 1.54,0 0,0 0.49,-1.27L5.61,18a1.55,1.55 0,0 0,-0.49 -1.27,2 2,0 0,0 -1.31,-0.4L2.4,16.33a0.45,0.45 0,0 0,-0.27 0.07,0.22 0.22,0 0,0 -0.11,0.18v5A0.22,0.22 0,0 0,2.13 21.73ZM2.87,17.03h0.94a0.85,0.85 0,0 1,1 1v2.13a0.84,0.84 0,0 1,-1 1h-0.94ZM7.04,21.45a2,2 0,0 0,1.3 0.4,2.07 2.07,0 0,0 1.31,-0.4 1.55,1.55 0,0 0,0.49 -1.27L10.14,18a1.55,1.55 0,0 0,-0.49 -1.27,2 2,0 0,0 -1.31,-0.4 2,2 0,0 0,-1.3 0.4,1.55 1.55,0 0,0 -0.49,1.27v2.18A1.55,1.55 0,0 0,7.04 21.45ZM7.4,18a0.85,0.85 0,0 1,0.94 -1,0.86 0.86,0 0,1 0.95,1v2.18a0.86,0.86 0,0 1,-0.95 1,0.85 0.85,0 0,1 -0.94,-1ZM11.56,21.45a2,2 0,0 0,1.28 0.4,2.12 2.12,0 0,0 1.33,-0.39 1.24,1.24 0,0 0,0.5 -1,0.42 0.42,0 0,0 -0.1,-0.33 0.57,0.57 0,0 0,-0.33 -0.08c-0.26,0 -0.4,0.08 -0.42,0.26a1.78,1.78 0,0 1,0 0.28,1.65 1.65,0 0,1 -0.11,0.26 0.59,0.59 0,0 1,-0.28 0.23,1.34 1.34,0 0,1 -0.48,0.08 0.87,0.87 0,0 1,-1 -1L11.95,18a0.86,0.86 0,0 1,1 -1c0.6,0 0.91,0.27 0.94,0.8 0,0.18 0.15,0.27 0.43,0.27a0.45,0.45 0,0 0,0.32 -0.09,0.41 0.41,0 0,0 0.1,-0.33 1.18,1.18 0,0 0,-0.5 -1,2.13 2.13,0 0,0 -1.32,-0.38 2,2 0,0 0,-1.28 0.4,1.55 1.55,0 0,0 -0.49,1.27v2.18A1.58,1.58 0,0 0,11.56 21.45Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_document.xml b/app/src/main/res/drawable/ic_document.xml deleted file mode 100644 index 904d5fc..0000000 --- a/app/src/main/res/drawable/ic_document.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_docx.xml b/app/src/main/res/drawable/ic_docx.xml deleted file mode 100644 index 0c1d2dc..0000000 --- a/app/src/main/res/drawable/ic_docx.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/drawable/ic_exe.xml b/app/src/main/res/drawable/ic_exe.xml new file mode 100644 index 0000000..173af2b --- /dev/null +++ b/app/src/main/res/drawable/ic_exe.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_gif.xml b/app/src/main/res/drawable/ic_gif.xml index d858e0b..baf6fb1 100644 --- a/app/src/main/res/drawable/ic_gif.xml +++ b/app/src/main/res/drawable/ic_gif.xml @@ -1,27 +1,10 @@ - - + android:pathData="M45,43.71a0.5,0.5 0,0 1,-0.5 -0.5L44.5,21.4l-6.73,-7.69L24,13.71a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L38.18,12.71L45.45,21L45.45,43.21A0.5,0.5 0,0 1,45 43.71ZM43,24a0.5,0.5 0,0 0,-0.5 -0.5L39.24,23.5a0.78,0.78 0,0 1,-0.79 -0.78L38.45,18.83a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,43 24ZM24,36.31a2.3,2.3 0,0 0,2.62 0,1.56 1.56,0 0,0 0.49,-1.26v-1a0.26,0.26 0,0 0,-0.08 -0.19,0.24 0.24,0 0,0 -0.2,-0.08L25.45,33.78a0.25,0.25 0,0 0,-0.2 0.09,0.36 0.36,0 0,0 -0.07,0.22 0.32,0.32 0,0 0,0.07 0.22,0.26 0.26,0 0,0 0.2,0.1h0.81L26.26,35a0.86,0.86 0,0 1,-1 1,0.85 0.85,0 0,1 -0.95,-1L24.31,32.87a0.85,0.85 0,0 1,0.95 -1,0.84 0.84,0 0,1 1,0.8c0,0.18 0.15,0.26 0.42,0.26a0.5,0.5 0,0 0,0.33 -0.08,0.38 0.38,0 0,0 0.1,-0.3 1.18,1.18 0,0 0,-0.51 -1,2.11 2.11,0 0,0 -1.32,-0.38 1.94,1.94 0,0 0,-1.28 0.4,1.57 1.57,0 0,0 -0.48,1.27v2.18A1.56,1.56 0,0 0,24 36.31ZM28.15,36.6a0.54,0.54 0,0 0,0.29 0.07,0.56 0.56,0 0,0 0.3,-0.07 0.21,0.21 0,0 0,0.13 -0.19v-5a0.2,0.2 0,0 0,-0.13 -0.19,0.67 0.67,0 0,0 -0.3,-0.06 0.73,0.73 0,0 0,-0.3 0.06,0.21 0.21,0 0,0 -0.12,0.19v5A0.21,0.21 0,0 0,28.15 36.6ZM30.05,36.6a0.68,0.68 0,0 0,0.6 0,0.2 0.2,0 0,0 0.12,-0.19L30.77,34.25L32,34.25a0.23,0.23 0,0 0,0.2 -0.1,0.31 0.31,0 0,0 0.07,-0.21 0.35,0.35 0,0 0,-0.07 -0.23,0.24 0.24,0 0,0 -0.2,-0.09L30.77,33.62L30.77,31.9h2.34a0.23,0.23 0,0 0,0.2 -0.1,0.44 0.44,0 0,0 0.07,-0.26 0.4,0.4 0,0 0,-0.07 -0.24,0.21 0.21,0 0,0 -0.2,-0.1L30.3,31.2a0.44,0.44 0,0 0,-0.26 0.07,0.22 0.22,0 0,0 -0.12,0.19v4.95A0.21,0.21 0,0 0,30.05 36.6Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_html.xml b/app/src/main/res/drawable/ic_html.xml index d4f8bf1..72fc0f2 100644 --- a/app/src/main/res/drawable/ic_html.xml +++ b/app/src/main/res/drawable/ic_html.xml @@ -1,27 +1,10 @@ - - + android:pathData="M25.1,31a0.5,0.5 0,0 1,-0.5 -0.5L24.6,8.68l-6.73,-7.68L4.1,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L18.33,-0l7.27,8.31L25.6,30.5A0.5,0.5 0,0 1,25.1 31ZM23.1,8.95a0.5,0.5 0,0 0,-0.5 -0.5L19.39,8.45a0.79,0.79 0,0 1,-0.79 -0.79L18.6,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79L22.6,9.43A0.5,0.5 0,0 0,23.1 8.95ZM0,21.79v-5a0.21,0.21 0,0 1,0.13 -0.19,0.67 0.67,0 0,1 0.3,-0.06 0.73,0.73 0,0 1,0.3 0.06,0.22 0.22,0 0,1 0.12,0.19L0.85,18.95h2L2.85,16.83a0.21,0.21 0,0 1,0.13 -0.19,0.67 0.67,0 0,1 0.3,-0.06 0.73,0.73 0,0 1,0.3 0.06,0.22 0.22,0 0,1 0.12,0.19v5a0.21,0.21 0,0 1,-0.12 0.19,0.6 0.6,0 0,1 -0.3,0.07 0.58,0.58 0,0 1,-0.3 -0.07,0.22 0.22,0 0,1 -0.13,-0.19L2.85,19.53h-2v2.26a0.21,0.21 0,0 1,-0.12 0.19,0.68 0.68,0 0,1 -0.6,0A0.22,0.22 0,0 1,0 21.79ZM4.33,16.95a0.52,0.52 0,0 1,0.07 -0.25,0.25 0.25,0 0,1 0.21,-0.11h3.32a0.23,0.23 0,0 1,0.21 0.11,0.47 0.47,0 0,1 0,0.51 0.21,0.21 0,0 1,-0.2 0.11L6.7,17.32v4.48a0.2,0.2 0,0 1,-0.13 0.19,0.56 0.56,0 0,1 -0.3,0.07 0.6,0.6 0,0 1,-0.3 -0.07,0.21 0.21,0 0,1 -0.12,-0.19L5.85,17.31L4.61,17.31a0.22,0.22 0,0 1,-0.2 -0.11A0.45,0.45 0,0 1,4.33 16.95ZM8.85,21.8L8.85,16.95a0.35,0.35 0,0 1,0.12 -0.3,0.44 0.44,0 0,1 0.3,-0.1 0.69,0.69 0,0 1,0.38 0.09,1 1,0 0,1 0.3,0.36l1.12,2 1.13,-2a1,1 0,0 1,0.29 -0.36,0.71 0.71,0 0,1 0.38,-0.09 0.44,0.44 0,0 1,0.3 0.1,0.35 0.35,0 0,1 0.12,0.3v4.81a0.21,0.21 0,0 1,-0.12 0.19,0.6 0.6,0 0,1 -0.3,0.07 0.58,0.58 0,0 1,-0.3 -0.07,0.22 0.22,0 0,1 -0.13,-0.19L12.44,18.2L11.37,20.05a0.36,0.36 0,0 1,-0.31 0.18,0.31 0.31,0 0,1 -0.29,-0.18L9.7,18.15v3.64a0.2,0.2 0,0 1,-0.13 0.19,0.56 0.56,0 0,1 -0.3,0.07 0.54,0.54 0,0 1,-0.29 -0.07A0.2,0.2 0,0 1,8.85 21.79ZM14.35,21.8v-5a0.22,0.22 0,0 1,0.12 -0.19,0.78 0.78,0 0,1 0.6,0 0.22,0.22 0,0 1,0.12 0.19L15.19,21.35h2.08a0.21,0.21 0,0 1,0.19 0.11,0.4 0.4,0 0,1 0.07,0.24 0.41,0.41 0,0 1,-0.07 0.25,0.21 0.21,0 0,1 -0.19,0.1L14.72,22.05a0.44,0.44 0,0 1,-0.26 -0.07A0.2,0.2 0,0 1,14.35 21.79Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_jar.xml b/app/src/main/res/drawable/ic_jar.xml new file mode 100644 index 0000000..272d182 --- /dev/null +++ b/app/src/main/res/drawable/ic_jar.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_java.xml b/app/src/main/res/drawable/ic_java.xml new file mode 100644 index 0000000..42ec0a4 --- /dev/null +++ b/app/src/main/res/drawable/ic_java.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_m4a.xml b/app/src/main/res/drawable/ic_m4a.xml new file mode 100644 index 0000000..779606b --- /dev/null +++ b/app/src/main/res/drawable/ic_m4a.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_mkv.xml b/app/src/main/res/drawable/ic_mkv.xml index 3ac8b97..a1efcdf 100644 --- a/app/src/main/res/drawable/ic_mkv.xml +++ b/app/src/main/res/drawable/ic_mkv.xml @@ -1,27 +1,10 @@ - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.69l-6.73,-7.69L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0L24.95,8.29L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,11.29a0.5,0.5 0,0 0,-0.5 -0.5L18.74,10.79a0.78,0.78 0,0 1,-0.79 -0.78L17.95,6.12a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,22.5 11.29ZM1.38,24.18a0.54,0.54 0,0 0,0.29 0.07,0.56 0.56,0 0,0 0.3,-0.07 0.23,0.23 0,0 0,0.13 -0.19L2.1,20.35L3.17,22.29a0.31,0.31 0,0 0,0.29 0.18,0.37 0.37,0 0,0 0.31,-0.18l1.07,-1.85L4.84,23.99a0.21,0.21 0,0 0,0.13 0.19,0.54 0.54,0 0,0 0.29,0.07 0.56,0.56 0,0 0,0.3 -0.07,0.21 0.21,0 0,0 0.13,-0.19L5.69,19.18a0.35,0.35 0,0 0,-0.12 -0.3,0.45 0.45,0 0,0 -0.31,-0.1 0.68,0.68 0,0 0,-0.37 0.09,0.94 0.94,0 0,0 -0.29,0.36l-1.14,2 -1.12,-2a0.86,0.86 0,0 0,-0.29 -0.36,0.71 0.71,0 0,0 -0.38,-0.09 0.44,0.44 0,0 0,-0.3 0.1,0.35 0.35,0 0,0 -0.12,0.3L1.25,23.99A0.21,0.21 0,0 0,1.38 24.18ZM6.87,24.18a0.6,0.6 0,0 0,0.3 0.07,0.58 0.58,0 0,0 0.3,-0.07 0.22,0.22 0,0 0,0.12 -0.19L7.59,22.43l0.52,-0.62 1.63,2.32a0.35,0.35 0,0 0,0.31 0.15,0.58 0.58,0 0,0 0.34,-0.13A0.34,0.34 0,0 0,10.5 23.89a0.28,0.28 0,0 0,0 -0.15l-1.83,-2.59 1.54,-1.8a0.25,0.25 0,0 0,0.06 -0.16,0.36 0.36,0 0,0 -0.16,-0.28 0.5,0.5 0,0 0,-0.33 -0.13,0.3 0.3,0 0,0 -0.24,0.11L7.59,21.29L7.59,19.03a0.21,0.21 0,0 0,-0.12 -0.19,0.7 0.7,0 0,0 -0.3,-0.06 0.67,0.67 0,0 0,-0.3 0.06,0.22 0.22,0 0,0 -0.13,0.19v5A0.23,0.23 0,0 0,6.87 24.18ZM10.66,19.18 L12.25,24.03q0.11,0.27 0.54,0.27a0.89,0.89 0,0 0,0.34 -0.07,0.33 0.33,0 0,0 0.19,-0.2l1.59,-4.86a0.18,0.18 0,0 0,0 -0.06,0.26 0.26,0 0,0 -0.17,-0.23 0.65,0.65 0,0 0,-0.36 -0.1c-0.15,0 -0.25,0.05 -0.29,0.16l-1.31,4.27L11.5,18.94c0,-0.11 -0.14,-0.16 -0.29,-0.16a0.65,0.65 0,0 0,-0.36 0.1,0.26 0.26,0 0,0 -0.17,0.23A0.15,0.15 0,0 0,10.66 19.18Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_mov.xml b/app/src/main/res/drawable/ic_mov.xml index 9f903da..49cb9e7 100644 --- a/app/src/main/res/drawable/ic_mov.xml +++ b/app/src/main/res/drawable/ic_mov.xml @@ -1,30 +1,13 @@ - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95Z" + android:fillColor="#428dff"/> + android:pathData="M1.23,21.5L1.23,16.68a0.38,0.38 0,0 1,0.12 -0.3,0.49 0.49,0 0,1 0.3,-0.09 0.71,0.71 0,0 1,0.38 0.09,1 1,0 0,1 0.3,0.36l1.12,2 1.13,-2a0.94,0.94 0,0 1,0.29 -0.36,0.69 0.69,0 0,1 0.38,-0.09 0.49,0.49 0,0 1,0.3 0.09,0.38 0.38,0 0,1 0.12,0.3v4.82a0.21,0.21 0,0 1,-0.13 0.19,0.54 0.54,0 0,1 -0.29,0.07 0.56,0.56 0,0 1,-0.3 -0.07,0.21 0.21,0 0,1 -0.13,-0.19L4.82,17.95l-1.07,1.85a0.36,0.36 0,0 1,-0.31 0.18,0.31 0.31,0 0,1 -0.29,-0.18l-1.07,-1.9v3.64a0.21,0.21 0,0 1,-0.13 0.19,0.56 0.56,0 0,1 -0.3,0.07 0.54,0.54 0,0 1,-0.29 -0.07A0.21,0.21 0,0 1,1.23 21.5ZM6.67,20.14L6.67,17.95a1.54,1.54 0,0 1,0.49 -1.27,2 2,0 0,1 1.3,-0.4 2,2 0,0 1,1.31 0.4A1.54,1.54 0,0 1,10.26 17.95v2.18a1.53,1.53 0,0 1,-0.49 1.26,2 2,0 0,1 -1.31,0.41 2,2 0,0 1,-1.3 -0.41A1.53,1.53 0,0 1,6.67 20.14ZM7.52,20.14a0.84,0.84 0,0 0,0.94 1,1 1,0 0,0 0.71,-0.24 1,1 0,0 0,0.24 -0.72L9.41,17.95a1,1 0,0 0,-0.24 -0.73A1,1 0,0 0,8.5 16.95c-0.63,0 -0.94,0.32 -0.94,1ZM10.83,16.62a0.28,0.28 0,0 1,0.17 -0.24,0.74 0.74,0 0,1 0.36,-0.09c0.16,0 0.26,0.05 0.29,0.16l1.32,4.27 1.32,-4.27c0,-0.11 0.13,-0.16 0.28,-0.16a0.74,0.74 0,0 1,0.36 0.09,0.28 0.28,0 0,1 0.17,0.24 0.18,0.18 0,0 1,0 0.06L13.5,21.54a0.31,0.31 0,0 1,-0.19 0.2,0.89 0.89,0 0,1 -0.34,0.07c-0.29,0 -0.47,-0.09 -0.53,-0.27l-1.6,-4.86S10.83,16.65 10.83,16.62Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_mp3.xml b/app/src/main/res/drawable/ic_mp3.xml index effbb4a..32c4044 100644 --- a/app/src/main/res/drawable/ic_mp3.xml +++ b/app/src/main/res/drawable/ic_mp3.xml @@ -1,30 +1,10 @@ - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM2.27,21.59L2.27,16.78a0.35,0.35 0,0 1,0.12 -0.3,0.45 0.45,0 0,1 0.31,-0.1 0.74,0.74 0,0 1,0.38 0.09,1.28 1.28,0 0,1 0.29,0.36l1.12,2 1.13,-2a1.28,1.28 0,0 1,0.29 -0.36,0.71 0.71,0 0,1 0.38,-0.09 0.44,0.44 0,0 1,0.3 0.1,0.35 0.35,0 0,1 0.12,0.3v4.81a0.21,0.21 0,0 1,-0.12 0.19,0.61 0.61,0 0,1 -0.3,0.08 0.58,0.58 0,0 1,-0.3 -0.08,0.22 0.22,0 0,1 -0.13,-0.19L5.86,18l-1.07,1.86a0.36,0.36 0,0 1,-0.31 0.18,0.31 0.31,0 0,1 -0.29,-0.18L3.12,17.95v3.64a0.21,0.21 0,0 1,-0.12 0.19,0.61 0.61,0 0,1 -0.3,0.08 0.56,0.56 0,0 1,-0.3 -0.08A0.2,0.2 0,0 1,2.27 21.59ZM7.77,21.59L7.77,16.64a0.23,0.23 0,0 1,0.09 -0.18,0.36 0.36,0 0,1 0.23,-0.08h1.57a1.9,1.9 0,0 1,1.27 0.4,1.52 1.52,0 0,1 0.48,1.25v0.06a1.53,1.53 0,0 1,-0.49 1.25,2 2,0 0,1 -1.31,0.4h-1v1.85a0.22,0.22 0,0 1,-0.13 0.19,0.56 0.56,0 0,1 -0.3,0.08 0.61,0.61 0,0 1,-0.3 -0.08A0.21,0.21 0,0 1,7.77 21.59ZM8.62,19.12h1a1,1 0,0 0,0.7 -0.25,1 1,0 0,0 0.25,-0.73L10.57,18.05a0.93,0.93 0,0 0,-0.25 -0.72,1 1,0 0,0 -0.7,-0.24h-1ZM11.79,20.58a0.3,0.3 0,0 1,0.09 -0.26,0.47 0.47,0 0,1 0.3,-0.07 0.59,0.59 0,0 1,0.35 0.07,0.26 0.26,0 0,1 0.09,0.23 0.56,0.56 0,0 0,0.25 0.46,1.14 1.14,0 0,0 0.7,0.19A1.08,1.08 0,0 0,14.3 20.95a0.94,0.94 0,0 0,0.24 -0.71v-0.14c0,-0.55 -0.33,-0.82 -1,-0.82 -0.18,0 -0.27,-0.1 -0.27,-0.31s0.09,-0.32 0.27,-0.32a1,1 0,0 0,0.62 -0.17,0.82 0.82,0 0,0 0.21,-0.65c0,-0.52 -0.27,-0.77 -0.8,-0.77a0.93,0.93 0,0 0,-0.64 0.17,0.56 0.56,0 0,0 -0.19,0.43c0,0.22 -0.13,0.32 -0.4,0.32A0.61,0.61 0,0 1,12 17.95a0.42,0.42 0,0 1,-0.08 -0.29,1.19 1.19,0 0,1 0.08,-0.41 1.3,1.3 0,0 1,0.26 -0.4,1.15 1.15,0 0,1 0.53,-0.33 2.22,2.22 0,0 1,0.81 -0.13c1.07,0 1.61,0.45 1.61,1.34a1.74,1.74 0,0 1,-0.17 0.79,1 1,0 0,1 -0.47,0.46 1.13,1.13 0,0 1,0.81 1.16v0.14a1.49,1.49 0,0 1,-0.5 1.24,2.11 2.11,0 0,1 -1.32,0.39 1.91,1.91 0,0 1,-1.32 -0.4A1.22,1.22 0,0 1,11.79 20.58Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_mp4.xml b/app/src/main/res/drawable/ic_mp4.xml index e5162b5..3a829b3 100644 --- a/app/src/main/res/drawable/ic_mp4.xml +++ b/app/src/main/res/drawable/ic_mp4.xml @@ -1,33 +1,10 @@ - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM1.79,21.58L1.79,16.77a0.35,0.35 0,0 1,0.12 -0.3,0.46 0.46,0 0,1 0.31,-0.1 0.74,0.74 0,0 1,0.38 0.09,1.13 1.13,0 0,1 0.29,0.36l1.12,2 1.14,-2a1.12,1.12 0,0 1,0.28 -0.36,0.74 0.74,0 0,1 0.38,-0.09 0.44,0.44 0,0 1,0.3 0.1,0.35 0.35,0 0,1 0.12,0.3v4.81a0.21,0.21 0,0 1,-0.12 0.19,0.56 0.56,0 0,1 -0.3,0.08 0.61,0.61 0,0 1,-0.3 -0.08,0.21 0.21,0 0,1 -0.12,-0.19L5.39,17.95L4.31,19.85a0.36,0.36 0,0 1,-0.31 0.18,0.32 0.32,0 0,1 -0.29,-0.18L2.64,17.95v3.64a0.21,0.21 0,0 1,-0.12 0.19,0.58 0.58,0 0,1 -0.3,0.08 0.61,0.61 0,0 1,-0.3 -0.08A0.22,0.22 0,0 1,1.79 21.58ZM7.29,21.58v-5a0.23,0.23 0,0 1,0.09 -0.18,0.36 0.36,0 0,1 0.24,-0.08h1.56a1.88,1.88 0,0 1,1.27 0.4,1.52 1.52,0 0,1 0.48,1.25v0.06a1.5,1.5 0,0 1,-0.49 1.25,2 2,0 0,1 -1.31,0.4h-1v1.85a0.2,0.2 0,0 1,-0.13 0.19,0.56 0.56,0 0,1 -0.3,0.08 0.55,0.55 0,0 1,-0.29 -0.08A0.2,0.2 0,0 1,7.29 21.58ZM8.14,19.1h1a0.86,0.86 0,0 0,0.95 -1v-0.09a1,1 0,0 0,-0.25 -0.73,1 1,0 0,0 -0.7,-0.23h-1ZM11.02,20.32a0.25,0.25 0,0 1,0.05 -0.16l1.93,-3.57a0.39,0.39 0,0 1,0.37 -0.22,0.54 0.54,0 0,1 0.28,0.09 0.24,0.24 0,0 1,0.14 0.22,0.24 0.24,0 0,1 0,0.12l-1.64,3.08h1.17v-1c0,-0.18 0.14,-0.27 0.43,-0.27a0.73,0.73 0,0 1,0.3 0.07,0.22 0.22,0 0,1 0.12,0.2v1L14.5,19.88a0.23,0.23 0,0 1,0.21 0.11,0.45 0.45,0 0,1 0.08,0.26 0.36,0.36 0,0 1,-0.09 0.24,0.24 0.24,0 0,1 -0.2,0.12h-0.39v1a0.2,0.2 0,0 1,-0.13 0.19,0.55 0.55,0 0,1 -0.29,0.08 0.56,0.56 0,0 1,-0.3 -0.08,0.2 0.2,0 0,1 -0.13,-0.19v-1h-2a0.32,0.32 0,0 1,-0.21 -0.08A0.29,0.29 0,0 1,11.02 20.32Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_mpeg.xml b/app/src/main/res/drawable/ic_mpeg.xml new file mode 100644 index 0000000..b44da16 --- /dev/null +++ b/app/src/main/res/drawable/ic_mpeg.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_music.xml b/app/src/main/res/drawable/ic_music.xml deleted file mode 100644 index 87c251a..0000000 --- a/app/src/main/res/drawable/ic_music.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_pdf.xml b/app/src/main/res/drawable/ic_pdf.xml index 76b651d..7deead4 100644 --- a/app/src/main/res/drawable/ic_pdf.xml +++ b/app/src/main/res/drawable/ic_pdf.xml @@ -1,33 +1,10 @@ - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,10.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,10.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,5.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 10.95ZM2.11,23.65a0.6,0.6 0,0 0,0.3 0.07,0.56 0.56,0 0,0 0.3,-0.07 0.22,0.22 0,0 0,0.12 -0.19L2.83,21.61h1a2,2 0,0 0,1.31 -0.4A1.53,1.53 0,0 0,5.62 19.95v-0.06a1.53,1.53 0,0 0,-0.47 -1.25,2 2,0 0,0 -1.28,-0.39L2.31,18.25a0.35,0.35 0,0 0,-0.23 0.07,0.24 0.24,0 0,0 -0.1,0.18v5A0.23,0.23 0,0 0,2.11 23.65ZM2.83,18.95h1a0.86,0.86 0,0 1,1 1v0.09a1,1 0,0 1,-0.25 0.73,1 1,0 0,1 -0.71,0.24h-1ZM6.5,23.65a0.45,0.45 0,0 0,0.27 0.07h1.42a2,2 0,0 0,1.3 -0.4,1.56 1.56,0 0,0 0.5,-1.27L9.99,19.95a1.54,1.54 0,0 0,-0.5 -1.27,2 2,0 0,0 -1.3,-0.4L6.72,18.28a0.45,0.45 0,0 0,-0.27 0.07,0.22 0.22,0 0,0 -0.11,0.18v5A0.22,0.22 0,0 0,6.5 23.65ZM7.24,18.95h0.95a0.85,0.85 0,0 1,0.95 1L9.14,22.05a0.85,0.85 0,0 1,-0.95 1h-0.95ZM11.11,23.65a0.54,0.54 0,0 0,0.29 0.07,0.56 0.56,0 0,0 0.3,-0.07 0.22,0.22 0,0 0,0.13 -0.19L11.83,21.29h1.24a0.24,0.24 0,0 0,0.2 -0.09,0.31 0.31,0 0,0 0.07,-0.21 0.42,0.42 0,0 0,-0.07 -0.23,0.25 0.25,0 0,0 -0.2,-0.09L11.78,20.67L11.78,18.95h2.33a0.22,0.22 0,0 0,0.2 -0.1,0.44 0.44,0 0,0 0.07,-0.26 0.45,0.45 0,0 0,-0.06 -0.24,0.24 0.24,0 0,0 -0.21,-0.1L11.3,18.25a0.44,0.44 0,0 0,-0.26 0.07,0.21 0.21,0 0,0 -0.11,0.19v4.95A0.2,0.2 0,0 0,11.06 23.65Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_ppt.xml b/app/src/main/res/drawable/ic_ppt.xml index 82b9fd0..a0b281e 100644 --- a/app/src/main/res/drawable/ic_ppt.xml +++ b/app/src/main/res/drawable/ic_ppt.xml @@ -1,33 +1,10 @@ - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM1.9,21.73a0.54,0.54 0,0 0,0.29 0.07,0.62 0.62,0 0,0 0.31,-0.07 0.21,0.21 0,0 0,0.12 -0.19L2.62,19.69h1a2,2 0,0 0,1.31 -0.4,1.51 1.51,0 0,0 0.49,-1.25L5.42,17.95a1.55,1.55 0,0 0,-0.47 -1.25,1.92 1.92,0 0,0 -1.28,-0.4L2.1,16.3a0.36,0.36 0,0 0,-0.24 0.07,0.23 0.23,0 0,0 -0.09,0.18v5A0.2,0.2 0,0 0,1.9 21.73ZM2.62,17.03h1a0.94,0.94 0,0 1,0.7 0.24,1 1,0 0,1 0.25,0.73v0.09a1,1 0,0 1,-0.25 0.73,0.94 0.94,0 0,1 -0.7,0.24h-1ZM6.26,21.73a0.56,0.56 0,0 0,0.3 0.07,0.54 0.54,0 0,0 0.29,-0.07 0.2,0.2 0,0 0,0.13 -0.19L6.98,19.69h1a2,2 0,0 0,1.31 -0.4,1.51 1.51,0 0,0 0.49,-1.25L9.78,17.95a1.52,1.52 0,0 0,-0.48 -1.25,1.88 1.88,0 0,0 -1.27,-0.4L6.5,16.3a0.36,0.36 0,0 0,-0.24 0.07,0.23 0.23,0 0,0 -0.09,0.18v5A0.2,0.2 0,0 0,6.26 21.73ZM6.98,17.03h1a0.86,0.86 0,0 1,1 1v0.09a0.86,0.86 0,0 1,-1 1h-1ZM10.15,16.95a0.22,0.22 0,0 0,0.2 0.11h1.24v4.48a0.22,0.22 0,0 0,0.13 0.19,0.56 0.56,0 0,0 0.3,0.07 0.54,0.54 0,0 0,0.29 -0.07,0.2 0.2,0 0,0 0.13,-0.19L12.44,17.06h1.23a0.23,0.23 0,0 0,0.21 -0.11,0.46 0.46,0 0,0 0.08,-0.27 0.41,0.41 0,0 0,-0.08 -0.24,0.24 0.24,0 0,0 -0.21,-0.11L10.35,16.33a0.22,0.22 0,0 0,-0.2 0.11,0.44 0.44,0 0,0 -0.08,0.25A0.45,0.45 0,0 0,10.15 16.95Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_rar.xml b/app/src/main/res/drawable/ic_rar.xml index 74a0053..0e4f604 100644 --- a/app/src/main/res/drawable/ic_rar.xml +++ b/app/src/main/res/drawable/ic_rar.xml @@ -1,36 +1,10 @@ - - - - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,10.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,10.45a0.78,0.78 0,0 1,-0.79 -0.78L17.95,5.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,22.5 10.95ZM1.92,23.8a0.65,0.65 0,0 0,0.29 0.07,0.66 0.66,0 0,0 0.3,-0.07 0.23,0.23 0,0 0,0.12 -0.2L2.63,21.51h0.81l1.17,2.15a0.38,0.38 0,0 0,0.34 0.23,0.52 0.52,0 0,0 0.34,-0.13 0.36,0.36 0,0 0,0.17 -0.28,0.23 0.23,0 0,0 0,-0.11l-1.12,-2a1.48,1.48 0,0 0,0.82 -0.48,1.55 1.55,0 0,0 0.3,-1c0,-1 -0.61,-1.53 -1.84,-1.53L2.07,18.36a0.3,0.3 0,0 0,-0.2 0.08,0.25 0.25,0 0,0 -0.08,0.18v5A0.21,0.21 0,0 0,1.92 23.8ZM2.63,19.1h1c0.66,0 1,0.29 1,0.89s-0.34,0.89 -1,0.89h-1ZM6.02,23.77a0.75,0.75 0,0 0,0.36 0.1c0.16,0 0.26,-0.06 0.29,-0.17l0.33,-1.07h2l0.33,1.07c0,0.11 0.14,0.17 0.31,0.17a1,1 0,0 0,0.4 -0.1,0.29 0.29,0 0,0 0.18,-0.25 0.23,0.23 0,0 0,0 -0.07l-1.59,-4.85c-0.06,-0.17 -0.26,-0.25 -0.57,-0.25s-0.5,0.09 -0.57,0.27l-1.59,4.85a0.15,0.15 0,0 0,0 0.07A0.27,0.27 0,0 0,6.02 23.77ZM8.02,19.43 L8.82,22L7.19,22ZM10.93,23.8a0.65,0.65 0,0 0,0.29 0.07,0.73 0.73,0 0,0 0.3,-0.07 0.23,0.23 0,0 0,0.12 -0.2L11.64,21.51h0.81l1.17,2.15a0.37,0.37 0,0 0,0.33 0.23,0.53 0.53,0 0,0 0.35,-0.13 0.35,0.35 0,0 0,0.16 -0.28,0.23 0.23,0 0,0 0,-0.11l-1.12,-2A1.51,1.51 0,0 0,14.1 20.95a1.55,1.55 0,0 0,0.3 -1c0,-1 -0.61,-1.53 -1.84,-1.53L11.04,18.42a0.28,0.28 0,0 0,-0.2 0.08,0.25 0.25,0 0,0 -0.08,0.18v5A0.21,0.21 0,0 0,10.89 23.8ZM11.64,19.1h1c0.66,0 1,0.29 1,0.89s-0.33,0.89 -1,0.89h-1Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_svg.xml b/app/src/main/res/drawable/ic_svg.xml new file mode 100644 index 0000000..e4ce22c --- /dev/null +++ b/app/src/main/res/drawable/ic_svg.xml @@ -0,0 +1,13 @@ + + + + diff --git a/app/src/main/res/drawable/ic_tar.xml b/app/src/main/res/drawable/ic_tar.xml new file mode 100644 index 0000000..af9cedf --- /dev/null +++ b/app/src/main/res/drawable/ic_tar.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_txt.xml b/app/src/main/res/drawable/ic_txt.xml index 026777e..bb6c81a 100644 --- a/app/src/main/res/drawable/ic_txt.xml +++ b/app/src/main/res/drawable/ic_txt.xml @@ -1,27 +1,10 @@ - - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM2.37,16.95a0.22,0.22 0,0 0,0.2 0.11h1.24v4.48a0.23,0.23 0,0 0,0.13 0.19,0.56 0.56,0 0,0 0.3,0.07 0.6,0.6 0,0 0,0.3 -0.07,0.22 0.22,0 0,0 0.12,-0.19L4.66,17.02L5.9,17.02a0.22,0.22 0,0 0,0.2 -0.11,0.45 0.45,0 0,0 0.07,-0.27 0.43,0.43 0,0 0,-0.07 -0.25,0.22 0.22,0 0,0 -0.2,-0.1L2.57,16.29a0.21,0.21 0,0 0,-0.2 0.11,0.44 0.44,0 0,0 -0.08,0.25A0.45,0.45 0,0 0,2.37 16.95ZM6.61,21.71a0.65,0.65 0,0 0,0.36 0.12,0.34 0.34,0 0,0 0.28,-0.18l1.16,-2 1.19,2a0.29,0.29 0,0 0,0.26 0.18,0.65 0.65,0 0,0 0.37,-0.12 0.33,0.33 0,0 0,0.18 -0.27,0.32 0.32,0 0,0 -0.05,-0.16l-1.39,-2.22 1.35,-2.2a0.41,0.41 0,0 0,0.06 -0.2,0.29 0.29,0 0,0 -0.17,-0.25 0.65,0.65 0,0 0,-0.36 -0.1,0.36 0.36,0 0,0 -0.32,0.22l-1.12,1.92 -1.1,-1.92a0.36,0.36 0,0 0,-0.32 -0.22,0.69 0.69,0 0,0 -0.37,0.1 0.31,0.31 0,0 0,-0.17 0.25,0.44 0.44,0 0,0 0.07,0.2l1.34,2.2L6.5,21.24a0.37,0.37 0,0 0,-0.05 0.16A0.33,0.33 0,0 0,6.61 21.67ZM10.74,16.95a0.22,0.22 0,0 0,0.2 0.11h1.24v4.48a0.21,0.21 0,0 0,0.13 0.19,0.56 0.56,0 0,0 0.3,0.07 0.54,0.54 0,0 0,0.29 -0.07,0.21 0.21,0 0,0 0.13,-0.19L13.03,17.02h1.23A0.23,0.23 0,0 0,14.5 16.95a0.45,0.45 0,0 0,0.07 -0.27,0.43 0.43,0 0,0 -0.07,-0.25 0.24,0.24 0,0 0,-0.21 -0.1L10.94,16.33a0.23,0.23 0,0 0,-0.21 0.11,0.52 0.52,0 0,0 -0.07,0.25A0.45,0.45 0,0 0,10.74 16.95Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_unknown.xml b/app/src/main/res/drawable/ic_unknown.xml index 6031706..4b07cf0 100644 --- a/app/src/main/res/drawable/ic_unknown.xml +++ b/app/src/main/res/drawable/ic_unknown.xml @@ -1,10 +1,10 @@ + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.78,0.78 0,0 1,-0.79 -0.78L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,22.5 8.95ZM6.68,21.71a0.49,0.49 0,0 0,0.34 -0.12,0.38 0.38,0 0,0 0.15,-0.29 0.35,0.35 0,0 0,-0.15 -0.29,0.49 0.49,0 0,0 -0.34,-0.12 0.51,0.51 0,0 0,-0.35 0.12,0.37 0.37,0 0,0 -0.14,0.29 0.38,0.38 0,0 0,0.14 0.29A0.51,0.51 0,0 0,6.68 21.71ZM8.16,21.71a0.52,0.52 0,0 0,0.34 -0.12,0.4 0.4,0 0,0 0.14,-0.29 0.37,0.37 0,0 0,-0.14 -0.29,0.52 0.52,0 0,0 -0.34,-0.12 0.54,0.54 0,0 0,-0.36 0.12,0.37 0.37,0 0,0 -0.14,0.29 0.38,0.38 0,0 0,0.14 0.29A0.54,0.54 0,0 0,8.16 21.71ZM9.63,21.71a0.52,0.52 0,0 0,0.34 -0.12,0.4 0.4,0 0,0 0.14,-0.29 0.37,0.37 0,0 0,-0.14 -0.29,0.52 0.52,0 0,0 -0.34,-0.12 0.51,0.51 0,0 0,-0.35 0.12,0.34 0.34,0 0,0 -0.14,0.29 0.35,0.35 0,0 0,0.14 0.29A0.51,0.51 0,0 0,9.63 21.71Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_video_file.xml b/app/src/main/res/drawable/ic_video_file.xml deleted file mode 100644 index 22fbb59..0000000 --- a/app/src/main/res/drawable/ic_video_file.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_visibility_off.xml b/app/src/main/res/drawable/ic_visibility_off.xml deleted file mode 100644 index 5a83dea..0000000 --- a/app/src/main/res/drawable/ic_visibility_off.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_visibility_on.xml b/app/src/main/res/drawable/ic_visibility_on.xml deleted file mode 100644 index a6f753e..0000000 --- a/app/src/main/res/drawable/ic_visibility_on.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_wav.xml b/app/src/main/res/drawable/ic_wav.xml new file mode 100644 index 0000000..9a72dff --- /dev/null +++ b/app/src/main/res/drawable/ic_wav.xml @@ -0,0 +1,13 @@ + + + + diff --git a/app/src/main/res/drawable/ic_webm.xml b/app/src/main/res/drawable/ic_webm.xml new file mode 100644 index 0000000..7c0fdf7 --- /dev/null +++ b/app/src/main/res/drawable/ic_webm.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_xls.xml b/app/src/main/res/drawable/ic_xls.xml index c9402a9..68f1ac3 100644 --- a/app/src/main/res/drawable/ic_xls.xml +++ b/app/src/main/res/drawable/ic_xls.xml @@ -1,10 +1,10 @@ + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,8.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,8.45a0.79,0.79 0,0 1,-0.79 -0.79L17.95,3.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.79h3.21A0.5,0.5 0,0 0,22.5 8.95ZM2.07,21.59a0.72,0.72 0,0 0,0.36 0.11,0.31 0.31,0 0,0 0.27,-0.18l1.17,-2 1.19,2a0.29,0.29 0,0 0,0.26 0.18,0.72 0.72,0 0,0 0.37,-0.11 0.34,0.34 0,0 0,0.18 -0.28,0.33 0.33,0 0,0 -0.06,-0.15L4.43,18.95l1.34,-2.2a0.35,0.35 0,0 0,0.07 -0.2,0.3 0.3,0 0,0 -0.17,-0.25 0.66,0.66 0,0 0,-0.36 -0.11,0.36 0.36,0 0,0 -0.32,0.23l-1.12,1.91 -1.1,-1.91a0.38,0.38 0,0 0,-0.32 -0.23,0.67 0.67,0 0,0 -0.37,0.11 0.3,0.3 0,0 0,-0.17 0.25,0.35 0.35,0 0,0 0.07,0.2L3.32,18.95l-1.38,2.22a0.26,0.26 0,0 0,-0.05 0.15A0.34,0.34 0,0 0,2.07 21.59ZM6.65,21.59a0.44,0.44 0,0 0,0.26 0.07L9.5,21.66a0.21,0.21 0,0 0,0.19 -0.11,0.4 0.4,0 0,0 0.07,-0.24 0.41,0.41 0,0 0,-0.07 -0.25A0.21,0.21 0,0 0,9.5 20.95L7.38,20.95L7.38,16.46a0.2,0.2 0,0 0,-0.12 -0.19,0.68 0.68,0 0,0 -0.6,0 0.21,0.21 0,0 0,-0.13 0.19v5A0.22,0.22 0,0 0,6.65 21.61ZM10.57,21.43a2.54,2.54 0,0 0,1.25 0.29,2.07 2.07,0 0,0 1.33,-0.41 1.43,1.43 0,0 0,0.5 -1.18,1.58 1.58,0 0,0 -0.15,-0.71 1.25,1.25 0,0 0,-0.37 -0.49,3.52 3.52,0 0,0 -0.5,-0.31c-0.19,-0.09 -0.37,-0.17 -0.56,-0.24a4.18,4.18 0,0 1,-0.51 -0.2,1.14 1.14,0 0,1 -0.37,-0.27 0.62,0.62 0,0 1,0.13 -0.9,1.29 1.29,0 0,1 0.73,-0.17 1.68,1.68 0,0 1,0.52 0.07,2.26 2.26,0 0,1 0.36,0.14 0.53,0.53 0,0 0,0.22 0.07,0.31 0.31,0 0,0 0.26,-0.14 0.54,0.54 0,0 0,0.09 -0.28,0.33 0.33,0 0,0 -0.15,-0.26 1.21,1.21 0,0 0,-0.38 -0.17,3.85 3.85,0 0,0 -0.47,-0.08l-0.45,0a3.51,3.51 0,0 0,-0.66 0.07,2.42 2.42,0 0,0 -0.58,0.23 1.21,1.21 0,0 0,-0.45 0.45,1.35 1.35,0 0,0 -0.16,0.69 1.29,1.29 0,0 0,0.27 0.83,1.65 1.65,0 0,0 0.65,0.49c0.26,0.11 0.51,0.22 0.76,0.31a2.06,2.06 0,0 1,0.65 0.38,0.8 0.8,0 0,1 0.27,0.61 0.67,0.67 0,0 1,-0.28 0.59,1.17 1.17,0 0,1 -0.73,0.21 1.63,1.63 0,0 1,-0.55 -0.1,1 1,0 0,1 -0.36,-0.21l-0.25,-0.21a0.37,0.37 0,0 0,-0.21 -0.09,0.33 0.33,0 0,0 -0.25,0.14 0.46,0.46 0,0 0,-0.12 0.29C10.05,21.06 10.23,21.26 10.57,21.45Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/drawable/ic_xlsx.xml b/app/src/main/res/drawable/ic_xlsx.xml deleted file mode 100644 index 2f0aeab..0000000 --- a/app/src/main/res/drawable/ic_xlsx.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_xml.xml b/app/src/main/res/drawable/ic_xml.xml new file mode 100644 index 0000000..420b79b --- /dev/null +++ b/app/src/main/res/drawable/ic_xml.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_zip.xml b/app/src/main/res/drawable/ic_zip.xml index 5cc3699..b20cb3f 100644 --- a/app/src/main/res/drawable/ic_zip.xml +++ b/app/src/main/res/drawable/ic_zip.xml @@ -1,13 +1,10 @@ - + android:pathData="M24.5,31a0.5,0.5 0,0 1,-0.5 -0.5L24,8.68l-6.73,-7.68L3.5,1a2.5,2.5 0,0 0,-2.5 2.5v7a0.5,0.5 0,0 1,-1 0v-7a3.5,3.5 0,0 1,3.5 -3.5L17.68,-0l7.27,8.31L24.95,30.5A0.5,0.5 0,0 1,24.5 31ZM22.5,9.95a0.5,0.5 0,0 0,-0.5 -0.5L18.74,9.45a0.78,0.78 0,0 1,-0.79 -0.78L17.95,4.78a0.5,0.5 0,0 0,-1 0v3.86a1.79,1.79 0,0 0,1.79 1.78h3.21A0.5,0.5 0,0 0,22.5 9.95ZM2.93,23.16h3.24a0.24,0.24 0,0 0,0.2 -0.11,0.41 0.41,0 0,0 0.08,-0.24 0.44,0.44 0,0 0,-0.08 -0.25,0.24 0.24,0 0,0 -0.2,-0.11L3.74,22.45l2.48,-4.25a0.53,0.53 0,0 0,0.1 -0.29c0,-0.15 -0.09,-0.23 -0.27,-0.23h-3a0.22,0.22 0,0 0,-0.21 0.11,0.41 0.41,0 0,0 -0.08,0.25 0.44,0.44 0,0 0,0.08 0.25,0.27 0.27,0 0,0 0.21,0.1h2.16L2.75,22.65a0.48,0.48 0,0 0,-0.08 0.28C2.67,23.08 2.75,23.16 2.93,23.16ZM7.24,23.09a0.7,0.7 0,0 0,0.3 0.07,0.73 0.73,0 0,0 0.3,-0.07 0.22,0.22 0,0 0,0.12 -0.19L7.96,17.95a0.2,0.2 0,0 0,-0.12 -0.19,0.6 0.6,0 0,0 -0.3,-0.07 0.56,0.56 0,0 0,-0.3 0.07,0.19 0.19,0 0,0 -0.13,0.19v5A0.23,0.23 0,0 0,7.24 23.09ZM9.14,23.09a0.73,0.73 0,0 0,0.3 0.07,0.66 0.66,0 0,0 0.3,-0.07 0.22,0.22 0,0 0,0.12 -0.19L9.86,21.05h1a2,2 0,0 0,1.3 -0.4,1.54 1.54,0 0,0 0.5,-1.26v-0.06a1.52,1.52 0,0 0,-0.48 -1.25,2 2,0 0,0 -1.28,-0.4L9.34,17.68a0.36,0.36 0,0 0,-0.23 0.08,0.23 0.23,0 0,0 -0.09,0.18v5A0.22,0.22 0,0 0,9.14 23.09ZM9.86,18.39h1a1,1 0,0 1,0.7 0.24,0.94 0.94,0 0,1 0.25,0.72v0.09a1,1 0,0 1,-0.25 0.73,0.92 0.92,0 0,1 -0.7,0.25h-1Z" + android:fillColor="#428dff"/> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index a515e02..1851d5f 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -71,7 +71,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="16dp" - android:text="Compress" + android:text="@string/archive" app:layout_behavior="com.google.android.material.behavior.HideViewOnScrollBehavior" android:src="@drawable/ic_create_z" /> @@ -83,7 +83,7 @@ android:layout_marginBottom="80dp" android:layout_marginEnd="16dp" android:visibility="gone" - android:text="Compress Zip" + android:text="@string/create_zip" app:layout_behavior="com.google.android.material.behavior.HideViewOnScrollBehavior" android:icon="@drawable/ic_zip" /> @@ -95,7 +95,7 @@ android:layout_marginBottom="140dp" android:layout_marginEnd="16dp" android:visibility="gone" - android:text="Compress 7z" + android:text="@string/compress_sevenz" app:layout_behavior="com.google.android.material.behavior.HideViewOnScrollBehavior" android:icon="@drawable/ic_zip" /> @@ -107,7 +107,7 @@ android:layout_marginBottom="200dp" android:layout_marginEnd="16dp" android:visibility="gone" - android:text="Compress Tar" + android:text="@string/compress_tar" app:layout_behavior="com.google.android.material.behavior.HideViewOnScrollBehavior" android:icon="@drawable/ic_zip" /> diff --git a/app/src/main/res/layout/bottom_sheet_compressor_archive.xml b/app/src/main/res/layout/bottom_sheet_compressor_archive.xml index 8bccf03..86fec12 100644 --- a/app/src/main/res/layout/bottom_sheet_compressor_archive.xml +++ b/app/src/main/res/layout/bottom_sheet_compressor_archive.xml @@ -25,41 +25,68 @@ android:id="@+id/btnOpenWith" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Open With" - android:layout_margin="8dp"/> + android:layout_marginTop="60dp" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:text="@string/open_with" + app:cornerRadius="5dp"/> + android:layout_marginTop="16dp" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:text="@string/extract" + app:cornerRadius="5dp"/> + + android:text="@string/lzma" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="12dp" + app:cornerRadius="5dp"/> + android:text="@string/bzip2" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="16dp" + app:cornerRadius="5dp"/> + android:text="@string/xz" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="16dp" + app:cornerRadius="5dp"/> + android:text="@string/gzip" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="16dp" + app:cornerRadius="5dp"/> \ No newline at end of file diff --git a/app/src/main/res/layout/bottom_sheet_option.xml b/app/src/main/res/layout/bottom_sheet_option.xml index 1e0b718..939a4cd 100644 --- a/app/src/main/res/layout/bottom_sheet_option.xml +++ b/app/src/main/res/layout/bottom_sheet_option.xml @@ -1,5 +1,4 @@ - + diff --git a/app/src/main/res/layout/password_input_dialog.xml b/app/src/main/res/layout/password_input_dialog.xml index 52c26f1..8995fd2 100644 --- a/app/src/main/res/layout/password_input_dialog.xml +++ b/app/src/main/res/layout/password_input_dialog.xml @@ -19,12 +19,12 @@ android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" - android:orientation="vertical" - android:padding="16dp"> + android:orientation="vertical"> diff --git a/app/src/main/res/layout/progress_dialog_archive.xml b/app/src/main/res/layout/progress_dialog_archive.xml index 78090ca..ccbf27b 100644 --- a/app/src/main/res/layout/progress_dialog_archive.xml +++ b/app/src/main/res/layout/progress_dialog_archive.xml @@ -26,7 +26,7 @@ android:id="@+id/progressText" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Archiving..." + android:text="@string/archiving" android:textSize="18sp" /> @@ -60,9 +59,9 @@ android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_toEndOf="@id/cancelButton" + style="@style/Widget.Material3.Button.TonalButton" app:cornerRadius="5dp" android:layout_marginStart="10dp" - android:layout_weight="1" - android:text="Background" /> + android:text="@string/background" /> \ No newline at end of file diff --git a/app/src/main/res/layout/progress_dialog_extract.xml b/app/src/main/res/layout/progress_dialog_extract.xml index 24fb2d7..8f77c07 100644 --- a/app/src/main/res/layout/progress_dialog_extract.xml +++ b/app/src/main/res/layout/progress_dialog_extract.xml @@ -26,7 +26,7 @@ android:id="@+id/progressText" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Extracting..." + android:text="@string/extracting" android:textSize="18sp" /> @@ -60,9 +59,9 @@ android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_toEndOf="@id/cancelButton" + style="@style/Widget.Material3.Button.TonalButton" app:cornerRadius="5dp" android:layout_marginStart="10dp" - android:layout_weight="1" - android:text="Background" /> + android:text="@string/background" /> \ No newline at end of file diff --git a/app/src/main/res/layout/seven_z_option_dialog.xml b/app/src/main/res/layout/seven_z_option_dialog.xml index a85fec3..1674a95 100644 --- a/app/src/main/res/layout/seven_z_option_dialog.xml +++ b/app/src/main/res/layout/seven_z_option_dialog.xml @@ -53,7 +53,7 @@ android:layout_margin="5dp" app:cornerRadius="5dp" style="@style/Widget.Material3.Button.TonalButton" - android:text="Show/Hide File Paths" /> + android:text="@string/show_hide_selected_files" /> + android:text="@string/compress_tar"/> + android:text="@string/show_hide_selected_files" /> @@ -28,7 +28,6 @@ android:orientation="vertical" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" - android:layout_marginBottom="16dp" android:layout_marginTop="10dp"> + android:text="@string/show_hide_selected_files" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6d56895..91be5a0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -112,4 +112,16 @@ Compression failed Compression succesful Enter archive name + Compress TAR + Show/Hide Selected Files + Background + Extracting… + Archiving… + Open with + Compress with: + LZMA + BZIP2 + XZ + GZIP + Archive \ No newline at end of file