123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?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="wrap_content"
- android:background="@drawable/nim_message_view_bottom"
- android:orientation="vertical"
- android:padding="8dp"
- android:clickable="true">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="8dp">
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="7"
- android:gravity="start"
- android:text="出售/求购"
- android:textColor="@color/color_gray_cbd0d8" />
- <TextView
- android:id="@+id/gift_panel_balance_TV"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:layout_weight="2"
- android:text="余额"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/gift_panel_recharge_TV"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/rechage"
- android:textColor="@color/green_4DC0A4" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <RadioGroup
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:orientation="horizontal">
- <RadioButton
- android:id="@+id/gift_panel_sell_radio_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="出售" />
- <RadioButton
- android:id="@+id/gift_panel_buy_radio_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="求购" />
- </RadioGroup>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/gift_panel_trade_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:visibility="gone">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:paddingLeft="8dp"
- android:paddingStart="8dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="置顶" />
- <Spinner
- android:id="@+id/gift_panel_spinner"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="8dp">
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:text="置顶数量" />
- <SeekBar
- android:id="@+id/gift_panel_num_seekbar"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:max="25"
- android:progress="1" />
- <TextView
- android:id="@+id/gift_panel_num_TV"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="1" />
- </LinearLayout>
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginBottom="-5dp"
- android:layout_marginTop="-5dp"
- android:enabled="false"
- android:text="一天可发布三条,道具数量决定快讯排名"
- android:textColor="@android:color/holo_red_dark"
- android:textSize="10sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="8dp">
- <TextView
- android:id="@+id/gift_panel_select_person_TV"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="3"
- android:text="选择赠送人"
- android:textColor="@color/green_4DC0A4"
- android:visibility="gone" />
- <EditText
- android:id="@+id/gift_panel_gift_message_ET"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="7"
- android:hint=""
- android:maxLines="1" />
- <Button
- android:id="@+id/gift_panel_publish_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.01"
- android:background="@drawable/btn1_selector"
- android:text="发送"
- android:textColor="@color/white" />
- </LinearLayout>
- <HorizontalScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/gift_panel_photos_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- </LinearLayout>
- </HorizontalScrollView>
- </LinearLayout>
- <TextView
- android:id="@+id/gift_panel_empty_tip_TV"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="发布消息请选择"
- android:padding="64dp"/>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/gift_panel_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- </LinearLayout>
|