From 7d4d7cfa69be9d7b00f737491bb87dbce4a68d10 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Mon, 2 Dec 2019 19:58:36 +0500 Subject: [PATCH] copy and support files backport - #225 --- app/src/main/java/org/mian/gitnex/util/AppUtil.java | 2 +- app/src/main/res/layout/activity_file_view.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/mian/gitnex/util/AppUtil.java b/app/src/main/java/org/mian/gitnex/util/AppUtil.java index 4c7ee546..c544924e 100644 --- a/app/src/main/java/org/mian/gitnex/util/AppUtil.java +++ b/app/src/main/java/org/mian/gitnex/util/AppUtil.java @@ -218,7 +218,7 @@ public class AppUtil { "coffee", "rc", "rs", "rust", "basic", "clj", "css", "dart", "lisp", "erl", "hs", "lsp", "rkt", "ss", "llvm", "ll", "lua", "matlab", "pascal", "r", "scala", "sql", "latex", "tex", "vb", "vbs", "vhd", "tcl", "wiki.meta", "yaml", "yml", "markdown", "xml", "proto", "regex", "py", "pl", "js", - "html", "htm", "volt", "ini", "htaccess", "conf", "gitignore"}; + "html", "htm", "volt", "ini", "htaccess", "conf", "gitignore", "gradle", "txt", "properties", "bat"}; return Arrays.asList(extValues).contains(ext); diff --git a/app/src/main/res/layout/activity_file_view.xml b/app/src/main/res/layout/activity_file_view.xml index 13946674..05f0e695 100644 --- a/app/src/main/res/layout/activity_file_view.xml +++ b/app/src/main/res/layout/activity_file_view.xml @@ -64,6 +64,7 @@ android:textColor="@color/colorWhite" android:textSize="14sp" android:padding="15dp" + android:textIsSelectable="true" />