mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-24 23:44:20 +01:00
add a menu button for temporarily showing hidden folders
This commit is contained in:
parent
315d2197b8
commit
0c135b44ac
@ -86,6 +86,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
||||
R.id.sort -> showSortingDialog()
|
||||
R.id.open_camera -> launchCamera()
|
||||
R.id.show_all -> showAllMedia()
|
||||
R.id.temporarily_show_hidden -> temporarilyShowHidden()
|
||||
R.id.increase_column_count -> increaseColumnCount()
|
||||
R.id.reduce_column_count -> reduceColumnCount()
|
||||
R.id.settings -> launchSettings()
|
||||
@ -177,6 +178,10 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
||||
finish()
|
||||
}
|
||||
|
||||
private fun temporarilyShowHidden() {
|
||||
|
||||
}
|
||||
|
||||
private fun checkIfColorChanged() {
|
||||
if (DirectoryAdapter.foregroundColor != config.primaryColor) {
|
||||
DirectoryAdapter.foregroundColor = config.primaryColor
|
||||
|
@ -15,6 +15,10 @@
|
||||
android:id="@+id/show_all"
|
||||
android:title="@string/show_all"
|
||||
app:showAsAction="never"/>
|
||||
<item
|
||||
android:id="@+id/temporarily_show_hidden"
|
||||
android:title="@string/temporarily_show_hidden"
|
||||
app:showAsAction="never"/>
|
||||
<item
|
||||
android:id="@+id/increase_column_count"
|
||||
android:title="@string/increase_column_count"
|
||||
|
Loading…
Reference in New Issue
Block a user