From a5830599c41a70b61818c2e04f3deb864ee37020 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Tue, 24 Sep 2019 20:29:35 +0200 Subject: [PATCH] Added initial load of styles and attributes Required for creating basic screens --- app/src/main/res/color/color_menu_tint.xml | 5 + app/src/main/res/drawable/bg_accent.xml | 12 + app/src/main/res/drawable/bg_circle.xml | 14 + app/src/main/res/drawable/bg_divider_top.xml | 21 ++ app/src/main/res/layout/test.xml | 253 ++++++++++++++++++ app/src/main/res/menu/menu_bottom_nav.xml | 29 ++ app/src/main/res/menu/menu_invisible.xml | 8 + app/src/main/res/values-v19/styles_md2.xml | 9 + app/src/main/res/values/attrs.xml | 72 ++++- app/src/main/res/values/styles_md2.xml | 89 ++++++ .../main/res/values/styles_md2_appearance.xml | 101 +++++++ app/src/main/res/values/styles_md2_impl.xml | 61 +++++ 12 files changed, 672 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/color/color_menu_tint.xml create mode 100644 app/src/main/res/drawable/bg_accent.xml create mode 100644 app/src/main/res/drawable/bg_circle.xml create mode 100644 app/src/main/res/drawable/bg_divider_top.xml create mode 100644 app/src/main/res/layout/test.xml create mode 100644 app/src/main/res/menu/menu_bottom_nav.xml create mode 100644 app/src/main/res/menu/menu_invisible.xml create mode 100644 app/src/main/res/values-v19/styles_md2.xml create mode 100644 app/src/main/res/values/styles_md2.xml create mode 100644 app/src/main/res/values/styles_md2_appearance.xml create mode 100644 app/src/main/res/values/styles_md2_impl.xml diff --git a/app/src/main/res/color/color_menu_tint.xml b/app/src/main/res/color/color_menu_tint.xml new file mode 100644 index 000000000..7e45559cd --- /dev/null +++ b/app/src/main/res/color/color_menu_tint.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/bg_accent.xml b/app/src/main/res/drawable/bg_accent.xml new file mode 100644 index 000000000..2d253a52c --- /dev/null +++ b/app/src/main/res/drawable/bg_accent.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/bg_circle.xml b/app/src/main/res/drawable/bg_circle.xml new file mode 100644 index 000000000..cc79f6fdd --- /dev/null +++ b/app/src/main/res/drawable/bg_circle.xml @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/bg_divider_top.xml b/app/src/main/res/drawable/bg_divider_top.xml new file mode 100644 index 000000000..09e8d6a54 --- /dev/null +++ b/app/src/main/res/drawable/bg_divider_top.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/test.xml b/app/src/main/res/layout/test.xml new file mode 100644 index 000000000..eed215ff0 --- /dev/null +++ b/app/src/main/res/layout/test.xml @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/menu_bottom_nav.xml b/app/src/main/res/menu/menu_bottom_nav.xml new file mode 100644 index 000000000..e7ff50f50 --- /dev/null +++ b/app/src/main/res/menu/menu_bottom_nav.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/menu_invisible.xml b/app/src/main/res/menu/menu_invisible.xml new file mode 100644 index 000000000..3638f9a9a --- /dev/null +++ b/app/src/main/res/menu/menu_invisible.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/values-v19/styles_md2.xml b/app/src/main/res/values-v19/styles_md2.xml new file mode 100644 index 000000000..b3276387c --- /dev/null +++ b/app/src/main/res/values-v19/styles_md2.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index b6b8c507e..4030c0436 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -1,7 +1,75 @@ - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/styles_md2.xml b/app/src/main/res/values/styles_md2.xml new file mode 100644 index 000000000..43962abcd --- /dev/null +++ b/app/src/main/res/values/styles_md2.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles_md2_appearance.xml b/app/src/main/res/values/styles_md2_appearance.xml new file mode 100644 index 000000000..c9f08a8ca --- /dev/null +++ b/app/src/main/res/values/styles_md2_appearance.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles_md2_impl.xml b/app/src/main/res/values/styles_md2_impl.xml new file mode 100644 index 000000000..0a2be5c42 --- /dev/null +++ b/app/src/main/res/values/styles_md2_impl.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file