zoukankan      html  css  js  c++  java
  • 灭霸-个人冲刺第五天

    1, 昨天的成就:

      a)       完成的任务:修改框架,数据库连接

      b)       所花时间:8h

      c)        还剩余0h

    2, 遇到的困难:

    a)     数据库虽然已经成功连接,但是和准确搜索标签,以及推荐算法仍有十分大的差距,所以数据库的格式依旧需要更改,表的结构初期搭建十分重要,这对后期起着至关重要的作用。

    3, 今天的任务:

    a)           框架再次完善

    b)           确定二手市场页面

      1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      2     android:layout_width="match_parent"
      3     android:layout_height="match_parent"
      4     android:background="@color/white"
      5     android:orientation="vertical">
      6 
      7     <FrameLayout
      8         android:layout_width="match_parent"
      9         android:layout_height="match_parent"
     10         android:background="@color/white">
     11 
     12         <include
     13             layout="@layout/view_msg"
     14             android:layout_width="match_parent"
     15             android:layout_height="match_parent" />
     16 
     17         <LinearLayout
     18             android:id="@+id/layoutContext"
     19             android:layout_width="match_parent"
     20             android:layout_height="match_parent"
     21             android:orientation="vertical">
     22 
     23             <ScrollView
     24                 android:layout_width="wrap_content"
     25                 android:layout_height="wrap_content"
     26                 android:layout_weight="1">
     27 
     28                 <LinearLayout
     29                     android:layout_width="match_parent"
     30                     android:layout_height="match_parent"
     31                     android:orientation="vertical">
     32 
     33                     <RelativeLayout
     34                         android:layout_width="wrap_content"
     35                         android:layout_height="wrap_content"
     36                         android:layout_centerInParent="true">
     37 
     38                         <ProgressBar
     39                             android:id="@+id/progressBar"
     40                             style="?android:attr/progressBarStyleSmall"
     41                             android:layout_width="wrap_content"
     42                             android:layout_height="wrap_content"
     43                             android:layout_centerInParent="true" />
     44 
     45                         <ImageView
     46                             android:id="@+id/imgView"
     47                             android:layout_width="match_parent"
     48                             android:layout_height="200dp"
     49                             android:layout_centerVertical="true"
     50                             android:padding="2dip"
     51                             android:scaleType="fitXY" />
     52                     </RelativeLayout>
     53 
     54 
     55                     <LinearLayout
     56                         android:layout_width="match_parent"
     57                         android:layout_height="wrap_content"
     58                         android:layout_margin="7dp"
     59                         android:background="@drawable/bkx_background_style"
     60                         android:orientation="vertical">
     61 
     62                         <RelativeLayout
     63                             android:layout_width="match_parent"
     64                             android:layout_height="wrap_content"
     65                             android:orientation="horizontal">
     66 
     67                             <TextView
     68                                 android:id="@+id/textCommodityName"
     69                                 android:layout_width="wrap_content"
     70                                 android:layout_height="wrap_content"
     71                                 android:layout_alignParentLeft="true"
     72                                 android:drawablePadding="10dp"
     73                                 android:padding="10dp"
     74                                 android:singleLine="true"
     75                                 android:text="--"
     76                                 android:textColor="#000000" />
     77 
     78                             <TextView
     79                                 android:id="@+id/textCommodityPrice"
     80                                 android:layout_width="wrap_content"
     81                                 android:layout_height="wrap_content"
     82                                 android:layout_alignParentRight="true"
     83                                 android:padding="10dp"
     84                                 android:singleLine="true"
     85                                 android:text="--"
     86                                 android:textColor="#000000" />
     87                         </RelativeLayout>
     88 
     89                         <RelativeLayout
     90                             android:layout_width="match_parent"
     91                             android:layout_height="wrap_content"
     92                             android:orientation="horizontal">
     93 
     94                             <TextView
     95                                 android:id="@+id/textCommodityViews"
     96                                 android:layout_width="wrap_content"
     97                                 android:layout_height="wrap_content"
     98                                 android:layout_alignParentLeft="true"
     99                                 android:drawablePadding="10dp"
    100                                 android:padding="10dp"
    101                                 android:singleLine="true"
    102                                 android:text="--"
    103                                 android:textColor="#000000" />
    104 
    105                             <TextView
    106                                 android:id="@+id/textCommodityAddTime"
    107                                 android:layout_width="wrap_content"
    108                                 android:layout_height="wrap_content"
    109                                 android:layout_alignParentRight="true"
    110                                 android:padding="10dp"
    111                                 android:singleLine="true"
    112                                 android:text="--"
    113                                 android:textColor="#000000" />
    114                         </RelativeLayout>
    115 
    116                     </LinearLayout>
    117 
    118                     <LinearLayout
    119                         android:layout_width="match_parent"
    120                         android:layout_height="wrap_content"
    121                         android:layout_margin="7dp"
    122                         android:background="@drawable/bkx_background_style"
    123                         android:orientation="vertical">
    124 
    125                         <LinearLayout
    126                             android:layout_width="match_parent"
    127                             android:layout_height="wrap_content"
    128                             android:orientation="horizontal">
    129 
    130                             <TextView
    131                                 android:layout_width="wrap_content"
    132                                 android:layout_height="wrap_content"
    133                                 android:layout_margin="10dp"
    134                                 android:drawableLeft="@drawable/home_feed_location"
    135                                 android:drawablePadding="5dp"
    136                                 android:maxLength="10"
    137                                 android:singleLine="true"
    138                                 android:text="交易地点:"
    139                                 android:textSize="14sp" />
    140 
    141                             <TextView
    142                                 android:id="@+id/textCommodityAddress"
    143                                 android:layout_width="wrap_content"
    144                                 android:layout_height="wrap_content"
    145                                 android:layout_margin="10dp"
    146                                 android:text="--"
    147                                 android:textColor="@color/black"
    148                                 android:textSize="14sp" />
    149 
    150                         </LinearLayout>
    151 
    152                         <View
    153                             android:layout_width="match_parent"
    154                             android:layout_height="1dp"
    155                             android:background="@color/line" />
    156 
    157                     </LinearLayout>
    158 
    159                     <LinearLayout
    160                         android:layout_width="match_parent"
    161                         android:layout_height="wrap_content"
    162                         android:layout_margin="7dp"
    163                         android:background="@drawable/bkx_background_style"
    164                         android:orientation="vertical">
    165 
    166                         <LinearLayout
    167                             android:layout_width="match_parent"
    168                             android:layout_height="wrap_content"
    169                             android:orientation="horizontal">
    170 
    171                             <TextView
    172                                 android:layout_width="wrap_content"
    173                                 android:layout_height="wrap_content"
    174                                 android:layout_margin="10dp"
    175                                 android:maxLength="10"
    176                                 android:singleLine="true"
    177                                 android:text="发布者:"
    178                                 android:textSize="14sp" />
    179 
    180                             <TextView
    181                                 android:id="@+id/textUsersDetail"
    182                                 android:layout_width="wrap_content"
    183                                 android:layout_height="wrap_content"
    184                                 android:layout_margin="10dp"
    185                                 android:text="--"
    186                                 android:textColor="@color/black"
    187                                 android:textSize="14sp" />
    188 
    189                         </LinearLayout>
    190 
    191 
    192                     </LinearLayout>
    193 
    194                     <LinearLayout
    195                         android:layout_width="match_parent"
    196                         android:layout_height="wrap_content"
    197                         android:layout_margin="7dp"
    198                         android:background="@drawable/bkx_background_style"
    199                         android:orientation="vertical">
    200 
    201                         <LinearLayout
    202                             android:layout_width="match_parent"
    203                             android:layout_height="wrap_content"
    204                             android:orientation="horizontal">
    205 
    206                             <TextView
    207                                 android:layout_width="wrap_content"
    208                                 android:layout_height="wrap_content"
    209                                 android:layout_margin="10dp"
    210                                 android:maxLength="10"
    211                                 android:singleLine="true"
    212                                 android:text="商品详情:"
    213                                 android:textSize="14sp" />
    214 
    215                             <TextView
    216                                 android:id="@+id/textCommodityDetail"
    217                                 android:layout_width="wrap_content"
    218                                 android:layout_height="wrap_content"
    219                                 android:layout_margin="10dp"
    220                                 android:text="--"
    221                                 android:textColor="@color/black"
    222                                 android:textSize="14sp" />
    223 
    224                         </LinearLayout>
    225 
    226                     </LinearLayout>
    227 
    228                     <LinearLayout
    229                         android:layout_width="match_parent"
    230                         android:layout_height="wrap_content"
    231                         android:layout_margin="7dp"
    232                         android:background="@drawable/bkx_background_style"
    233                         android:orientation="vertical">
    234 
    235                         <LinearLayout
    236                             android:layout_width="match_parent"
    237                             android:layout_height="wrap_content"
    238                             android:orientation="horizontal">
    239 
    240                             <TextView
    241                                 android:layout_width="wrap_content"
    242                                 android:layout_height="wrap_content"
    243                                 android:layout_margin="10dp"
    244                                 android:maxLength="10"
    245                                 android:singleLine="true"
    246                                 android:text="讲价:"
    247                                 android:textSize="14sp" />
    248 
    249                             <TextView
    250                                 android:id="@+id/textCommodityBargain"
    251                                 android:layout_width="wrap_content"
    252                                 android:layout_height="wrap_content"
    253                                 android:layout_margin="10dp"
    254                                 android:text="--"
    255                                 android:textColor="@color/black"
    256                                 android:textSize="14sp" />
    257 
    258                         </LinearLayout>
    259 
    260                     </LinearLayout>
    261 
    262                 </LinearLayout>
    263 
    264             </ScrollView>
    265 
    266             <LinearLayout
    267                 android:id="@+id/layoutBottom"
    268                 android:layout_width="match_parent"
    269                 android:layout_height="wrap_content"
    270                 android:background="@drawable/tab_bar_bg"
    271                 android:gravity="center_vertical"
    272                 android:orientation="horizontal"
    273                 android:padding="5dp">
    274 
    275                 <Button
    276                     android:id="@+id/btnContactTheSeller"
    277                     android:layout_width="wrap_content"
    278                     android:layout_height="wrap_content"
    279                     android:layout_weight="1"
    280                     android:background="@drawable/btn_selector"
    281                     android:text="联系卖家"
    282                     android:textColor="@color/white" />
    283 
    284             </LinearLayout>
    285         </LinearLayout>
    286 
    287     </FrameLayout>
    288 
    289 </LinearLayout>
  • 相关阅读:
    spring/spirng boot添加fluent日志-aop
    python添加fluent日志记录
    springboot添加fluent日志记录
    istio添加Fluentd
    linux通过speedtest-cli测试服务器网速
    linux 发送Post请求 json格式
    springboot添加fluent日志记录
    virtaulbox docker虚拟机使用主机代理shandowsocks
    istio-jaeger-python调用链配置
    计算机网络和因特网
  • 原文地址:https://www.cnblogs.com/smartisn/p/10780168.html
Copyright © 2011-2022 走看看