<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/home_module_title" android:paddingLeft="20dp" android:layout_marginTop="50dp" android:textSize="18dp" /> <TextView style="@style/item_func" android:id="@+id/tvNewHome" android:text="@string/home_new_home" /> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginLeft="20dp" android:background="#FF888888" /> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:id="@+id/tvCurrentHome" style="@style/item_func" android:text="@string/home_current_home" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/tvCurrentHomeName" android:layout_gravity="center_vertical|right" android:layout_marginRight="40dp" /> </FrameLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginLeft="20dp" android:background="#FF888888" /> <TextView style="@style/item_func" android:id="@+id/tvHomeList" android:text="@string/home_home_list" /> </LinearLayout>