代码格式测试
2017-04-19 12:36
134 查看
<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:background="@color/viewBackground" android:layout_height="match_parent"> <android.support.design.widget.CoordinatorLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <android.support.design.widget.AppBarLayout android:id="@+id/appBar" android:layout_width="match_parent" android:layout_height="wrap_content" > <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /> </android.support.design.widget.AppBarLayout> <android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="16dp" android:background="@color/colorAccent" android:src="@drawable/ic_date_range_white_24dp" /> <android.support.v4.widget.SwipeRefreshLayout android:id="@+id/swipe_refresh" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/viewBackground" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <ListView android:id="@+id/list_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/viewBackground"/> </android.support.v4.widget.SwipeRefreshLayout> <TextView android:id="@+id/noRecord" android:layout_width="match_parent" android:layout_height="match_parent" android:textSize="28sp" android:text="@string/noRecord" android:textColor="@color/textColorPrimary" android:layout_marginTop="?attr/actionBarSize" android:gravity="center" android:visibility="gone"/> </android.support.design.widget.CoordinatorLayout> <android.support.design.widget.NavigationView android:background="@color/viewBackground" app:itemTextColor="@color/textColorPrimary" android:id="@+id/nav_view" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="start" app:menu="@menu/nav_menu" app:headerLayout="@layout/nav_header" /> </android.support.v4.widget.DrawerLayout>
相关文章推荐
- 测试博客代码格式
- java 发送邮件 email相关操作代码测试,生成复杂格式邮件,发送邮件相关操作(键人岐)
- 测试Windows Live Writer编写博客,主要是代码格式
- java 发送邮件 email相关操作代码测试,生成复杂格式邮件,发送邮件相关操作
- 2017-02问题记录总结:linux下网络收发包性能测试代码、.bin和.elf文件格式区别
- 测试下代码格式
- java 发送邮件 email相关操作代码测试,生成复杂格式邮件,发送邮件相关操作
- 测试代码格式
- 测试一下论坛代码格式
- java识别文件编码格式代码(无引用jar包,测试可行)
- 测试一下论坛代码格式
- 安卓代码管理及代码格式改动对测试范围的影响
- Eclipse代码片断编辑测试窗
- QQ 的数据格式 没事测试的
- 测试报告的格式
- 提供《华容道与数据结构》代码供测试
- 优化代码时要选用正确的测试方法
- 测试代码
- 网页上贴代码的格式
- 单元测试-使用nmock测试你的.NET代码(1)