kds_line_1.xml 1.6 KB
Newer Older
wjg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/scroll_line_2"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:paddingBottom="@dimen/menu_state_padding_line">
    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:gravity="center_vertical"
        android:orientation="horizontal">
        <ImageView
            android:layout_width="35px"
            android:layout_height="34px"
            android:src="@mipmap/bingxiang" />
        <TextView
            android:id="@+id/txt_fridge_temp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/menu_state_icon_margin"
            android:text="@string/txt_fridge_temp"
            android:textColor="@color/menu_state_text"
            android:textSize="@dimen/ts_menu_state" />
    </LinearLayout>
    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="horizontal">
        <TextView
            android:id="@+id/txt_inside_humidity"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/txt_inside_humidity"
            android:textColor="@color/menu_state_text"
            android:textSize="@dimen/ts_menu_state" />
    </LinearLayout>
</LinearLayout>