zoukankan      html  css  js  c++  java
  • 第二阶段冲刺04

    今天团队主要做了界面上的修改,主显示界面和便签详情界面

    我负责主界面

    代码:

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
                 xmlns:pixlui="http://schemas.android.com/apk/com.neopixl.pixlui"
                 xmlns:wheel="http://schemas.android.com/apk/res-auto"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 android:layout_marginLeft="@dimen/activity_additional_margin"
                 android:layout_marginRight="@dimen/activity_additional_margin">
    
        <it.feio.android.omninotes.models.views.InterceptorLinearLayout
                android:id="@+id/list_root"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">
    
            <LinearLayout
                    android:id="@+id/search_layout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:visibility="gone"
                    android:paddingLeft="@dimen/horizontal_margin"
                    android:paddingStart="@dimen/horizontal_margin">
    
                <TextView
                        android:id="@+id/search_query"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:textAppearance="@style/Text.Small"
                        android:paddingTop="16dp"
                        android:paddingBottom="8dp"/>
    
                <ImageView
                        android:id="@+id/search_cancel"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:src="@drawable/ic_cancel_black_18dp"
                        android:paddingTop="10dp"
                        android:paddingRight="@dimen/horizontal_margin"
                        android:paddingEnd="@dimen/horizontal_margin"/>
            </LinearLayout>
    
            <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent">
                <com.nhaarman.listviewanimations.itemmanipulation.DynamicListView
                        android:id="@+id/list"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:divider="@null"
                        android:dividerHeight="8dp"
                        android:paddingLeft="8dp"
                        android:paddingRight="8dp"
                        android:paddingTop="@dimen/padding_half"
                        android:clipToPadding="false"
                        android:scrollbarSize="4dp"
                        android:drawSelectorOnTop="true"
                        android:listSelector="@drawable/icon_selector"
                        android:scrollbarStyle="outsideOverlay"
                        android:scrollbarThumbVertical="@drawable/scroll_bar"
                        android:fastScrollEnabled="true"
                        android:smoothScrollbar="true"
                        android:scrollingCache="false"
                        android:animationCache="false"/>
    
                <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:gravity="center">
    
                    <com.neopixl.pixlui.components.textview.TextView
                            android:id="@+id/empty_list"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:drawablePadding="10dp"
                            android:drawableTop="@drawable/jingles_animation"
                            android:gravity="center"
                            android:text="@string/no_items_in_list"
                            android:textColor="@color/list_note_dates"
                            android:textSize="20sp"
                            android:visibility="gone"
                            pixlui:typeface="Roboto-Regular.ttf"/>
                </LinearLayout>
    
    
                <com.pnikosis.materialishprogress.ProgressWheel
                        android:id="@+id/progress_wheel"
                        android:layout_width="100dp"
                        android:layout_height="100dp"
                        android:layout_gravity="center"
                        wheel:matProg_barColor="@color/colorPrimary"
                        wheel:matProg_progressIndeterminate="true"/>
    
            </FrameLayout>
    
        </it.feio.android.omninotes.models.views.InterceptorLinearLayout>
    
        <include
                android:id="@+id/undobar"
                layout="@layout/undobar"/>
    
        <include
                android:id="@+id/fab"
                layout="@layout/fab"/>
    
        <ImageView
                android:id="@+id/expanded_image"
                android:layout_width="match_parent"
                android:scaleType="centerCrop"
                android:layout_height="match_parent"/>
    
        <androidx.coordinatorlayout.widget.CoordinatorLayout
                android:layout_width="match_parent"
                android:layout_height="200dp"
                android:id="@+id/snackbar_placeholder"
                android:layout_gravity="bottom"/>
    
    </FrameLayout>
  • 相关阅读:
    memcached简单介绍及在django中的使用
    【Python】解决使用pyinstaller打包Tkinker程序报错问题
    【python】获取列表中最长连续数字
    【zabbix】zabbix忘记密码,重置密码
    【jenkins】jenkins实时显示python脚本输出
    【AWS】AWS云计算赋能数字化转型专题研讨会圆满落幕
    【深度学习】使用opencv在视频上添加文字和标记框
    【AWS】AWS云计算赋能数字化转型专题研讨会
    【AWS】订阅AWS论坛的RSS消息获取最新公告
    【saltstack】saltstack执行结果和事件存储到mysql
  • 原文地址:https://www.cnblogs.com/xjmm/p/13060788.html
Copyright © 2011-2022 走看看