diff options
author | cyBerta <cyberta@riseup.net> | 2021-07-22 15:31:08 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-15 16:13:41 +0100 |
commit | 551ee22aafae99c1f0802ec48f43d448cc77db37 (patch) | |
tree | 50756228638aaf55ea17a4baf9285a363cba8760 /app/src/main/res/layout/v_location_button.xml | |
parent | 9b2b57d8617e60c0b69713e1e5f14dbb8e57c70a (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_button.xml')
-rw-r--r-- | app/src/main/res/layout/v_location_button.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app/src/main/res/layout/v_location_button.xml b/app/src/main/res/layout/v_location_button.xml new file mode 100644 index 00000000..7425231e --- /dev/null +++ b/app/src/main/res/layout/v_location_button.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_gravity="center_vertical" + android:clickable="true" + android:focusable="true" + android:padding="@dimen/stdpadding" + android:background="@drawable/cust_button_primary_rect" + android:layout_height="wrap_content"> + + <androidx.appcompat.widget.AppCompatTextView + android:id="@+id/text_location" + android:padding="@dimen/stdpadding" + android:layout_weight="1" + android:layout_width="0dp" + android:maxLines="1" + android:ellipsize="end" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:textAppearance="@style/TextAppearance.AppCompat.Large" + android:textStyle="bold" + android:textColor="@color/white" + tools:text="Seattle" + /> + + <se.leap.bitmaskclient.base.views.LocationIndicator + android:id="@+id/load_indicator" + android:layout_width="48dp" + android:layout_height="match_parent" + android:visibility="visible" + android:layout_gravity="center_vertical" + /> + + + +</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file |