diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/CustomFilePickerFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/CustomFilePickerFragment.java index 7af1a1a1fe..3f7913ca41 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/CustomFilePickerFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/CustomFilePickerFragment.java @@ -1,8 +1,16 @@ package org.dolphinemu.dolphinemu.fragments; import android.net.Uri; +import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.content.FileProvider; +import android.util.TypedValue; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.TextView; + +import org.dolphinemu.dolphinemu.R; import com.nononsenseapps.filepicker.FilePickerFragment; @@ -19,4 +27,23 @@ public class CustomFilePickerFragment extends FilePickerFragment getContext().getApplicationContext().getPackageName() + ".filesprovider", file); } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) + { + View view = super.onCreateView(inflater, container, savedInstanceState); + if (view == null) + return null; + + TextView ok = view.findViewById(R.id.nnf_button_ok); + TextView cancel = view.findViewById(R.id.nnf_button_cancel); + + ok.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14); + cancel.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14); + + ok.setAllCaps(false); + cancel.setAllCaps(false); + ok.setText(R.string.select_dir); + return view; + } } diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml index 2113fef188..609d4dd636 100644 --- a/Source/Android/app/src/main/res/values/strings.xml +++ b/Source/Android/app/src/main/res/values/strings.xml @@ -299,4 +299,6 @@ Favorites + + Select This Directory