+
}
};
fetchPhotosTask.executeOnExecutor(ThreadExecutor.getInstance().getExecutor(), UrlContainer.HOME_PHOTO_URL);
@@ -2,8 +2,8 @@ |
||
| 2 | 2 |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | 3 |
android:layout_width="match_parent" |
| 4 | 4 |
android:layout_height="match_parent" |
| 5 |
- android:fitsSystemWindows="true" |
|
| 6 |
- > |
|
| 5 |
+ xmlns:htext="http://schemas.android.com/apk/res-auto" |
|
| 6 |
+ android:fitsSystemWindows="true"> |
|
| 7 | 7 |
|
| 8 | 8 |
<include layout="@layout/content_main" /> |
| 9 | 9 |
|
@@ -18,6 +18,20 @@ |
||
| 18 | 18 |
android:layout_marginTop="3dp" |
| 19 | 19 |
android:background="@drawable/floating_add_selector"/> |
| 20 | 20 |
|
| 21 |
+ <com.hanks.htextview.HTextView |
|
| 22 |
+ android:id="@+id/tv_add_group_hint" |
|
| 23 |
+ android:layout_width="match_parent" |
|
| 24 |
+ android:layout_height="56dp" |
|
| 25 |
+ android:gravity="center" |
|
| 26 |
+ android:text="@string/click_to_add_group" |
|
| 27 |
+ android:layout_gravity="bottom|start" |
|
| 28 |
+ android:layout_marginRight="60dp" |
|
| 29 |
+ android:layout_marginBottom="6dp" |
|
| 30 |
+ android:layout_marginTop="3dp" |
|
| 31 |
+ htext:animateType="typer" |
|
| 32 |
+ android:visibility="gone" |
|
| 33 |
+ android:textSize="17sp"/> |
|
| 34 |
+ |
|
| 21 | 35 |
<ImageButton |
| 22 | 36 |
android:id="@+id/floating_btn_scan" |
| 23 | 37 |
android:layout_width="56dp" |
@@ -27,6 +41,20 @@ |
||
| 27 | 41 |
android:layout_marginBottom="66dp" |
| 28 | 42 |
android:background="@drawable/floating_qrscan_selector"/> |
| 29 | 43 |
|
| 44 |
+ <com.hanks.htextview.HTextView |
|
| 45 |
+ android:id="@+id/tv_scan_qr_hint" |
|
| 46 |
+ android:layout_width="match_parent" |
|
| 47 |
+ android:layout_height="56dp" |
|
| 48 |
+ android:gravity="center" |
|
| 49 |
+ android:text="@string/click_to_scan_qr" |
|
| 50 |
+ android:layout_gravity="bottom|start" |
|
| 51 |
+ android:layout_marginRight="60dp" |
|
| 52 |
+ android:layout_marginBottom="66dp" |
|
| 53 |
+ android:layout_marginTop="3dp" |
|
| 54 |
+ htext:animateType="typer" |
|
| 55 |
+ android:visibility="gone" |
|
| 56 |
+ android:textSize="17sp"/> |
|
| 57 |
+ |
|
| 30 | 58 |
<ImageButton |
| 31 | 59 |
android:id="@+id/floating_btn_call" |
| 32 | 60 |
android:layout_width="56dp" |
@@ -252,4 +252,8 @@ |
||
| 252 | 252 |
<string name="group_admin_not_me">您不是该群的管理员,无法删除</string> |
| 253 | 253 |
|
| 254 | 254 |
<string name="click_to_take_photo">点我拍照,记录您的精彩瞬间吧</string> |
| 255 |
+ |
|
| 256 |
+ <string name="click_to_add_group">点我可以新建拍照群组哦</string> |
|
| 257 |
+ |
|
| 258 |
+ <string name="click_to_scan_qr"> 点我扫码加入朋友建的群组吧</string> |
|
| 255 | 259 |
</resources> |