Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05a9bd9c authored by Roman Birg's avatar Roman Birg
Browse files

Settings: make empty profile views fit on hdpi



Change-Id: I2a03fc0fa4775ffddeca4713a0bbeff36ab552dd
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit 5127418d)
parent f7edb005
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
<?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
            xmlns:android="http://schemas.android.com/apk/res/android"
            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_bluetooth2" />

    </LinearLayout>
</RelativeLayout>
 No newline at end of file
+34 −0
Original line number Diff line number Diff line
<?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_teal" />

    </LinearLayout>
</RelativeLayout>
 No newline at end of file