forked from Tencent/APIJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoment_activity.xml
More file actions
executable file
·47 lines (38 loc) · 1.51 KB
/
moment_activity.xml
File metadata and controls
executable file
·47 lines (38 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/activity_page" >
<RelativeLayout style="@style/topbar_bg" >
<ImageView style="@style/topbar_return_img" />
<TextView
style="@style/topbar_title"
android:layout_centerHorizontal="true"
android:text="动态" />
</RelativeLayout>
<!-- 可以改为ListView,如果改的话对应DemoListActivity内也要改;padding会导致smoothScrollToPosition失效 -->
<zuo.biao.library.ui.xlistview.XListView
android:id="@id/lvBaseList"
style="@style/lv"
android:layout_weight="1"
android:descendantFocusability="blocksDescendants"
android:listSelector="@null" />
<LinearLayout
style="@style/ll_horizontal_match_wrap"
android:background="@color/alpha_1"
android:gravity="top"
android:padding="4dp" >
<EditText
android:id="@+id/etMomentInput"
style="@style/edit_text_bg"
android:layout_weight="1"
android:hint="我也说一句"
android:maxLines="5"
android:minHeight="38dp" />
<TextView
android:id="@+id/tvMomentSend"
style="@style/edit_item_rt_tv"
android:layout_height="38dp"
android:layout_marginLeft="4dp"
android:background="@drawable/btn_blue_round_bg"
android:text="发送" />
</LinearLayout>
</LinearLayout>