mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
File manager explanation link
This commit is contained in:
@@ -63,6 +63,7 @@ class FileDatabaseSelectActivity : StylishActivity(),
|
|||||||
|
|
||||||
// Views
|
// Views
|
||||||
private var coordinatorLayout: CoordinatorLayout? = null
|
private var coordinatorLayout: CoordinatorLayout? = null
|
||||||
|
private var fileManagerExplanationButton: View? = null
|
||||||
private var createButtonView: View? = null
|
private var createButtonView: View? = null
|
||||||
private var openDatabaseButtonView: View? = null
|
private var openDatabaseButtonView: View? = null
|
||||||
|
|
||||||
@@ -89,6 +90,11 @@ class FileDatabaseSelectActivity : StylishActivity(),
|
|||||||
toolbar.title = ""
|
toolbar.title = ""
|
||||||
setSupportActionBar(toolbar)
|
setSupportActionBar(toolbar)
|
||||||
|
|
||||||
|
fileManagerExplanationButton = findViewById(R.id.file_manager_explanation_button)
|
||||||
|
fileManagerExplanationButton?.setOnClickListener {
|
||||||
|
UriUtil.gotoUrl(this, R.string.file_manager_explanation_url)
|
||||||
|
}
|
||||||
|
|
||||||
// Create button
|
// Create button
|
||||||
createButtonView = findViewById(R.id.create_database_button)
|
createButtonView = findViewById(R.id.create_database_button)
|
||||||
if (allowCreateDocumentByStorageAccessFramework(packageManager)) {
|
if (allowCreateDocumentByStorageAccessFramework(packageManager)) {
|
||||||
|
|||||||
@@ -110,21 +110,6 @@
|
|||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
app:layout_collapseMode="pin"
|
app:layout_collapseMode="pin"
|
||||||
android:background="?attr/colorPrimary" />
|
android:background="?attr/colorPrimary" />
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="?attr/actionBarSize"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:layout_gravity="top|start"
|
|
||||||
app:layout_collapseMode="pin">
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
|
||||||
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:src="@drawable/ic_folder_open_white_24dp"
|
|
||||||
app:tint="?attr/colorAccent"
|
|
||||||
android:contentDescription="@string/about"/>
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
@@ -135,6 +120,22 @@
|
|||||||
android:elevation="4dp"
|
android:elevation="4dp"
|
||||||
app:layout_collapseMode="pin"
|
app:layout_collapseMode="pin"
|
||||||
android:popupTheme="?attr/toolbarPopupAppearance" />
|
android:popupTheme="?attr/toolbarPopupAppearance" />
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:elevation="4dp"
|
||||||
|
android:layout_gravity="top|start"
|
||||||
|
app:layout_collapseMode="pin">
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:id="@+id/file_manager_explanation_button"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:src="@drawable/ic_folder_open_white_24dp"
|
||||||
|
app:tint="?android:attr/textColorHintInverse"
|
||||||
|
android:contentDescription="@string/about"/>
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||||
</com.google.android.material.appbar.AppBarLayout>
|
</com.google.android.material.appbar.AppBarLayout>
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
<string name="magic_keyboard_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Magikeyboard</string>
|
<string name="magic_keyboard_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Magikeyboard</string>
|
||||||
<string name="clipboard_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Clipboard</string>
|
<string name="clipboard_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Clipboard</string>
|
||||||
<string name="autofill_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Autofill</string>
|
<string name="autofill_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/Autofill</string>
|
||||||
|
<string name="file_manager_explanation_url" translatable="false">https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync</string>
|
||||||
<string name="html_rose">--,--`--,{@</string>
|
<string name="html_rose">--,--`--,{@</string>
|
||||||
|
|
||||||
<!-- File Path -->
|
<!-- File Path -->
|
||||||
|
|||||||
Reference in New Issue
Block a user