aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-04-22 04:42:52 -0400
committerAllan Wang <me@allanwang.ca>2019-04-22 04:42:52 -0400
commitba0b4e70d93f91497a7bc157fe7f3838942dfb15 (patch)
tree6b5ab363eabfe1c95e6908c5e4ca084c0e5f9086 /app/src/main/res/layout
parent7f371a95320a1d8aae29f8ca15f7fd972367b60e (diff)
downloadfrost-ba0b4e70d93f91497a7bc157fe7f3838942dfb15.tar.gz
frost-ba0b4e70d93f91497a7bc157fe7f3838942dfb15.tar.bz2
frost-ba0b4e70d93f91497a7bc157fe7f3838942dfb15.zip
Fix icon loading
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/widget_notifications.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/app/src/main/res/layout/widget_notifications.xml b/app/src/main/res/layout/widget_notifications.xml
index fd68e20a..098bb9eb 100644
--- a/app/src/main/res/layout/widget_notifications.xml
+++ b/app/src/main/res/layout/widget_notifications.xml
@@ -1,22 +1,30 @@
<?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">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/widget_layout_container"
+ android:orientation="vertical">
+
<LinearLayout
- android:id="@+id/widget_layout_main"
+ android:id="@+id/widget_layout_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingStart="@dimen/kau_padding_small"
android:paddingEnd="@dimen/kau_padding_small">
+
<ImageView
android:id="@+id/img_refresh"
android:layout_width="@dimen/toolbar_icon_size"
+ android:layout_margin="@dimen/kau_padding_small"
android:layout_height="@dimen/toolbar_icon_size"
- android:layout_gravity="center_vertical"/>
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/ic_refresh_24dp" />
</LinearLayout>
+
<ListView
android:id="@+id/widget_notification_list"
android:layout_width="match_parent"
- android:layout_height="match_parent">
- </ListView>
+ android:layout_height="0dp"
+ android:layout_weight="1" />
</LinearLayout> \ No newline at end of file