| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| tools:context="org.apache.weex.SliceTestActivity"> |
| |
| <Button |
| android:id="@+id/button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:onClick="addCellClick" |
| android:text="ADD CELL"/> |
| |
| <TextView |
| android:id="@+id/report_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignTop="@+id/button" |
| android:layout_alignBottom="@+id/button" |
| android:layout_alignParentRight="true" |
| android:layout_alignParentTop="true" |
| android:gravity="center_vertical" |
| tools:text="create: 12ms, avg: 10ms
refresh: 12ms, avg: 10ms"/> |
| |
| <android.support.v7.widget.RecyclerView |
| android:id="@+id/recycler_view" |
| android:layout_width="match_parent" |
| android:layout_height="210dp" |
| android:layout_below="@+id/button"/> |
| </RelativeLayout> |