From 7e9a867b68058a1714c4fdf6d281415e29efa949 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 29 May 2018 18:37:14 +0200 Subject: FloatingActionButton: import cleaned up getbase code --- app/src/main/res/drawable-hdpi/fab_bg_mini.png | Bin 0 -> 3519 bytes app/src/main/res/drawable-hdpi/fab_bg_normal.png | Bin 0 -> 4925 bytes app/src/main/res/drawable-mdpi/fab_bg_mini.png | Bin 0 -> 1547 bytes app/src/main/res/drawable-mdpi/fab_bg_normal.png | Bin 0 -> 2956 bytes app/src/main/res/drawable-xhdpi/fab_bg_mini.png | Bin 0 -> 4963 bytes app/src/main/res/drawable-xhdpi/fab_bg_normal.png | Bin 0 -> 7139 bytes app/src/main/res/drawable-xxhdpi/fab_bg_mini.png | Bin 0 -> 4803 bytes app/src/main/res/drawable-xxhdpi/fab_bg_normal.png | Bin 0 -> 6114 bytes app/src/main/res/drawable-xxxhdpi/fab_bg_mini.png | Bin 0 -> 5987 bytes .../main/res/drawable-xxxhdpi/fab_bg_normal.png | Bin 0 -> 8005 bytes app/src/main/res/layout/tunnel_list_fragment.xml | 8 +-- app/src/main/res/values/fab.xml | 58 +++++++++++++++++++++ 12 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable-hdpi/fab_bg_mini.png create mode 100644 app/src/main/res/drawable-hdpi/fab_bg_normal.png create mode 100644 app/src/main/res/drawable-mdpi/fab_bg_mini.png create mode 100644 app/src/main/res/drawable-mdpi/fab_bg_normal.png create mode 100644 app/src/main/res/drawable-xhdpi/fab_bg_mini.png create mode 100644 app/src/main/res/drawable-xhdpi/fab_bg_normal.png create mode 100644 app/src/main/res/drawable-xxhdpi/fab_bg_mini.png create mode 100644 app/src/main/res/drawable-xxhdpi/fab_bg_normal.png create mode 100644 app/src/main/res/drawable-xxxhdpi/fab_bg_mini.png create mode 100644 app/src/main/res/drawable-xxxhdpi/fab_bg_normal.png create mode 100644 app/src/main/res/values/fab.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-hdpi/fab_bg_mini.png b/app/src/main/res/drawable-hdpi/fab_bg_mini.png new file mode 100644 index 00000000..4b48351c Binary files /dev/null and b/app/src/main/res/drawable-hdpi/fab_bg_mini.png differ diff --git a/app/src/main/res/drawable-hdpi/fab_bg_normal.png b/app/src/main/res/drawable-hdpi/fab_bg_normal.png new file mode 100644 index 00000000..4daec66d Binary files /dev/null and b/app/src/main/res/drawable-hdpi/fab_bg_normal.png differ diff --git a/app/src/main/res/drawable-mdpi/fab_bg_mini.png b/app/src/main/res/drawable-mdpi/fab_bg_mini.png new file mode 100644 index 00000000..218cf044 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/fab_bg_mini.png differ diff --git a/app/src/main/res/drawable-mdpi/fab_bg_normal.png b/app/src/main/res/drawable-mdpi/fab_bg_normal.png new file mode 100644 index 00000000..c157df36 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/fab_bg_normal.png differ diff --git a/app/src/main/res/drawable-xhdpi/fab_bg_mini.png b/app/src/main/res/drawable-xhdpi/fab_bg_mini.png new file mode 100644 index 00000000..d56bfe82 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/fab_bg_mini.png differ diff --git a/app/src/main/res/drawable-xhdpi/fab_bg_normal.png b/app/src/main/res/drawable-xhdpi/fab_bg_normal.png new file mode 100644 index 00000000..41614b93 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/fab_bg_normal.png differ diff --git a/app/src/main/res/drawable-xxhdpi/fab_bg_mini.png b/app/src/main/res/drawable-xxhdpi/fab_bg_mini.png new file mode 100644 index 00000000..1cdd2b1d Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/fab_bg_mini.png differ diff --git a/app/src/main/res/drawable-xxhdpi/fab_bg_normal.png b/app/src/main/res/drawable-xxhdpi/fab_bg_normal.png new file mode 100644 index 00000000..14608fff Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/fab_bg_normal.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/fab_bg_mini.png b/app/src/main/res/drawable-xxxhdpi/fab_bg_mini.png new file mode 100644 index 00000000..6fea6746 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/fab_bg_mini.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/fab_bg_normal.png b/app/src/main/res/drawable-xxxhdpi/fab_bg_normal.png new file mode 100644 index 00000000..0e78ff60 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/fab_bg_normal.png differ diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 5d6a5ce9..444b0952 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -29,7 +29,7 @@ app:items="@{tunnels}" app:layout="@{@layout/tunnel_list_item}" /> - - - - + diff --git a/app/src/main/res/values/fab.xml b/app/src/main/res/values/fab.xml new file mode 100644 index 00000000..e2931595 --- /dev/null +++ b/app/src/main/res/values/fab.xml @@ -0,0 +1,58 @@ + + + + + + 56dp + 40dp + + 24dp + + 14dp + 2dp + + 3dp + 9dp + + 1dp + + 16dp + 8dp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3