码迷,mamicode.com
首页 > 移动开发 > 详细

我的手机管家(14) 缓存处理 界面设计

时间:2016-07-05 13:43:59      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

我的手机管家(14)  缓存处理 界面设计

界面简单不介绍了

<?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"
    android:paddingBottom="15dp" >

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#b3b3b3" >

        <Button
            android:id="@+id/acc_btn1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:onClick="onControl"
            android:text="开始扫描" />

        <TextView
            android:id="@+id/acc_tv1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/acc_btn1"
            android:layout_alignBottom="@+id/acc_btn1"
            android:layout_alignParentLeft="true"
            android:text="扫描信息" />
    </RelativeLayout>

    <ProgressBar
        android:id="@+id/progressBar1"
        style="?android:attr/progressBarStyleHorizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="2dp"
        android:background="@drawable/custom_progress" />

    <TextView
        android:id="@+id/acc_tv2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:singleLine="true"
        android:text="正在扫描..." />

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <LinearLayout
            android:id="@+id/cache_linear"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical" >
        </LinearLayout>
    </ScrollView>

</LinearLayout>

 技术分享

我的手机管家(14) 缓存处理 界面设计

标签:

原文地址:http://www.cnblogs.com/chengbao/p/5643052.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!