summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/empty_weather_state.xml16
-rw-r--r--res/layout/weather_service_provider_info_row.xml1
2 files changed, 12 insertions, 5 deletions
diff --git a/res/layout/empty_weather_state.xml b/res/layout/empty_weather_state.xml
index 09c3794..7ae635a 100644
--- a/res/layout/empty_weather_state.xml
+++ b/res/layout/empty_weather_state.xml
@@ -32,16 +32,22 @@
android:layout_marginBottom="12dip"
android:src="@drawable/ic_settings_weather"
android:tint="@color/weather_settings_icon_tint"
- android:contentDescription="@null">
- </ImageView>
-
+ android:contentDescription="@null" />
<TextView
android:id="@+id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18dp"
- android:textColor="?android:attr/textColorSecondary">
- </TextView>
+ android:textColor="?android:attr/textColorSecondary" />
+ <Button android:id="@+id/add_weather_provider"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ style="?android:attr/buttonBarButtonStyle"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/weather_settings_add_weather_provider"
+ android:textAllCaps="true" />
</LinearLayout>
</FrameLayout>
diff --git a/res/layout/weather_service_provider_info_row.xml b/res/layout/weather_service_provider_info_row.xml
index 676863e..ddaa820 100644
--- a/res/layout/weather_service_provider_info_row.xml
+++ b/res/layout/weather_service_provider_info_row.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The CyanogenMod Project