Skip to content

Commit

Permalink
ui updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zhwanng committed Nov 26, 2024
1 parent af0ca6e commit 1f8630a
Show file tree
Hide file tree
Showing 143 changed files with 174 additions and 211 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ android {
if (output.outputFile != null && output.outputFile.name.endsWith('.apk')) {
def versionName = defaultConfig.versionName

def outputFileName = "${versionName}_snapshot_build_temp.apk"
def outputFileName = "${versionName}_patch_build_temp.apk"
outputFileName = outputFileName.replace(" ", "_")
output.outputFileName = outputFileName

Expand All @@ -135,7 +135,7 @@ android {
versionName = prefix + "(" + suffix + ")"
}

def newOutputFileName = "seafile_${versionName}_build${versionCode}_snapshot${buildCount}.apk"
def newOutputFileName = "seafile_${versionName}_build${versionCode}_patch${buildCount}.apk"
newOutputFileName = newOutputFileName.replace(" ", "_").replace("-", "_")
def apkFile = output.outputFile
def newApkFile = new File(apkFile.parent, newOutputFileName)
Expand Down
132 changes: 34 additions & 98 deletions app/src/main/java/com/seafile/seadroid2/framework/util/Icons.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ public static int getFileIcon(String name) {
// return getFileOldIcon(name);
String suffix = FileUtils.getFileExtension(name);
if (TextUtils.isEmpty(suffix)) {
return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
}

if (codes.contains(suffix)) {
return R.drawable.icon_extended_css;
return R.drawable.icon_format_css;
}

if (getSuffixIconMap().containsKey(suffix)) {
Expand All @@ -41,138 +41,74 @@ public static int getFileIcon(String name) {
return getResIdForMimetype(mime);
}

public static int getFileOldIcon(String name) {

String suffix = FileUtils.getFileExtension(name);
if (TextUtils.isEmpty(suffix)) {
return R.drawable.file;
}

if (getSuffixIconMapOld().containsKey(suffix)) {
return getSuffixIconMapOld().get(suffix);
}

String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(suffix);
return getResIdForMimetypeOld(mime);
}

private static synchronized HashMap<String, Integer> getSuffixIconMap() {
if (suffixIconMap != null)
return suffixIconMap;

suffixIconMap = Maps.newHashMap();
suffixIconMap.put("pdf", R.drawable.icon_extended_pdf);
suffixIconMap.put("doc", R.drawable.icon_extended_doc);
suffixIconMap.put("docx", R.drawable.icon_extended_doc);
suffixIconMap.put("md", R.drawable.icon_extended_md);
suffixIconMap.put("markdown", R.drawable.icon_extended_md);
suffixIconMap.put("txt", R.drawable.icon_extended_txt);
suffixIconMap.put("png", R.drawable.icon_extended_png);
suffixIconMap.put("gif", R.drawable.icon_extended_png);
suffixIconMap.put("psd", R.drawable.icon_extended_psd);
suffixIconMap.put("ppt", R.drawable.icon_extended_ppt);
suffixIconMap.put("sdoc", R.drawable.icon_extended_sdoc);
suffixIconMap.put("xls", R.drawable.icon_extended_xls);
suffixIconMap.put("mp3", R.drawable.icon_extended_mp3);
suffixIconMap.put("mov", R.drawable.icon_extended_mov);
suffixIconMap.put("css", R.drawable.icon_extended_css);
suffixIconMap.put("pdf", R.drawable.icon_format_pdf);
suffixIconMap.put("doc", R.drawable.icon_format_word);
suffixIconMap.put("docx", R.drawable.icon_format_word);
suffixIconMap.put("md", R.drawable.icon_format_md);
suffixIconMap.put("markdown", R.drawable.icon_format_md);
suffixIconMap.put("txt", R.drawable.icon_format_txt);
suffixIconMap.put("png", R.drawable.icon_format_pic);
suffixIconMap.put("gif", R.drawable.icon_format_pic);
suffixIconMap.put("psd", R.drawable.icon_format_psd);
suffixIconMap.put("ppt", R.drawable.icon_format_ppt);
suffixIconMap.put("sdoc", R.drawable.icon_format_sdoc);
suffixIconMap.put("xls", R.drawable.icon_format_excel);
suffixIconMap.put("mp3", R.drawable.icon_format_music);
suffixIconMap.put("mov", R.drawable.icon_format_video);
suffixIconMap.put("css", R.drawable.icon_format_css);

//code
return suffixIconMap;
}


private static synchronized HashMap<String, Integer> getSuffixIconMapOld() {
if (suffixIconMap != null)
return suffixIconMap;

suffixIconMap = Maps.newHashMap();
suffixIconMap.put("pdf", R.drawable.file_pdf);
suffixIconMap.put("doc", R.drawable.file_ms_word);
suffixIconMap.put("docx", R.drawable.file_ms_word);
suffixIconMap.put("md", R.drawable.file_text);
suffixIconMap.put("markdown", R.drawable.file_text);
return suffixIconMap;
}

/**
* https://stackoverflow.com/questions/4212861/what-is-a-correct-mime-type-for-docx-pptx-etc
*/
private static int getResIdForMimetype(String mimetype) {
if (TextUtils.isEmpty(mimetype)) {
return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
}

if (mimetype.contains("pdf")) {
return R.drawable.icon_extended_pdf;
return R.drawable.icon_format_pdf;
} else if (mimetype.contains("image/")) {
return R.drawable.icon_extended_png;
return R.drawable.icon_format_pic;
} else if (mimetype.contains("text/")) {
return R.drawable.icon_extended_txt;
return R.drawable.icon_format_txt;
} else if (mimetype.contains("audio/")) {
return R.drawable.icon_extended_mp3;
return R.drawable.icon_format_music;
} else if (mimetype.contains("video/")) {
return R.drawable.icon_extended_mov;
return R.drawable.icon_format_video;
} else if (mimetype.contains("msword") || mimetype.contains("ms-word")) {
return R.drawable.icon_extended_doc;
return R.drawable.icon_format_word;
} else if (mimetype.contains("mspowerpoint") || mimetype.contains("ms-powerpoint")) {
return R.drawable.icon_extended_ppt;
return R.drawable.icon_format_ppt;
} else if (mimetype.contains("msexcel") || mimetype.contains("ms-excel")) {
return R.drawable.icon_extended_xls;
return R.drawable.icon_format_excel;
} else if (mimetype.contains("openxmlformats-officedocument")) {
if (mimetype.contains("wordprocessingml")) {
return R.drawable.icon_extended_doc;
return R.drawable.icon_format_word;
} else if (mimetype.contains("spreadsheetml")) {
return R.drawable.icon_extended_xls;
return R.drawable.icon_format_excel;
} else if (mimetype.contains("presentationml")) {
return R.drawable.icon_extended_ppt;
return R.drawable.icon_format_ppt;
}
} else if (mimetype.equals("application/vnd.android.package-archive")) {
return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
} else if (mimetype.equals("application/zip")) {
return R.drawable.icon_extended_zip;
return R.drawable.icon_format_zip;
} else if (mimetype.equals("application/x-iwork-numbers-sffnumbers")) {
return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
} else if (mimetype.equals("application/x-iwork-pages-sffpages")) {
return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
}

return R.drawable.icon_extended_file;
return R.drawable.icon_format_file;
}

public static int getResIdForMimetypeOld(String mimetype) {
if (mimetype == null)
return R.drawable.file;

if (mimetype.contains("image/")) {
return R.drawable.file_image;
} else if (mimetype.contains("text")) {
return R.drawable.file_text;
} else if (mimetype.contains("audio")) {
return R.drawable.file_audio;
} else if (mimetype.contains("video")) {
return R.drawable.file_video;
} else if (mimetype.contains("pdf")) {
return R.drawable.file_pdf;
} else if (mimetype.contains("msword") || mimetype.contains("ms-word")) {
return R.drawable.file_ms_word;
} else if (mimetype.contains("mspowerpoint") || mimetype.contains("ms-powerpoint")) {
return R.drawable.file_ms_ppt;
} else if (mimetype.contains("msexcel") || mimetype.contains("ms-excel")) {
return R.drawable.file_ms_excel;
} else if (mimetype.contains("openxmlformats-officedocument")) {
if (mimetype.contains("wordprocessingml")) {
return R.drawable.file_ms_word;
} else if (mimetype.contains("spreadsheetml")) {
return R.drawable.file_ms_excel;
} else if (mimetype.contains("presentationml")) {
return R.drawable.file_ms_ppt;
}
// } else if (mimetype.contains("application")) {
// return R.drawable.file_binary;
}

return R.drawable.file;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public int onItemViewType(int i, @NonNull List<? extends BaseModel> list) {
}

private void onBindAccount(AccountViewHolder holder, BaseModel model) {
holder.binding.getRoot().setBackground(null);
// holder.binding.getRoot().setBackground(null);

Account account = (Account) model;

Expand Down Expand Up @@ -305,11 +305,10 @@ private void onBindRepos(RepoViewHolder holder, RepoModel model, @NonNull List<?
Bundle bundle = (Bundle) payloads.get(0);
boolean isChecked = bundle.getBoolean("is_check");

holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (isChecked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
// holder.binding.itemMultiSelect.setImageTintList(ColorStateList.valueOf(R.color.bar_disable_color));
} else {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_unchecked);
}
Expand All @@ -319,10 +318,10 @@ private void onBindRepos(RepoViewHolder holder, RepoModel model, @NonNull List<?
holder.binding.itemTitle.setText(model.repo_name);
holder.binding.itemSubtitle.setText(model.getSubtitle());
holder.binding.itemIcon.setImageResource(model.getIcon());
holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));
// holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));

if (selectType.ordinal() == RepoSelectType.ONLY_REPO.ordinal() || onActionMode) {
holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

holder.binding.itemMultiSelect.setVisibility(View.VISIBLE);
if (model.is_checked) {
Expand All @@ -332,7 +331,7 @@ private void onBindRepos(RepoViewHolder holder, RepoModel model, @NonNull List<?
}
} else {
holder.binding.itemMultiSelect.setVisibility(View.GONE);
holder.binding.getRoot().setChecked(false);
// holder.binding.getRoot().setChecked(false);
}

holder.binding.expandableToggleButton.setVisibility(View.GONE);
Expand All @@ -350,7 +349,7 @@ private void onBindDirents(DirentViewHolder holder, DirentModel model, @NonNull
Bundle bundle = (Bundle) payloads.get(0);
boolean isChecked = bundle.getBoolean("is_check");

holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (isChecked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
Expand All @@ -363,7 +362,7 @@ private void onBindDirents(DirentViewHolder holder, DirentModel model, @NonNull
holder.binding.itemTitle.setText(model.name);
holder.binding.itemSubtitle.setText(model.getSubtitle());

holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));
// holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));

if (repoEncrypted || !Utils.isViewableImage(model.name)) {
holder.binding.itemIcon.setImageResource(model.getIcon());
Expand All @@ -373,7 +372,7 @@ private void onBindDirents(DirentViewHolder holder, DirentModel model, @NonNull

//action mode
if (onActionMode) {
holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

holder.binding.itemMultiSelect.setVisibility(View.VISIBLE);
if (model.is_checked) {
Expand All @@ -385,7 +384,7 @@ private void onBindDirents(DirentViewHolder holder, DirentModel model, @NonNull
holder.binding.itemMultiSelect.setVisibility(View.GONE);
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_unchecked);

holder.binding.getRoot().setChecked(false);
// holder.binding.getRoot().setChecked(false);
}

holder.binding.itemDownloadStatusProgressbar.setVisibility(View.GONE);
Expand Down Expand Up @@ -449,7 +448,7 @@ private void onBindDirentsGrid(DirentGridViewHolder holder, DirentModel model, @
Bundle bundle = (Bundle) payloads.get(0);
boolean isChecked = bundle.getBoolean("is_check");

holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (isChecked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
Expand All @@ -461,7 +460,7 @@ private void onBindDirentsGrid(DirentGridViewHolder holder, DirentModel model, @

holder.binding.itemTitle.setText(model.name);

holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));
// holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));

if (model.isDir()) {
holder.binding.itemOutline.setVisibility(View.GONE);
Expand All @@ -480,7 +479,7 @@ private void onBindDirentsGrid(DirentGridViewHolder holder, DirentModel model, @
//action mode
if (onActionMode) {
holder.binding.itemMultiSelect.setVisibility(View.VISIBLE);
holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (model.is_checked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
Expand All @@ -491,7 +490,7 @@ private void onBindDirentsGrid(DirentGridViewHolder holder, DirentModel model, @
holder.binding.itemMultiSelect.setVisibility(View.GONE);
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_unchecked);

holder.binding.getRoot().setChecked(false);
// holder.binding.getRoot().setChecked(false);
}

if (model.starred) {
Expand All @@ -506,7 +505,7 @@ private void onBindDirentsGallery(DirentGalleryViewHolder holder, DirentModel mo
Bundle bundle = (Bundle) payloads.get(0);
boolean isChecked = bundle.getBoolean("is_check");

holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (isChecked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
Expand All @@ -515,7 +514,7 @@ private void onBindDirentsGallery(DirentGalleryViewHolder holder, DirentModel mo
}
return;
}
holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));
// holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));

if (repoEncrypted || !Utils.isViewableImage(model.name)) {
holder.binding.itemIcon.setImageResource(model.getIcon());
Expand All @@ -526,15 +525,15 @@ private void onBindDirentsGallery(DirentGalleryViewHolder holder, DirentModel mo
//action mode
if (onActionMode) {
holder.binding.itemMultiSelect.setVisibility(View.VISIBLE);
holder.binding.getRoot().setChecked(model.is_checked);
// holder.binding.getRoot().setChecked(model.is_checked);

if (model.is_checked) {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_checked);
} else {
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_unchecked);
}
} else {
holder.binding.getRoot().setChecked(false);
// holder.binding.getRoot().setChecked(false);

holder.binding.itemMultiSelect.setVisibility(View.GONE);
holder.binding.itemMultiSelect.setImageResource(R.drawable.ic_checkbox_unchecked);
Expand All @@ -545,7 +544,7 @@ private void onBindSearch(DirentViewHolder holder, SearchModel model) {
holder.binding.itemTitle.setText(model.name);
holder.binding.itemSubtitle.setText(model.getSubtitle());

holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));
// holder.binding.getRoot().setBackground(AnimatedStateListDrawableCompatUtils.createDrawableCompat(getContext()));

if (repoEncrypted || !Utils.isViewableImage(model.name)) {
holder.binding.itemIcon.setImageResource(model.getIcon());
Expand Down
Binary file removed app/src/main/res/drawable-hdpi/file_audio.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_ms_excel.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_ms_ppt.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_ms_word.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_pdf.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_text.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/file_video.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_action_overflow.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_am_copy.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_am_del.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_am_download.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_am_move.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_gallery_empty2.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/icon_delete.png
Binary file not shown.
File renamed without changes
Binary file removed app/src/main/res/drawable-hdpi/repo_encrypted.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/repo_readonly.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/search.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/sort.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-ldpi/file_audio.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-ldpi/file_image.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-ldpi/file_ms_excel.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-ldpi/file_ms_ppt.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/file_ms_word.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/file_pdf.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/file_text.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/file_video.png
Diff not rendered.
File renamed without changes
Binary file removed app/src/main/res/drawable-ldpi/search.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/sort.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_audio.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_image.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_ms_excel.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_ms_ppt.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_ms_word.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_pdf.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_text.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/file_video.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_action_overflow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_am_copy.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_am_del.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_am_download.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_am_move.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_gallery_empty2.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file removed app/src/main/res/drawable-mdpi/search.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/sort.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/add_file.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_audio.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_image.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_ms_excel.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_ms_ppt.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_ms_word.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_pdf.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_text.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/file_video.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_action_overflow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_am_copy.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_am_del.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_am_download.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_am_move.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/icon_delete.png
Diff not rendered.
File renamed without changes
Binary file removed app/src/main/res/drawable-xhdpi/repo_encrypted.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/repo_readonly.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/search.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/sort.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/add_file.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_action_overflow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_action_save.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_am_copy.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_am_del.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_am_download.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_am_move.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/icon_delete.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/repo_encrypted.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/repo_readonly.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/search.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/sort.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_action_redo.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_action_undo.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_am_copy.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_am_del.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_am_download.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_am_move.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
18 changes: 18 additions & 0 deletions app/src/main/res/drawable/baseline_libraries_32.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="32"
android:viewportHeight="32">
<path
android:pathData="M19.838,17.56H28.381C28.752,17.56 29,17.857 29,18.154V28.406C29,28.703 28.752,29 28.381,29H3.619C3.248,29 3,28.703 3,28.406V18.154C3,17.857 3.248,17.56 3.619,17.56H12.162V19.789C12.162,20.086 12.41,20.383 12.781,20.383H19.343C19.714,20.383 19.962,20.086 19.962,19.789L19.838,17.56Z"
android:fillColor="#A3A3A3"/>
<path
android:pathData="M4.61,10.131C4.486,10.131 4.238,10.28 4.238,10.429V15.628C4.238,15.777 4.362,15.926 4.61,15.926H27.391C27.514,15.926 27.762,15.777 27.762,15.628V10.429C27.762,10.28 27.638,10.131 27.391,10.131H4.61Z"
android:fillColor="#A3A3A3"/>
<path
android:pathData="M5.971,5.971C5.847,5.971 5.6,6.12 5.6,6.269V8.497C5.6,8.646 5.723,8.794 5.971,8.794H26.152C26.276,8.794 26.523,8.646 26.523,8.497V6.269C26.523,6.12 26.4,5.971 26.152,5.971H5.971Z"
android:fillColor="#A3A3A3"/>
<path
android:pathData="M7.209,3C7.086,3 6.838,3.149 6.838,3.297V4.189C6.838,4.337 6.962,4.486 7.209,4.486H24.79C24.914,4.486 25.162,4.337 25.162,4.189V3.297C25.162,3.149 25.038,3 24.79,3H7.209Z"
android:fillColor="#A3A3A3"/>
</vector>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/shape_solid_grey103_r2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="2dp" />
<solid android:color="@color/material_grey_103" />
</shape>
Loading

0 comments on commit 1f8630a

Please sign in to comment.