Floating action button icons and methods for key list
This commit is contained in:
BIN
OpenKeychain/src/main/res/drawable-hdpi/ic_folder_white_24dp.png
Normal file
BIN
OpenKeychain/src/main/res/drawable-hdpi/ic_folder_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 224 B |
BIN
OpenKeychain/src/main/res/drawable-mdpi/ic_folder_white_24dp.png
Normal file
BIN
OpenKeychain/src/main/res/drawable-mdpi/ic_folder_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 206 B |
Binary file not shown.
|
After Width: | Height: | Size: 273 B |
Binary file not shown.
|
After Width: | Height: | Size: 342 B |
Binary file not shown.
|
After Width: | Height: | Size: 504 B |
8
OpenKeychain/src/main/res/drawable/qrcode.xml
Normal file
8
OpenKeychain/src/main/res/drawable/qrcode.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<!-- drawable/qrcode.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#fff" android:pathData="M5,5H7V7H5V5M1,1H11V11H1V1M3,3V9H9V3H3M5,17H7V19H5V17M1,13H11V23H1V13M3,15V21H9V15H3M17,5H19V7H17V5M13,1H23V11H13V1M15,3V9H21V3H15M13,13H17V15H19V13H23V15H19V17H23V23H19V21H15V23H13V21H15V19H13V13M21,21V19H19V21H21M19,17H17V15H15V19H19V17Z" />
|
||||
</vector>
|
||||
@@ -63,18 +63,20 @@
|
||||
android:layout_marginEnd="16dp">
|
||||
|
||||
<com.getbase.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fab_add_cloud"
|
||||
android:id="@+id/fab_add_qr_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
fab:fab_icon="@drawable/qrcode"
|
||||
fab:fab_colorNormal="@color/fab"
|
||||
fab:fab_colorPressed="@color/fab_pressed"
|
||||
fab:fab_title="Scan QR Code"
|
||||
fab:fab_size="mini" />
|
||||
|
||||
<com.getbase.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fab_add_qr_code"
|
||||
android:id="@+id/fab_add_cloud"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
fab:fab_icon="@drawable/ic_cloud_search_24px"
|
||||
fab:fab_colorNormal="@color/fab"
|
||||
fab:fab_colorPressed="@color/fab_pressed"
|
||||
fab:fab_title="Search Cloud"
|
||||
@@ -84,6 +86,7 @@
|
||||
android:id="@+id/fab_add_file"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
fab:fab_icon="@drawable/ic_folder_white_24dp"
|
||||
fab:fab_colorNormal="@color/fab"
|
||||
fab:fab_colorPressed="@color/fab_pressed"
|
||||
fab:fab_title="Import from File"
|
||||
|
||||
@@ -9,17 +9,6 @@
|
||||
app:actionViewClass="android.support.v7.widget.SearchView"
|
||||
app:showAsAction="collapseActionView|always" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_key_list_search_cloud"
|
||||
android:icon="@drawable/ic_cloud_search_24px"
|
||||
android:title="@string/menu_search_cloud"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_key_list_add"
|
||||
android:title="@string/import_qr_code_button"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_key_list_export"
|
||||
android:title="@string/menu_export_all_keys"
|
||||
@@ -30,11 +19,6 @@
|
||||
android:title="@string/menu_create_key"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_key_list_import_existing_key"
|
||||
android:title="@string/menu_import_existing_key"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_key_list_debug_cons"
|
||||
android:title="Debug / Consolidate"
|
||||
|
||||
Reference in New Issue
Block a user