summaryrefslogtreecommitdiffstats
path: root/res/layout-land-hdpi
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-04-01 17:15:22 -0700
committerMichael Bestas <mikeioannina@gmail.com>2015-12-28 16:28:28 +0200
commit52e7a402a1dba1ab19028177d2324be5676eba80 (patch)
tree5ef2ac0a8fd4fc8a7a997841f52cba84f72f14e9 /res/layout-land-hdpi
parent70c5fb749ca34cfe1e7a156d97f5bb32e81d5ddc (diff)
downloadpackages_apps_Settings-52e7a402a1dba1ab19028177d2324be5676eba80.zip
packages_apps_Settings-52e7a402a1dba1ab19028177d2324be5676eba80.tar.gz
packages_apps_Settings-52e7a402a1dba1ab19028177d2324be5676eba80.tar.bz2
Settings: make empty profile views fit on hdpi
Change-Id: I2a03fc0fa4775ffddeca4713a0bbeff36ab552dd Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'res/layout-land-hdpi')
-rw-r--r--res/layout-land-hdpi/profile_bluetooth_empty_view.xml34
-rw-r--r--res/layout-land-hdpi/profile_wifi_empty_view.xml34
2 files changed, 68 insertions, 0 deletions
diff --git a/res/layout-land-hdpi/profile_bluetooth_empty_view.xml b/res/layout-land-hdpi/profile_bluetooth_empty_view.xml
new file mode 100644
index 0000000..e653dd4
--- /dev/null
+++ b/res/layout-land-hdpi/profile_bluetooth_empty_view.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/empty"
+
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:layout_centerInParent="true">
+
+ <TextView
+ style="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="30dip"
+ android:layout_marginEnd="30dip"
+ android:layout_marginBottom="30dip"
+ android:layout_gravity="center"
+ android:text="@string/no_bluetooth_triggers" />
+
+ <ImageView
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center"
+ android:src="@drawable/ic_settings_bluetooth" />
+
+ </LinearLayout>
+</RelativeLayout>
diff --git a/res/layout-land-hdpi/profile_wifi_empty_view.xml b/res/layout-land-hdpi/profile_wifi_empty_view.xml
new file mode 100644
index 0000000..6f29c37
--- /dev/null
+++ b/res/layout-land-hdpi/profile_wifi_empty_view.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/empty"
+
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:layout_centerInParent="true">
+
+ <TextView
+ style="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="30dip"
+ android:layout_marginEnd="30dip"
+ android:layout_marginBottom="30dip"
+ android:layout_gravity="center"
+ android:text="@string/no_wifi_triggers" />
+
+ <ImageView
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center"
+ android:src="@drawable/ic_wifi_signal_4" />
+
+ </LinearLayout>
+</RelativeLayout>