Commit d0605ec1e0d6490974d5e43a3de03ec0b144e1c6
1 parent
dfae0dfa
资源文件整理
Showing
91 changed files
with
72 additions
and
188 deletions
.idea/encodings.xml
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | 2 | <project version="4"> |
| 3 | - <component name="Encoding"> | |
| 3 | + <component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8"> | |
| 4 | 4 | <file url="PROJECT" charset="UTF-8" /> |
| 5 | 5 | </component> |
| 6 | 6 | </project> |
| 7 | 7 | \ No newline at end of file | ... | ... |
.idea/modules.xml
| ... | ... | @@ -3,7 +3,6 @@ |
| 3 | 3 | <component name="ProjectModuleManager"> |
| 4 | 4 | <modules> |
| 5 | 5 | <module fileurl="file://$PROJECT_DIR$/CNLiveApp.iml" filepath="$PROJECT_DIR$/CNLiveApp.iml" /> |
| 6 | - <module fileurl="file://$PROJECT_DIR$/CNLiveApp5.iml" filepath="$PROJECT_DIR$/CNLiveApp5.iml" /> | |
| 7 | 6 | <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> |
| 8 | 7 | <module fileurl="file://$PROJECT_DIR$/user/user.iml" filepath="$PROJECT_DIR$/user/user.iml" /> |
| 9 | 8 | </modules> | ... | ... |
app/src/main/res/drawable-hdpi/ic_close.png renamed to app/src/main/res/drawable-hdpi/stream_close.png
4.45 KB
app/src/main/res/drawable-hdpi/ic_close_on.png renamed to app/src/main/res/drawable-hdpi/stream_close_on.png
4.12 KB
app/src/main/res/drawable-hdpi/ic_flash_on.png renamed to app/src/main/res/drawable-hdpi/stream_flash_on.png
4.11 KB
app/src/main/res/drawable-hdpi/ic_flash_on_sel.png renamed to app/src/main/res/drawable-hdpi/stream_flash_on_sel.png
3.91 KB
app/src/main/res/drawable-hdpi/ic_meiyan.png renamed to app/src/main/res/drawable-hdpi/stream_meiyan.png
4.49 KB
app/src/main/res/drawable-hdpi/ic_meiyan_on.png renamed to app/src/main/res/drawable-hdpi/stream_meiyan_on.png
5.06 KB
app/src/main/res/drawable-hdpi/ic_meiyan_on_sel.png renamed to app/src/main/res/drawable-hdpi/stream_meiyan_on_sel.png
4.42 KB
app/src/main/res/drawable-hdpi/ic_meiyan_sel.png renamed to app/src/main/res/drawable-hdpi/stream_meiyan_sel.png
4.09 KB
app/src/main/res/drawable-hdpi/ic_switch_camera.png renamed to app/src/main/res/drawable-hdpi/stream_switch_camera.png
4.15 KB
app/src/main/res/drawable-hdpi/ic_switch_camera_sel.png renamed to app/src/main/res/drawable-hdpi/stream_switch_camera_sel.png
4.05 KB
app/src/main/res/drawable-mdpi/ic_close.png renamed to app/src/main/res/drawable-mdpi/stream_close.png
2.43 KB
app/src/main/res/drawable-mdpi/ic_close_on.png renamed to app/src/main/res/drawable-mdpi/stream_close_on.png
2.25 KB
app/src/main/res/drawable-mdpi/ic_flash_on.png renamed to app/src/main/res/drawable-mdpi/stream_flash_on.png
2.28 KB
app/src/main/res/drawable-mdpi/ic_flash_on_sel.png renamed to app/src/main/res/drawable-mdpi/stream_flash_on_sel.png
2.21 KB
app/src/main/res/drawable-mdpi/ic_meiyan.png renamed to app/src/main/res/drawable-mdpi/stream_meiyan.png
2.45 KB
app/src/main/res/drawable-mdpi/ic_meiyan_on.png renamed to app/src/main/res/drawable-mdpi/stream_meiyan_on.png
2.8 KB
app/src/main/res/drawable-mdpi/ic_meiyan_on_sel.png renamed to app/src/main/res/drawable-mdpi/stream_meiyan_on_sel.png
2.45 KB
app/src/main/res/drawable-mdpi/ic_meiyan_sel.png renamed to app/src/main/res/drawable-mdpi/stream_meiyan_sel.png
2.26 KB
app/src/main/res/drawable-mdpi/ic_switch_camera.png renamed to app/src/main/res/drawable-mdpi/stream_switch_camera.png
2.36 KB
app/src/main/res/drawable-mdpi/ic_switch_camera_sel.png renamed to app/src/main/res/drawable-mdpi/stream_switch_camera_sel.png
2.26 KB
app/src/main/res/drawable-xhdpi/ic_close.png renamed to app/src/main/res/drawable-xhdpi/stream_close.png
5.83 KB
app/src/main/res/drawable-xhdpi/ic_close_on.png renamed to app/src/main/res/drawable-xhdpi/stream_close_on.png
5.44 KB
app/src/main/res/drawable-xhdpi/ic_flash_on.png renamed to app/src/main/res/drawable-xhdpi/stream_flash_on.png
5.4 KB
app/src/main/res/drawable-xhdpi/ic_flash_on_sel.png renamed to app/src/main/res/drawable-xhdpi/stream_flash_on_sel.png
5.26 KB
app/src/main/res/drawable-xhdpi/ic_meiyan.png renamed to app/src/main/res/drawable-xhdpi/stream_meiyan.png
6.04 KB
app/src/main/res/drawable-xhdpi/ic_meiyan_on.png renamed to app/src/main/res/drawable-xhdpi/stream_meiyan_on.png
6.82 KB
app/src/main/res/drawable-xhdpi/ic_meiyan_on_sel.png renamed to app/src/main/res/drawable-xhdpi/stream_meiyan_on_sel.png
6.03 KB
app/src/main/res/drawable-xhdpi/ic_meiyan_sel.png renamed to app/src/main/res/drawable-xhdpi/stream_meiyan_sel.png
5.55 KB
app/src/main/res/drawable-xhdpi/ic_switch_camera.png renamed to app/src/main/res/drawable-xhdpi/stream_switch_camera.png
5.35 KB
app/src/main/res/drawable-xhdpi/ic_switch_camera_sel.png renamed to app/src/main/res/drawable-xhdpi/stream_switch_camera_sel.png
5.36 KB
app/src/main/res/drawable-xxhdpi/ic_close.png renamed to app/src/main/res/drawable-xxhdpi/stream_close.png
10.9 KB
app/src/main/res/drawable-xxhdpi/ic_close_on.png renamed to app/src/main/res/drawable-xxhdpi/stream_close_on.png
10.1 KB
app/src/main/res/drawable-xxhdpi/ic_flash_on.png renamed to app/src/main/res/drawable-xxhdpi/stream_flash_on.png
9.61 KB
app/src/main/res/drawable-xxhdpi/ic_flash_on_sel.png renamed to app/src/main/res/drawable-xxhdpi/stream_flash_on_sel.png
9.46 KB
app/src/main/res/drawable-xxhdpi/ic_meiyan.png renamed to app/src/main/res/drawable-xxhdpi/stream_meiyan.png
11.1 KB
app/src/main/res/drawable-xxhdpi/ic_meiyan_on.png renamed to app/src/main/res/drawable-xxhdpi/stream_meiyan_on.png
12.5 KB
app/src/main/res/drawable-xxhdpi/ic_meiyan_on_sel.png renamed to app/src/main/res/drawable-xxhdpi/stream_meiyan_on_sel.png
11.1 KB
app/src/main/res/drawable-xxhdpi/ic_meiyan_sel.png renamed to app/src/main/res/drawable-xxhdpi/stream_meiyan_sel.png
10.1 KB
app/src/main/res/drawable-xxhdpi/ic_switch_camera.png renamed to app/src/main/res/drawable-xxhdpi/stream_switch_camera.png
9.68 KB
app/src/main/res/drawable-xxhdpi/ic_switch_camera_sel.png renamed to app/src/main/res/drawable-xxhdpi/stream_switch_camera_sel.png
9.55 KB
app/src/main/res/drawable-xxxhdpi/ic_close.png renamed to app/src/main/res/drawable-xxxhdpi/stream_close.png
14.9 KB
app/src/main/res/drawable-xxxhdpi/ic_close_on.png renamed to app/src/main/res/drawable-xxxhdpi/stream_close_on.png
14 KB
app/src/main/res/drawable-xxxhdpi/ic_flash_on.png renamed to app/src/main/res/drawable-xxxhdpi/stream_flash_on.png
13.2 KB
app/src/main/res/drawable-xxxhdpi/ic_flash_on_sel.png renamed to app/src/main/res/drawable-xxxhdpi/stream_flash_on_sel.png
13.3 KB
app/src/main/res/drawable-xxxhdpi/ic_meiyan.png renamed to app/src/main/res/drawable-xxxhdpi/stream_meiyan.png
15.7 KB
app/src/main/res/drawable-xxxhdpi/ic_meiyan_on.png renamed to app/src/main/res/drawable-xxxhdpi/stream_meiyan_on.png
17.7 KB
app/src/main/res/drawable-xxxhdpi/ic_meiyan_on_sel.png renamed to app/src/main/res/drawable-xxxhdpi/stream_meiyan_on_sel.png
15.8 KB
app/src/main/res/drawable-xxxhdpi/ic_meiyan_sel.png renamed to app/src/main/res/drawable-xxxhdpi/stream_meiyan_sel.png
14.4 KB
app/src/main/res/drawable-xxxhdpi/ic_switch_camera.png renamed to app/src/main/res/drawable-xxxhdpi/stream_switch_camera.png
13 KB
app/src/main/res/drawable-xxxhdpi/ic_switch_camera_sel.png renamed to app/src/main/res/drawable-xxxhdpi/stream_switch_camera_sel.png
13.4 KB
app/src/main/res/drawable/icon_record_flash.xml renamed to app/src/main/res/drawable/record_close.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | - <item android:drawable="@drawable/ic_flash_on_sel" android:state_pressed="true" /> | |
| 4 | - <item android:drawable="@drawable/ic_flash_on" android:state_pressed="false" /> | |
| 3 | + | |
| 4 | + <item android:drawable="@drawable/stream_close_on" android:state_pressed="true" /> | |
| 5 | + <item android:drawable="@drawable/stream_close" android:state_pressed="false" /> | |
| 5 | 6 | </selector> |
| 6 | 7 | \ No newline at end of file | ... | ... |
app/src/main/res/drawable/btn_record_end.xml renamed to app/src/main/res/drawable/record_end.xml
app/src/main/res/drawable/icon_record_meiyan_on.xml renamed to app/src/main/res/drawable/record_flash.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | - <item android:drawable="@drawable/ic_meiyan_on_sel" android:state_pressed="true" /> | |
| 4 | - <item android:drawable="@drawable/ic_meiyan_on" android:state_pressed="false" /> | |
| 3 | + <item android:drawable="@drawable/stream_flash_on_sel" android:state_pressed="true" /> | |
| 4 | + <item android:drawable="@drawable/stream_flash_on" android:state_pressed="false" /> | |
| 5 | 5 | </selector> |
| 6 | 6 | \ No newline at end of file | ... | ... |
app/src/main/res/drawable/icon_record_close.xml renamed to app/src/main/res/drawable/record_flip.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | 3 | |
| 4 | - <item android:drawable="@drawable/ic_close_on" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/ic_close" android:state_pressed="false" /> | |
| 4 | + <item android:drawable="@drawable/stream_switch_camera_sel" android:state_pressed="true" /> | |
| 5 | + <item android:drawable="@drawable/stream_switch_camera" android:state_pressed="false" /> | |
| 6 | 6 | </selector> |
| 7 | 7 | \ No newline at end of file | ... | ... |
app/src/main/res/drawable/icon_record_meiyan.xml renamed to app/src/main/res/drawable/record_meiyan.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | - <item android:drawable="@drawable/ic_meiyan_sel" android:state_pressed="true" /> | |
| 4 | - <item android:drawable="@drawable/ic_meiyan" android:state_pressed="false" /> | |
| 3 | + <item android:drawable="@drawable/stream_meiyan_sel" android:state_pressed="true" /> | |
| 4 | + <item android:drawable="@drawable/stream_meiyan" android:state_pressed="false" /> | |
| 5 | 5 | </selector> |
| 6 | 6 | \ No newline at end of file | ... | ... |
app/src/main/res/drawable/icon_record_flip.xml renamed to app/src/main/res/drawable/record_meiyan_on.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | - | |
| 4 | - <item android:drawable="@drawable/ic_switch_camera_sel" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/ic_switch_camera" android:state_pressed="false" /> | |
| 3 | + <item android:drawable="@drawable/stream_meiyan_on_sel" android:state_pressed="true" /> | |
| 4 | + <item android:drawable="@drawable/stream_meiyan_on" android:state_pressed="false" /> | |
| 6 | 5 | </selector> |
| 7 | 6 | \ No newline at end of file | ... | ... |
app/src/main/res/drawable/anchor_retry_nor.xml renamed to app/src/main/res/drawable/record_retry_nor.xml
app/src/main/res/layout/activity_stream_portrait.xml
| ... | ... | @@ -125,7 +125,7 @@ |
| 125 | 125 | android:layout_below="@+id/end_view" |
| 126 | 126 | android:layout_centerHorizontal="true" |
| 127 | 127 | android:layout_marginTop="48dp" |
| 128 | - android:background="@drawable/btn_record_end" | |
| 128 | + android:background="@drawable/record_end" | |
| 129 | 129 | android:onClick="onClick" |
| 130 | 130 | android:text="知道了" |
| 131 | 131 | android:textColor="@android:color/white" |
| ... | ... | @@ -162,7 +162,7 @@ |
| 162 | 162 | android:onClick="onClick" |
| 163 | 163 | android:padding="5dp" |
| 164 | 164 | android:scaleType="fitCenter" |
| 165 | - android:src="@{isShow.beautifulBtn ? @drawable/icon_record_meiyan_on : @drawable/icon_record_meiyan}" /> | |
| 165 | + android:src="@{isShow.beautifulBtn ? @drawable/record_meiyan_on : @drawable/record_meiyan}" /> | |
| 166 | 166 | |
| 167 | 167 | <ImageButton |
| 168 | 168 | android:id="@+id/btn_flip" |
| ... | ... | @@ -172,7 +172,7 @@ |
| 172 | 172 | android:onClick="onClick" |
| 173 | 173 | android:padding="5dp" |
| 174 | 174 | android:scaleType="fitCenter" |
| 175 | - android:src="@drawable/icon_record_flip" /> | |
| 175 | + android:src="@drawable/record_flip" /> | |
| 176 | 176 | |
| 177 | 177 | <ImageButton |
| 178 | 178 | android:id="@+id/btn_flash" |
| ... | ... | @@ -182,7 +182,7 @@ |
| 182 | 182 | android:onClick="onClick" |
| 183 | 183 | android:padding="5dp" |
| 184 | 184 | android:scaleType="fitCenter" |
| 185 | - android:src="@drawable/icon_record_flash" | |
| 185 | + android:src="@drawable/record_flash" | |
| 186 | 186 | android:visibility="@{isShow.flashBtn ? 0 : 8}" /> |
| 187 | 187 | |
| 188 | 188 | <ImageButton |
| ... | ... | @@ -195,7 +195,7 @@ |
| 195 | 195 | android:onClick="onClick" |
| 196 | 196 | android:padding="5dp" |
| 197 | 197 | android:scaleType="fitCenter" |
| 198 | - android:src="@drawable/icon_record_close" /> | |
| 198 | + android:src="@drawable/record_close" /> | |
| 199 | 199 | </LinearLayout> |
| 200 | 200 | |
| 201 | 201 | <Button |
| ... | ... | @@ -203,7 +203,7 @@ |
| 203 | 203 | android:layout_width="wrap_content" |
| 204 | 204 | android:layout_height="wrap_content" |
| 205 | 205 | android:layout_centerInParent="true" |
| 206 | - android:background="@drawable/anchor_retry_nor" | |
| 206 | + android:background="@drawable/record_retry_nor" | |
| 207 | 207 | android:onClick="onClick" |
| 208 | 208 | android:padding="5dp" |
| 209 | 209 | android:text="开始直播" |
| ... | ... | @@ -244,7 +244,7 @@ |
| 244 | 244 | android:layout_below="@+id/auto_reconnect_msg" |
| 245 | 245 | android:layout_centerHorizontal="true" |
| 246 | 246 | android:layout_marginTop="8dp" |
| 247 | - android:background="@drawable/anchor_retry_nor" | |
| 247 | + android:background="@drawable/record_retry_nor" | |
| 248 | 248 | android:onClick="onClick" |
| 249 | 249 | android:paddingBottom="8dp" |
| 250 | 250 | android:paddingLeft="15dp" | ... | ... |
app/src/main/res/layout/user_feedback.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - > | |
| 2 | +<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | 3 | |
| 5 | 4 | |
| 5 | + <RelativeLayout | |
| 6 | + android:layout_width="match_parent" | |
| 7 | + android:layout_height="match_parent"> | |
| 6 | 8 | |
| 7 | -<RelativeLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="match_parent"> | |
| 10 | - | |
| 11 | -<LinearLayout | |
| 12 | - android:orientation="vertical" android:layout_width="match_parent" | |
| 13 | - android:layout_height="wrap_content"> | |
| 9 | + <LinearLayout | |
| 10 | + android:layout_width="match_parent" | |
| 11 | + android:layout_height="wrap_content" | |
| 12 | + android:orientation="vertical"> | |
| 14 | 13 | |
| 15 | - <include layout="@layout/user_toolbar_title" | |
| 16 | - android:id="@+id/feedbackIncludeLayout"/> | |
| 14 | + <include | |
| 15 | + android:id="@+id/feedbackIncludeLayout" | |
| 16 | + layout="@layout/user_toolbar_title" /> | |
| 17 | 17 | |
| 18 | - <include layout="@layout/user_divider_head_line" /> | |
| 18 | + <include layout="@layout/user_divider_head_line" /> | |
| 19 | 19 | |
| 20 | - <View | |
| 21 | - android:layout_width="match_parent" | |
| 22 | - android:layout_height="@dimen/_20px" /> | |
| 20 | + <View | |
| 21 | + android:layout_width="match_parent" | |
| 22 | + android:layout_height="@dimen/_20px" /> | |
| 23 | 23 | |
| 24 | - <EditText | |
| 25 | - android:id="@+id/feedback_textView" | |
| 26 | - android:layout_width="match_parent" | |
| 27 | - android:layout_height="wrap_content" | |
| 28 | - android:layout_centerVertical="true" | |
| 29 | - android:layout_marginLeft="@dimen/_30px" | |
| 30 | - android:background="@null" | |
| 31 | - android:hint="有什么好的建议嘛" | |
| 32 | - android:textColor="#000000" | |
| 33 | - android:textColorHint="@color/color_list_bg" | |
| 34 | - android:textSize="@dimen/text_size_15" | |
| 35 | - android:imeOptions="flagNoExtractUi" /> | |
| 24 | + <EditText | |
| 25 | + android:id="@+id/feedback_textView" | |
| 26 | + android:layout_width="match_parent" | |
| 27 | + android:layout_height="wrap_content" | |
| 28 | + android:layout_centerVertical="true" | |
| 29 | + android:layout_marginLeft="@dimen/_30px" | |
| 30 | + android:background="@null" | |
| 31 | + android:hint="有什么好的建议嘛" | |
| 32 | + android:imeOptions="flagNoExtractUi" | |
| 33 | + android:textColor="#000000" | |
| 34 | + android:textColorHint="@color/color_list_bg" | |
| 35 | + android:textSize="@dimen/text_size_15" /> | |
| 36 | 36 | |
| 37 | - <View | |
| 38 | - android:layout_width="match_parent" | |
| 39 | - android:layout_height="@dimen/_100px" /> | |
| 37 | + <View | |
| 38 | + android:layout_width="match_parent" | |
| 39 | + android:layout_height="@dimen/_100px" /> | |
| 40 | 40 | |
| 41 | - <Button | |
| 42 | - android:id="@+id/feedback" | |
| 43 | - style="@style/LoginButtonStyle" | |
| 44 | - android:layout_width="match_parent" | |
| 45 | - android:layout_height="35dp" | |
| 46 | - android:layout_gravity="center" | |
| 47 | - android:layout_centerHorizontal="true" | |
| 48 | - android:layout_marginBottom="15dp" | |
| 49 | - android:layout_alignParentBottom="true" | |
| 50 | - android:background="@drawable/user_btn_login" | |
| 51 | - android:gravity="center" | |
| 52 | - android:onClick="onClick" | |
| 53 | - android:text="提交" /> | |
| 41 | + <Button | |
| 42 | + android:id="@+id/feedback" | |
| 43 | + style="@style/LoginButtonStyle" | |
| 44 | + android:layout_width="match_parent" | |
| 45 | + android:layout_height="35dp" | |
| 46 | + android:layout_alignParentBottom="true" | |
| 47 | + android:layout_centerHorizontal="true" | |
| 48 | + android:layout_gravity="center" | |
| 49 | + android:layout_marginBottom="15dp" | |
| 50 | + android:background="@drawable/user_btn_login" | |
| 51 | + android:gravity="center" | |
| 52 | + android:onClick="onClick" | |
| 53 | + android:text="提交" /> | |
| 54 | 54 | |
| 55 | -</LinearLayout> | |
| 55 | + </LinearLayout> | |
| 56 | 56 | |
| 57 | - <ImageView | |
| 58 | - android:id="@+id/back_selector" | |
| 59 | - android:layout_width="30dp" | |
| 60 | - android:layout_height="30dp" | |
| 61 | - android:layout_marginLeft="@dimen/_10px" | |
| 62 | - android:layout_marginTop="@dimen/_20px" | |
| 63 | - android:onClick="onClick" | |
| 64 | - android:src="@drawable/btn_return" /> | |
| 57 | + <ImageView | |
| 58 | + android:id="@+id/back_selector" | |
| 59 | + android:layout_width="30dp" | |
| 60 | + android:layout_height="30dp" | |
| 61 | + android:layout_marginLeft="@dimen/_10px" | |
| 62 | + android:layout_marginTop="@dimen/_20px" | |
| 63 | + android:onClick="onClick" | |
| 64 | + android:src="@drawable/btn_return" /> | |
| 65 | 65 | |
| 66 | 66 | </RelativeLayout> |
| 67 | 67 | |
| 68 | - </layout> | |
| 69 | 68 | \ No newline at end of file |
| 69 | +</layout> | |
| 70 | 70 | \ No newline at end of file | ... | ... |
app/src/main/res/values/strings.xml
| ... | ... | @@ -37,43 +37,4 @@ |
| 37 | 37 | <string name="request_state_error">获取活动状态失败</string> |
| 38 | 38 | <string name="request_state_play_error">此活动状态无法播放</string> |
| 39 | 39 | |
| 40 | - | |
| 41 | - <string name="net_connect_toast">"你好像掉线了"</string> | |
| 42 | - | |
| 43 | - //我的 | |
| 44 | - <string name="main_tab_config">我的</string> | |
| 45 | - <string name="click_login">点击登录</string> | |
| 46 | - <string name="login_china_coin">登录就送中国币哟</string> | |
| 47 | - <string name="logout">注销</string> | |
| 48 | - | |
| 49 | - //登录页面 | |
| 50 | - <string name="user_login_account">账号:</string> | |
| 51 | - <string name="user_login_account_hint">Email/手机号码</string> | |
| 52 | - <string name="user_login_code">密码:</string> | |
| 53 | - <string name="user_login_code_hint">6–20位字母或数字</string> | |
| 54 | - <string name="user_login_recall_code">忘记密码?</string> | |
| 55 | - <string name="string_fast_access">短信验证登录</string> | |
| 56 | - <string name="user_login">登录</string> | |
| 57 | - <string name="user_login_third_part_login">第三方账号登录</string> | |
| 58 | - <string name="third_login_sina">微博</string> | |
| 59 | - <string name="third_login_qq">QQ</string> | |
| 60 | - <string name="third_login_weixin">微信</string> | |
| 61 | - | |
| 62 | - //注册页面 | |
| 63 | - <string name="register_mobile_hint">请输入您的手机号</string> | |
| 64 | - <string name="getmobile_identify_code">获取验证码</string> | |
| 65 | - <string name="register_mobile_keycode_hint">请输入您收到的验证码</string> | |
| 66 | - <string name="register_password_hint">请设置密码:6–20位字母或数字</string> | |
| 67 | - <string name="register_show_password">显示密码</string> | |
| 68 | - <string name="register_and_agree">我已阅读并同意</string> | |
| 69 | - <string name="register_btn">注册</string> | |
| 70 | - | |
| 71 | - //找回密码页面 | |
| 72 | - <string name="find_password_btn">找回密码</string> | |
| 73 | - <string name="find_password_hint">请确认密码:6–20位字母或数字</string> | |
| 74 | - | |
| 75 | - //AccountManager用户管理 | |
| 76 | - <string name="ACCOUNT_TYPE">com.cnlive.libs.AccountType</string> | |
| 77 | - <string name="ACCOUNT_LABEL">@string/app_name</string> | |
| 78 | - | |
| 79 | 40 | </resources> | ... | ... |
user/build.gradle
| ... | ... | @@ -23,10 +23,6 @@ android { |
| 23 | 23 | |
| 24 | 24 | dependencies { |
| 25 | 25 | compile fileTree(dir: 'libs', include: ['*.jar']) |
| 26 | - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | |
| 27 | - exclude group: 'com.android.support', module: 'support-annotations' | |
| 28 | - }) | |
| 29 | 26 | compile 'com.android.support:appcompat-v7:26.+' |
| 30 | - testCompile 'junit:junit:4.12' | |
| 31 | 27 | |
| 32 | 28 | } | ... | ... |
user/src/main/res/drawable-hdpi/cnlive_user_header.png deleted
100644 → 0
6.29 KB
user/src/main/res/drawable-hdpi/ic_header.png deleted
100644 → 0
6.29 KB
user/src/main/res/drawable-hdpi/user_micro_blog.png deleted
100644 → 0
4.43 KB
user/src/main/res/drawable-hdpi/user_micro_blog_click.png deleted
100644 → 0
4.51 KB
user/src/main/res/drawable-hdpi/user_qq.png deleted
100644 → 0
3.35 KB
user/src/main/res/drawable-hdpi/user_qq_click.png deleted
100644 → 0
3.4 KB
user/src/main/res/drawable-hdpi/user_wechat.png deleted
100644 → 0
3.85 KB
user/src/main/res/drawable-hdpi/user_wechat_click.png deleted
100644 → 0
3.88 KB
user/src/main/res/drawable-xhdpi/ic_web_forward.png deleted
100644 → 0
831 Bytes
user/src/main/res/drawable-xhdpi/ic_web_forward_pressed.png deleted
100644 → 0
831 Bytes
user/src/main/res/drawable-xxhdpi/about_us.9.png deleted
100644 → 0
2.04 KB
user/src/main/res/drawable-xxhdpi/about_us_icon.png deleted
100644 → 0
10.3 KB
user/src/main/res/drawable-xxhdpi/btn_share_pengyouquan_nor.png deleted
100644 → 0
5.37 KB
user/src/main/res/drawable-xxhdpi/btn_share_pengyouquan_sel.png deleted
100644 → 0
5.45 KB
user/src/main/res/drawable-xxhdpi/ic_config_download.png deleted
100644 → 0
1.15 KB
user/src/main/res/drawable-xxhdpi/ic_config_favorite.png deleted
100644 → 0
1.99 KB
user/src/main/res/drawable-xxhdpi/ic_setting_about.png deleted
100644 → 0
1.88 KB
user/src/main/res/drawable-xxhdpi/ic_setting_clear.png deleted
100644 → 0
1.35 KB
user/src/main/res/drawable-xxhdpi/ic_setting_help.png deleted
100644 → 0
2.21 KB
user/src/main/res/drawable-xxhdpi/switch_close.png deleted
100644 → 0
2.77 KB
user/src/main/res/drawable-xxhdpi/switch_open.png deleted
100644 → 0
2.49 KB
user/src/main/res/drawable/downloading_progress_bar.xml deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | - | |
| 3 | - | |
| 4 | -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 5 | - | |
| 6 | - <item android:id="@android:id/background"> | |
| 7 | - <shape> | |
| 8 | - <corners android:radius="5dip" /> | |
| 9 | - <gradient | |
| 10 | - android:startColor="#D5D5D5" | |
| 11 | - android:centerColor="#D5D5D5" | |
| 12 | - android:endColor="#D5D5D5" /> | |
| 13 | - </shape> | |
| 14 | - </item> | |
| 15 | - | |
| 16 | - <item android:id="@android:id/progress"> | |
| 17 | - <clip> | |
| 18 | - <shape> | |
| 19 | - <corners android:radius="5dip" /> | |
| 20 | - <gradient | |
| 21 | - android:startColor="@color/ff4e51" | |
| 22 | - android:centerColor="@color/ff4e51" | |
| 23 | - android:endColor="@color/ff4e51" /> | |
| 24 | - </shape> | |
| 25 | - </clip> | |
| 26 | - </item> | |
| 27 | - | |
| 28 | -</layer-list> |
user/src/main/res/drawable/share_btn_qq.xml deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | - | |
| 3 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | - <item android:state_pressed="true" android:drawable="@drawable/btn_share_tengxun_sel" /> | |
| 5 | - <item android:state_pressed="false" android:drawable="@drawable/btn_share_tengxun_nor" /> | |
| 6 | -</selector> | |
| 7 | 0 | \ No newline at end of file |
user/src/main/res/drawable/toolbar_bg.9.png deleted
100644 → 0
94 Bytes
user/src/main/res/drawable/user_micro_blog_selector.xml deleted
100644 → 0
| 1 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 2 | - | |
| 3 | - <item android:drawable="@drawable/user_micro_blog" android:state_enabled="false" android:state_focused="true" /> | |
| 4 | - <item android:drawable="@drawable/user_micro_blog" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/user_micro_blog" android:state_focused="true" /> | |
| 6 | - <item android:drawable="@drawable/user_micro_blog_click" /> | |
| 7 | - | |
| 8 | -</selector> | |
| 9 | 0 | \ No newline at end of file |
user/src/main/res/drawable/user_qq_selector.xml deleted
100644 → 0
| 1 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 2 | - | |
| 3 | - <item android:drawable="@drawable/user_qq" android:state_enabled="false" android:state_focused="true" /> | |
| 4 | - <item android:drawable="@drawable/user_qq" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/user_qq" android:state_focused="true" /> | |
| 6 | - <item android:drawable="@drawable/user_qq_click" /> | |
| 7 | - | |
| 8 | -</selector> | |
| 9 | 0 | \ No newline at end of file |
user/src/main/res/drawable/user_wechat_selector.xml deleted
100644 → 0
| 1 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 2 | - | |
| 3 | - <item android:drawable="@drawable/user_wechat" android:state_enabled="false" android:state_focused="true" /> | |
| 4 | - <item android:drawable="@drawable/user_wechat" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/user_wechat" android:state_focused="true" /> | |
| 6 | - <item android:drawable="@drawable/user_wechat_click" /> | |
| 7 | - | |
| 8 | -</selector> | |
| 9 | 0 | \ No newline at end of file |
user/src/main/res/values/styles.xml
| 1 | 1 | <resources> |
| 2 | 2 | |
| 3 | - <!-- Base application theme. --> | |
| 4 | - <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | |
| 5 | - <!-- Customize your theme here. --> | |
| 6 | - <item name="colorPrimary">@color/colorPrimary</item> | |
| 7 | - <item name="colorPrimaryDark">@color/colorPrimaryDark</item> | |
| 8 | - <item name="colorAccent">@color/colorAccent</item> | |
| 9 | - </style> | |
| 10 | 3 | |
| 11 | 4 | <style name="ActionbarTitleStyle"> |
| 12 | 5 | <item name="android:textSize">22sp</item> |
| ... | ... | @@ -81,11 +74,4 @@ |
| 81 | 74 | <item name="android:windowCloseOnTouchOutside">true</item> |
| 82 | 75 | </style> |
| 83 | 76 | |
| 84 | - <style name="ActionBar" parent="Theme.AppCompat.Light.DarkActionBar"> | |
| 85 | - <!-- Customize your theme here. --> | |
| 86 | - <item name="colorPrimary">@color/colorPrimary</item> | |
| 87 | - <item name="colorPrimaryDark">@color/colorPrimaryDark</item> | |
| 88 | - <item name="colorAccent">@color/colorAccent</item> | |
| 89 | - <item name="android:windowContentOverlay">@null</item> | |
| 90 | - </style> | |
| 91 | 77 | </resources> | ... | ... |