summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/v_location_status_indicator.xml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-22 15:31:08 +0200
committercyBerta <cyberta@riseup.net>2021-11-15 16:13:41 +0100
commit551ee22aafae99c1f0802ec48f43d448cc77db37 (patch)
tree50756228638aaf55ea17a4baf9285a363cba8760 /app/src/main/res/layout/v_location_status_indicator.xml
parent9b2b57d8617e60c0b69713e1e5f14dbb8e57c70a (diff)
first implementation of the gateway button, started to remove labels from EipFragment, implement method to get the avearage load of a location as an enum value
Diffstat (limited to 'app/src/main/res/layout/v_location_status_indicator.xml')
-rw-r--r--app/src/main/res/layout/v_location_status_indicator.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/app/src/main/res/layout/v_location_status_indicator.xml b/app/src/main/res/layout/v_location_status_indicator.xml
new file mode 100644
index 00000000..97b55917
--- /dev/null
+++ b/app/src/main/res/layout/v_location_status_indicator.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:weightSum="100"
+ android:layout_margin="8dp"
+ >
+
+ <View
+ android:id="@+id/level3"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="30"
+ android:background="@color/green200"
+ android:visibility="invisible"
+ />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="5"
+ />
+
+ <View
+ android:id="@+id/level2"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="30"
+ android:background="@color/green200"
+ android:visibility="invisible"
+ />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="5"
+ />
+
+ <View
+ android:id="@+id/level1"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="30"
+ android:background="@color/green200"
+ android:visibility="invisible"
+ />
+
+</LinearLayout> \ No newline at end of file