summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-07-10 03:24:43 +0200
committercyBerta <cyberta@riseup.net>2019-07-10 03:24:43 +0200
commitef3a05a11724f0a8e33895e1ea8bd792063bd1fc (patch)
tree1c265a54afc48dde8be92d3bdfb2b4c6553e1e0a /app/src/main/res
parent9bb5d109ddd73b8e31e5f5d862372758290227aa (diff)
add material design icons to the navigation drawer
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable-hdpi/ic_about_36.pngbin0 -> 1230 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_always_on_36.pngbin0 -> 1329 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_battery_36.pngbin0 -> 573 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_donate_36.pngbin0 -> 1322 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_log_36.pngbin0 -> 835 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_switch_provider_36.pngbin0 -> 627 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_about_36.pngbin0 -> 1009 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_always_on_36.pngbin0 -> 1104 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_battery_36.pngbin0 -> 609 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_donate_36.pngbin0 -> 944 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_log_36.pngbin0 -> 780 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_switch_provider_36.pngbin0 -> 609 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_about_36.pngbin0 -> 1638 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_always_on_36.pngbin0 -> 1740 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_battery_36.pngbin0 -> 798 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_donate_36.pngbin0 -> 1607 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_log_36.pngbin0 -> 1124 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_switch_provider_36.pngbin0 -> 763 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_about_36.pngbin0 -> 2213 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_always_on_36.pngbin0 -> 2446 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_battery_36.pngbin0 -> 845 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_donate_36.pngbin0 -> 2341 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_log_36.pngbin0 -> 1384 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_switch_provider_36.pngbin0 -> 878 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_about_36.pngbin0 -> 3043 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_always_on_36.pngbin0 -> 3353 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_battery_36.pngbin0 -> 1159 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_donate_36.pngbin0 -> 3063 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_log_36.pngbin0 -> 1945 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_switch_provider_36.pngbin0 -> 1070 bytes
-rw-r--r--app/src/main/res/layout-xlarge/v_icon_text_list_item.xml31
-rw-r--r--app/src/main/res/layout/v_icon_text_list_item.xml31
-rw-r--r--app/src/main/res/layout/v_switch_list_item.xml59
33 files changed, 108 insertions, 13 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_about_36.png b/app/src/main/res/drawable-hdpi/ic_about_36.png
new file mode 100644
index 00000000..52f4e395
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_about_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_always_on_36.png b/app/src/main/res/drawable-hdpi/ic_always_on_36.png
new file mode 100644
index 00000000..8547b61d
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_always_on_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_battery_36.png b/app/src/main/res/drawable-hdpi/ic_battery_36.png
new file mode 100644
index 00000000..7d4cd60b
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_battery_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_donate_36.png b/app/src/main/res/drawable-hdpi/ic_donate_36.png
new file mode 100644
index 00000000..f269af8c
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_donate_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_log_36.png b/app/src/main/res/drawable-hdpi/ic_log_36.png
new file mode 100644
index 00000000..3ed90a08
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_log_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_switch_provider_36.png b/app/src/main/res/drawable-hdpi/ic_switch_provider_36.png
new file mode 100644
index 00000000..0bace0ce
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_switch_provider_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_about_36.png b/app/src/main/res/drawable-mdpi/ic_about_36.png
new file mode 100644
index 00000000..110e8f2e
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_about_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_always_on_36.png b/app/src/main/res/drawable-mdpi/ic_always_on_36.png
new file mode 100644
index 00000000..ea15a067
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_always_on_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_battery_36.png b/app/src/main/res/drawable-mdpi/ic_battery_36.png
new file mode 100644
index 00000000..0490996a
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_battery_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_donate_36.png b/app/src/main/res/drawable-mdpi/ic_donate_36.png
new file mode 100644
index 00000000..b47fecaf
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_donate_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_log_36.png b/app/src/main/res/drawable-mdpi/ic_log_36.png
new file mode 100644
index 00000000..85a5210c
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_log_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_switch_provider_36.png b/app/src/main/res/drawable-mdpi/ic_switch_provider_36.png
new file mode 100644
index 00000000..a830e782
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_switch_provider_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_about_36.png b/app/src/main/res/drawable-xhdpi/ic_about_36.png
new file mode 100644
index 00000000..7a15dacc
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_about_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_always_on_36.png b/app/src/main/res/drawable-xhdpi/ic_always_on_36.png
new file mode 100644
index 00000000..811d64d7
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_always_on_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_battery_36.png b/app/src/main/res/drawable-xhdpi/ic_battery_36.png
new file mode 100644
index 00000000..4bed162d
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_battery_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_donate_36.png b/app/src/main/res/drawable-xhdpi/ic_donate_36.png
new file mode 100644
index 00000000..fe680f0e
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_donate_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_log_36.png b/app/src/main/res/drawable-xhdpi/ic_log_36.png
new file mode 100644
index 00000000..571e09ae
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_log_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_switch_provider_36.png b/app/src/main/res/drawable-xhdpi/ic_switch_provider_36.png
new file mode 100644
index 00000000..be31da48
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_switch_provider_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_about_36.png b/app/src/main/res/drawable-xxhdpi/ic_about_36.png
new file mode 100644
index 00000000..b2c8cfcc
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_about_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_always_on_36.png b/app/src/main/res/drawable-xxhdpi/ic_always_on_36.png
new file mode 100644
index 00000000..bfb87c49
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_always_on_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_battery_36.png b/app/src/main/res/drawable-xxhdpi/ic_battery_36.png
new file mode 100644
index 00000000..7a311741
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_battery_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_donate_36.png b/app/src/main/res/drawable-xxhdpi/ic_donate_36.png
new file mode 100644
index 00000000..08bff222
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_donate_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_log_36.png b/app/src/main/res/drawable-xxhdpi/ic_log_36.png
new file mode 100644
index 00000000..b0396a89
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_log_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_switch_provider_36.png b/app/src/main/res/drawable-xxhdpi/ic_switch_provider_36.png
new file mode 100644
index 00000000..229e3147
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_switch_provider_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_about_36.png b/app/src/main/res/drawable-xxxhdpi/ic_about_36.png
new file mode 100644
index 00000000..bbbd987f
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_about_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_always_on_36.png b/app/src/main/res/drawable-xxxhdpi/ic_always_on_36.png
new file mode 100644
index 00000000..f8e2a790
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_always_on_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_battery_36.png b/app/src/main/res/drawable-xxxhdpi/ic_battery_36.png
new file mode 100644
index 00000000..70087a20
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_battery_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_donate_36.png b/app/src/main/res/drawable-xxxhdpi/ic_donate_36.png
new file mode 100644
index 00000000..cf04212d
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_donate_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_log_36.png b/app/src/main/res/drawable-xxxhdpi/ic_log_36.png
new file mode 100644
index 00000000..30f5e866
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_log_36.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_switch_provider_36.png b/app/src/main/res/drawable-xxxhdpi/ic_switch_provider_36.png
new file mode 100644
index 00000000..56a9bd29
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_switch_provider_36.png
Binary files differ
diff --git a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml
new file mode 100644
index 00000000..100016a6
--- /dev/null
+++ b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml
@@ -0,0 +1,31 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/item_container"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ xmlns:tools="http://schemas.android.com/tools">
+
+ <ImageView
+ android:id="@+id/material_icon"
+ android:layout_width="?android:attr/listPreferredItemHeightSmall"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:layout_gravity="center"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ tools:src="@drawable/ic_add_circle_outline_grey600_24dp"
+ />
+ <TextView
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:gravity="center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ tools:text="TEST"
+ />
+
+</LinearLayout>
diff --git a/app/src/main/res/layout/v_icon_text_list_item.xml b/app/src/main/res/layout/v_icon_text_list_item.xml
new file mode 100644
index 00000000..0631b2fc
--- /dev/null
+++ b/app/src/main/res/layout/v_icon_text_list_item.xml
@@ -0,0 +1,31 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/item_container"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ xmlns:tools="http://schemas.android.com/tools">
+
+ <ImageView
+ android:id="@+id/material_icon"
+ android:layout_width="?android:attr/listPreferredItemHeightSmall"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:layout_gravity="center"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ tools:src="@drawable/ic_add_circle_outline_grey600_24dp"
+ />
+ <TextView
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:gravity="center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ tools:text="TEST"
+ />
+
+</LinearLayout>
diff --git a/app/src/main/res/layout/v_switch_list_item.xml b/app/src/main/res/layout/v_switch_list_item.xml
index bdb9a74c..26060a73 100644
--- a/app/src/main/res/layout/v_switch_list_item.xml
+++ b/app/src/main/res/layout/v_switch_list_item.xml
@@ -1,15 +1,48 @@
-<android.support.v7.widget.SwitchCompat xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
- android:id="@android:id/text1"
+ android:id="@+id/item_container"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceListItemSmall"
- android:gravity="center_vertical"
- android:paddingStart="?android:attr/listPreferredItemPaddingStart"
- android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
- android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
- android:paddingRight="?android:attr/listPreferredItemPaddingRight"
- android:background="?android:attr/activatedBackgroundIndicator"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"
- android:checked="false"
- tools:text="someOption" /> \ No newline at end of file
+ >
+
+ <ImageView
+ android:id="@+id/material_icon"
+ android:layout_width="?android:attr/listPreferredItemHeightSmall"
+ android:layout_height="?android:attr/listPreferredItemHeightSmall"
+ android:layout_gravity="center"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ tools:src="@drawable/ic_add_circle_outline_grey600_24dp"
+ />
+
+ <TextView
+ android:id="@android:id/text1"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:gravity="center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ tools:text="TEST"
+ android:layout_toEndOf="@id/material_icon"
+ android:layout_toRightOf="@+id/material_icon"
+ />
+
+ <android.support.v7.widget.SwitchCompat
+ android:id="@+id/option_switch"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:gravity="center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:background="?android:attr/activatedBackgroundIndicator"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:checked="false"
+ tools:text="" />
+</RelativeLayout> \ No newline at end of file