From fcc34b45d4aeae95bd16c9d70f0a2db5109951f0 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 12 Jul 2019 11:31:28 +0800 Subject: Use a modal bottom sheet to display post selection instead of an alert dialog. Fixed some icons. --- app/src/main/res/drawable-hdpi/ic_link.png | Bin 429 -> 0 bytes app/src/main/res/drawable-mdpi/ic_link.png | Bin 299 -> 0 bytes app/src/main/res/drawable-xhdpi/ic_link.png | Bin 476 -> 0 bytes app/src/main/res/drawable-xxhdpi/ic_link.png | Bin 832 -> 0 bytes app/src/main/res/drawable/ic_link.xml | 9 ++ .../ic_outline_check_circle_outline_24px.xml | 9 ++ .../main/res/drawable/ic_outline_settings_24px.xml | 9 ++ app/src/main/res/drawable/ic_outline_text_24px.xml | 9 ++ .../res/drawable/ic_outline_video_label_24px.xml | 9 ++ app/src/main/res/layout/activity_main.xml | 4 +- app/src/main/res/layout/post_type_bottom_sheet.xml | 122 +++++++++++++++++++++ app/src/main/res/values/strings.xml | 10 +- 12 files changed, 173 insertions(+), 8 deletions(-) delete mode 100644 app/src/main/res/drawable-hdpi/ic_link.png delete mode 100644 app/src/main/res/drawable-mdpi/ic_link.png delete mode 100644 app/src/main/res/drawable-xhdpi/ic_link.png delete mode 100644 app/src/main/res/drawable-xxhdpi/ic_link.png create mode 100644 app/src/main/res/drawable/ic_link.xml create mode 100644 app/src/main/res/drawable/ic_outline_check_circle_outline_24px.xml create mode 100644 app/src/main/res/drawable/ic_outline_settings_24px.xml create mode 100644 app/src/main/res/drawable/ic_outline_text_24px.xml create mode 100644 app/src/main/res/drawable/ic_outline_video_label_24px.xml create mode 100644 app/src/main/res/layout/post_type_bottom_sheet.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-hdpi/ic_link.png b/app/src/main/res/drawable-hdpi/ic_link.png deleted file mode 100644 index 151e101d..00000000 Binary files a/app/src/main/res/drawable-hdpi/ic_link.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_link.png b/app/src/main/res/drawable-mdpi/ic_link.png deleted file mode 100644 index d407acb5..00000000 Binary files a/app/src/main/res/drawable-mdpi/ic_link.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_link.png b/app/src/main/res/drawable-xhdpi/ic_link.png deleted file mode 100644 index 34062296..00000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_link.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_link.png b/app/src/main/res/drawable-xxhdpi/ic_link.png deleted file mode 100644 index 9b2ad879..00000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_link.png and /dev/null differ diff --git a/app/src/main/res/drawable/ic_link.xml b/app/src/main/res/drawable/ic_link.xml new file mode 100644 index 00000000..bfe6b0c4 --- /dev/null +++ b/app/src/main/res/drawable/ic_link.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_check_circle_outline_24px.xml b/app/src/main/res/drawable/ic_outline_check_circle_outline_24px.xml new file mode 100644 index 00000000..eab33694 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_check_circle_outline_24px.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_settings_24px.xml b/app/src/main/res/drawable/ic_outline_settings_24px.xml new file mode 100644 index 00000000..e1fb6a23 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_settings_24px.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_text_24px.xml b/app/src/main/res/drawable/ic_outline_text_24px.xml new file mode 100644 index 00000000..6afe43f5 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_text_24px.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_video_label_24px.xml b/app/src/main/res/drawable/ic_outline_video_label_24px.xml new file mode 100644 index 00000000..2c421e88 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_video_label_24px.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 6c30dbc2..fc198172 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -72,7 +72,7 @@ android:layout_height="24dp" android:layout_gravity="center_vertical" android:layout_marginEnd="32dp" - android:src="@drawable/ic_outline_account_circle_24px" + android:src="@drawable/ic_outline_check_circle_outline_24px" android:tint="@color/primaryTextColor"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d2b3a8a8..4faecc7a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -104,10 +104,8 @@ Users Post - - Text - Link - Image - Video - + Text + Link + Image + Video -- cgit v1.2.3