Commit 544537772bd660927de2f3d861b4bbc4effc8e78

Authored by 陈硕
2 parents dee81be7 83292208

修改页面布局

Showing 180 changed files with 122 additions and 315 deletions
.idea/encodings.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
3 - <component name="Encoding"> 3 + <component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8">
4 <file url="PROJECT" charset="UTF-8" /> 4 <file url="PROJECT" charset="UTF-8" />
5 </component> 5 </component>
6 </project> 6 </project>
7 \ No newline at end of file 7 \ No newline at end of file
.idea/inspectionProfiles/Project_Default.xml
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 <profile version="1.0"> 2 <profile version="1.0">
3 <option name="myName" value="Project Default" /> 3 <option name="myName" value="Project Default" />
4 <inspection_tool class="AndroidLintNewApi" enabled="false" level="ERROR" enabled_by_default="false" /> 4 <inspection_tool class="AndroidLintNewApi" enabled="false" level="ERROR" enabled_by_default="false" />
  5 + <inspection_tool class="AndroidLintSetTextI18n" enabled="false" level="WARNING" enabled_by_default="false" />
5 <inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false"> 6 <inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false">
6 <option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" /> 7 <option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" />
7 <option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" /> 8 <option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" />
.idea/markdown-navigator.xml deleted 100644 → 0
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<project version="4">  
3 - <component name="MarkdownProjectSettings">  
4 - <PreviewSettings splitEditorLayout="SPLIT" splitEditorPreview="PREVIEW" useGrayscaleRendering="false" zoomFactor="1.0" maxImageWidth="0" showGitHubPageIfSynced="false" allowBrowsingInPreview="false" synchronizePreviewPosition="true" highlightPreviewType="NONE" highlightFadeOut="5" highlightOnTyping="true" synchronizeSourcePosition="true" verticallyAlignSourceAndPreviewSyncPosition="true" showSearchHighlightsInPreview="true" showSelectionInPreview="true">  
5 - <PanelProvider>  
6 - <provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.panel" providerName="Default - Swing" />  
7 - </PanelProvider>  
8 - </PreviewSettings>  
9 - <ParserSettings gitHubSyntaxChange="false">  
10 - <PegdownExtensions>  
11 - <option name="ABBREVIATIONS" value="false" />  
12 - <option name="ANCHORLINKS" value="true" />  
13 - <option name="ASIDE" value="false" />  
14 - <option name="ATXHEADERSPACE" value="true" />  
15 - <option name="AUTOLINKS" value="true" />  
16 - <option name="DEFINITIONS" value="false" />  
17 - <option name="DEFINITION_BREAK_DOUBLE_BLANK_LINE" value="false" />  
18 - <option name="FENCED_CODE_BLOCKS" value="true" />  
19 - <option name="FOOTNOTES" value="false" />  
20 - <option name="HARDWRAPS" value="false" />  
21 - <option name="INSERTED" value="false" />  
22 - <option name="QUOTES" value="false" />  
23 - <option name="RELAXEDHRULES" value="true" />  
24 - <option name="SMARTS" value="false" />  
25 - <option name="STRIKETHROUGH" value="true" />  
26 - <option name="SUBSCRIPT" value="false" />  
27 - <option name="SUPERSCRIPT" value="false" />  
28 - <option name="SUPPRESS_HTML_BLOCKS" value="false" />  
29 - <option name="SUPPRESS_INLINE_HTML" value="false" />  
30 - <option name="TABLES" value="true" />  
31 - <option name="TASKLISTITEMS" value="true" />  
32 - <option name="TOC" value="false" />  
33 - <option name="WIKILINKS" value="true" />  
34 - </PegdownExtensions>  
35 - <ParserOptions>  
36 - <option name="COMMONMARK_LISTS" value="false" />  
37 - <option name="DUMMY" value="false" />  
38 - <option name="EMOJI_SHORTCUTS" value="true" />  
39 - <option name="FLEXMARK_FRONT_MATTER" value="false" />  
40 - <option name="GFM_LOOSE_BLANK_LINE_AFTER_ITEM_PARA" value="true" />  
41 - <option name="GFM_TABLE_RENDERING" value="true" />  
42 - <option name="GITBOOK_URL_ENCODING" value="false" />  
43 - <option name="GITHUB_EMOJI_URL" value="false" />  
44 - <option name="GITHUB_LISTS" value="true" />  
45 - <option name="GITHUB_WIKI_LINKS" value="true" />  
46 - <option name="JEKYLL_FRONT_MATTER" value="false" />  
47 - <option name="SIM_TOC_BLANK_LINE_SPACER" value="true" />  
48 - </ParserOptions>  
49 - </ParserSettings>  
50 - <HtmlSettings headerTopEnabled="false" headerBottomEnabled="false" bodyTopEnabled="false" bodyBottomEnabled="false" embedUrlContent="false" addPageHeader="true">  
51 - <GeneratorProvider>  
52 - <provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.generator" providerName="Default Swing HTML Generator" />  
53 - </GeneratorProvider>  
54 - <headerTop />  
55 - <headerBottom />  
56 - <bodyTop />  
57 - <bodyBottom />  
58 - </HtmlSettings>  
59 - <CssSettings previewScheme="UI_SCHEME" cssUri="" isCssUriEnabled="false" isCssTextEnabled="false" isDynamicPageWidth="true">  
60 - <StylesheetProvider>  
61 - <provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.css" providerName="Default Swing Stylesheet" />  
62 - </StylesheetProvider>  
63 - <ScriptProviders />  
64 - <cssText />  
65 - </CssSettings>  
66 - <HtmlExportSettings updateOnSave="false" parentDir="$ProjectFileDir$" targetDir="$ProjectFileDir$" cssDir="" scriptDir="" plainHtml="false" imageDir="" copyLinkedImages="false" imageUniquifyType="0" targetExt="" useTargetExt="false" noCssNoScripts="false" linkToExportedHtml="true" exportOnSettingsChange="true" regenerateOnProjectOpen="false" />  
67 - <LinkMapSettings>  
68 - <textMaps />  
69 - </LinkMapSettings>  
70 - </component>  
71 -</project>  
72 \ No newline at end of file 0 \ No newline at end of file
.idea/markdown-navigator/profiles_settings.xml deleted 100644 → 0
1 -<component name="MarkdownNavigator.ProfileManager">  
2 - <settings default="" pdf-export="" />  
3 -</component>  
4 \ No newline at end of file 0 \ No newline at end of file
.idea/vcs.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
3 <component name="VcsDirectoryMappings"> 3 <component name="VcsDirectoryMappings">
4 - <mapping directory="$PROJECT_DIR$" vcs="Git" /> 4 + <mapping directory="" vcs="Git" />
5 </component> 5 </component>
6 </project> 6 </project>
7 \ No newline at end of file 7 \ No newline at end of file
app/src/main/AndroidManifest.xml
@@ -53,6 +53,7 @@ @@ -53,6 +53,7 @@
53 android:launchMode="singleTop" 53 android:launchMode="singleTop"
54 android:screenOrientation="portrait" 54 android:screenOrientation="portrait"
55 android:windowSoftInputMode="adjustResize" /> 55 android:windowSoftInputMode="adjustResize" />
  56 +
56 <activity android:name=".user.activity.LoginActivity"/> 57 <activity android:name=".user.activity.LoginActivity"/>
57 58
58 <receiver 59 <receiver
app/src/main/res/drawable-hdpi/ic_bubble.png deleted 100644 → 0

4.46 KB

app/src/main/res/drawable-hdpi/ic_bubble_sel.png deleted 100644 → 0

4.12 KB

app/src/main/res/drawable-hdpi/ic_camera.png renamed to app/src/main/res/drawable-hdpi/main_camera.png

1.52 KB

app/src/main/res/drawable-hdpi/ic_camera_sel.png renamed to app/src/main/res/drawable-hdpi/main_camera_sel.png

2.3 KB

app/src/main/res/drawable-hdpi/ic_home.png renamed to app/src/main/res/drawable-hdpi/main_home.png

650 Bytes

app/src/main/res/drawable-hdpi/ic_home_sel.png renamed to app/src/main/res/drawable-hdpi/main_home_sel.png

883 Bytes

app/src/main/res/drawable-hdpi/ic_live_tv.png renamed to app/src/main/res/drawable-hdpi/main_live_tv.png

732 Bytes

app/src/main/res/drawable-hdpi/ic_live_tv_sel.png renamed to app/src/main/res/drawable-hdpi/main_live_tv_sel.png

999 Bytes

app/src/main/res/drawable-hdpi/ic_person.png renamed to app/src/main/res/drawable-hdpi/main_person.png

681 Bytes

app/src/main/res/drawable-hdpi/ic_person_sel.png renamed to app/src/main/res/drawable-hdpi/main_person_sel.png

931 Bytes

app/src/main/res/drawable-hdpi/ic_videocam.png renamed to app/src/main/res/drawable-hdpi/main_videocam.png

518 Bytes

app/src/main/res/drawable-hdpi/ic_videocam_sel.png renamed to app/src/main/res/drawable-hdpi/main_videocam_sel.png

692 Bytes

app/src/main/res/drawable-hdpi/player_back.png 0 → 100644

723 Bytes

app/src/main/res/drawable-hdpi/player_brightness.png 0 → 100644

1.89 KB

app/src/main/res/drawable-hdpi/player_full_screen.png 0 → 100644

849 Bytes

app/src/main/res/drawable-hdpi/player_pause.png 0 → 100644

2.01 KB

app/src/main/res/drawable-hdpi/player_play.png 0 → 100644

1.71 KB

app/src/main/res/drawable-hdpi/player_volume.png 0 → 100644

2.02 KB

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-hdpi/switch_thumb_dan_off.png 0 → 100644

2.83 KB

app/src/main/res/drawable-hdpi/switch_thumb_dan_on.png 0 → 100644

2.5 KB

app/src/main/res/drawable-mdpi/ic_bubble.png deleted 100644 → 0

2.49 KB

app/src/main/res/drawable-mdpi/ic_bubble_sel.png deleted 100644 → 0

2.29 KB

app/src/main/res/drawable-mdpi/ic_camera.png renamed to app/src/main/res/drawable-mdpi/main_camera.png

822 Bytes

app/src/main/res/drawable-mdpi/ic_camera_sel.png renamed to app/src/main/res/drawable-mdpi/main_camera_sel.png

1.18 KB

app/src/main/res/drawable-mdpi/ic_home.png renamed to app/src/main/res/drawable-mdpi/main_home.png

411 Bytes

app/src/main/res/drawable-mdpi/ic_home_sel.png renamed to app/src/main/res/drawable-mdpi/main_home_sel.png

564 Bytes

app/src/main/res/drawable-mdpi/ic_live_tv.png renamed to app/src/main/res/drawable-mdpi/main_live_tv.png

464 Bytes

app/src/main/res/drawable-mdpi/ic_live_tv_sel.png renamed to app/src/main/res/drawable-mdpi/main_live_tv_sel.png

632 Bytes

app/src/main/res/drawable-mdpi/ic_person.png renamed to app/src/main/res/drawable-mdpi/main_person.png

516 Bytes

app/src/main/res/drawable-mdpi/ic_person_sel.png renamed to app/src/main/res/drawable-mdpi/main_person_sel.png

717 Bytes

app/src/main/res/drawable-mdpi/ic_videocam.png renamed to app/src/main/res/drawable-mdpi/main_videocam.png

315 Bytes

app/src/main/res/drawable-mdpi/ic_videocam_sel.png renamed to app/src/main/res/drawable-mdpi/main_videocam_sel.png

425 Bytes

app/src/main/res/drawable-mdpi/player_back.png 0 → 100644

506 Bytes

app/src/main/res/drawable-mdpi/player_brightness.png 0 → 100644

1.3 KB

app/src/main/res/drawable-mdpi/player_full_screen.png 0 → 100644

588 Bytes

app/src/main/res/drawable-mdpi/player_pause.png 0 → 100644

1.16 KB

app/src/main/res/drawable-mdpi/player_play.png 0 → 100644

1.01 KB

app/src/main/res/drawable-mdpi/player_volume.png 0 → 100644

1.09 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-mdpi/switch_thumb_dan_off.png 0 → 100644

1.54 KB

app/src/main/res/drawable-mdpi/switch_thumb_dan_on.png 0 → 100644

1.36 KB

app/src/main/res/drawable-xhdpi/ic_bubble.png deleted 100644 → 0

5.84 KB

app/src/main/res/drawable-xhdpi/ic_bubble_sel.png deleted 100644 → 0

5.52 KB

app/src/main/res/drawable-xhdpi/ic_camera.png renamed to app/src/main/res/drawable-xhdpi/main_camera.png

1.82 KB

app/src/main/res/drawable-xhdpi/ic_camera_sel.png renamed to app/src/main/res/drawable-xhdpi/main_camera_sel.png

2.63 KB

app/src/main/res/drawable-xhdpi/ic_home.png renamed to app/src/main/res/drawable-xhdpi/main_home.png

702 Bytes

app/src/main/res/drawable-xhdpi/ic_home_sel.png renamed to app/src/main/res/drawable-xhdpi/main_home_sel.png

910 Bytes

app/src/main/res/drawable-xhdpi/ic_live_tv.png renamed to app/src/main/res/drawable-xhdpi/main_live_tv.png

874 Bytes

app/src/main/res/drawable-xhdpi/ic_live_tv_sel.png renamed to app/src/main/res/drawable-xhdpi/main_live_tv_sel.png

1.16 KB

app/src/main/res/drawable-xhdpi/ic_person.png renamed to app/src/main/res/drawable-xhdpi/main_person.png

994 Bytes

app/src/main/res/drawable-xhdpi/ic_person_sel.png renamed to app/src/main/res/drawable-xhdpi/main_person_sel.png

1.3 KB

app/src/main/res/drawable-xhdpi/ic_videocam.png renamed to app/src/main/res/drawable-xhdpi/main_videocam.png

561 Bytes

app/src/main/res/drawable-xhdpi/ic_videocam_sel.png renamed to app/src/main/res/drawable-xhdpi/main_videocam_sel.png

729 Bytes

app/src/main/res/drawable-xhdpi/player_back.png 0 → 100644

1.06 KB

app/src/main/res/drawable-xhdpi/player_brightness.png 0 → 100644

2.92 KB

app/src/main/res/drawable-xhdpi/player_full_screen.png 0 → 100644

1.47 KB

app/src/main/res/drawable-xhdpi/player_pause.png 0 → 100644

3.38 KB

app/src/main/res/drawable-xhdpi/player_play.png 0 → 100644

2.83 KB

app/src/main/res/drawable-xhdpi/player_volume.png 0 → 100644

2.58 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-xhdpi/switch_thumb_dan_off.png

1.34 KB | W: | H:

4.11 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xhdpi/switch_thumb_dan_on.png

1.28 KB | W: | H:

3.65 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/ic_bubble.png deleted 100644 → 0

10.5 KB

app/src/main/res/drawable-xxhdpi/ic_bubble_sel.png deleted 100644 → 0

9.94 KB

app/src/main/res/drawable-xxhdpi/ic_camera.png renamed to app/src/main/res/drawable-xxhdpi/main_camera.png

3.39 KB

app/src/main/res/drawable-xxhdpi/ic_camera_sel.png renamed to app/src/main/res/drawable-xxhdpi/main_camera_sel.png

4.77 KB

app/src/main/res/drawable-xxhdpi/ic_home.png renamed to app/src/main/res/drawable-xxhdpi/main_home.png

1.24 KB

app/src/main/res/drawable-xxhdpi/ic_home_sel.png renamed to app/src/main/res/drawable-xxhdpi/main_home_sel.png

1.56 KB

app/src/main/res/drawable-xxhdpi/ic_live_tv.png renamed to app/src/main/res/drawable-xxhdpi/main_live_tv.png

1.56 KB

app/src/main/res/drawable-xxhdpi/ic_live_tv_sel.png renamed to app/src/main/res/drawable-xxhdpi/main_live_tv_sel.png

2.07 KB

app/src/main/res/drawable-xxhdpi/ic_person.png renamed to app/src/main/res/drawable-xxhdpi/main_person.png

1.39 KB

app/src/main/res/drawable-xxhdpi/ic_person_sel.png renamed to app/src/main/res/drawable-xxhdpi/main_person_sel.png

1.79 KB

app/src/main/res/drawable-xxhdpi/ic_videocam.png renamed to app/src/main/res/drawable-xxhdpi/main_videocam.png

1.04 KB

app/src/main/res/drawable-xxhdpi/ic_videocam_sel.png renamed to app/src/main/res/drawable-xxhdpi/main_videocam_sel.png

1.29 KB

app/src/main/res/drawable-xxhdpi/player_back.png

1.19 KB | W: | H:

1.97 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/player_brightness.png

3.26 KB | W: | H:

5.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/player_full_screen.png

386 Bytes | W: | H:

2.38 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/player_pause.png

1.18 KB | W: | H:

6.13 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/player_play.png

945 Bytes | W: | H:

5.05 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/player_volume.png

3.58 KB | W: | H:

4.68 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
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-xxhdpi/switch_thumb_dan_off.png 0 → 100644

7.4 KB

app/src/main/res/drawable-xxhdpi/switch_thumb_dan_on.png 0 → 100644

6.79 KB

app/src/main/res/drawable-xxxhdpi/ic_bubble.png deleted 100644 → 0

14.3 KB

app/src/main/res/drawable-xxxhdpi/ic_bubble_sel.png deleted 100644 → 0

13.8 KB

app/src/main/res/drawable-xxxhdpi/ic_camera.png renamed to app/src/main/res/drawable-xxxhdpi/main_camera.png

4 KB

app/src/main/res/drawable-xxxhdpi/ic_camera_sel.png renamed to app/src/main/res/drawable-xxxhdpi/main_camera_sel.png

5.42 KB

app/src/main/res/drawable-xxxhdpi/ic_home.png renamed to app/src/main/res/drawable-xxxhdpi/main_home.png

1.56 KB

app/src/main/res/drawable-xxxhdpi/ic_home_sel.png renamed to app/src/main/res/drawable-xxxhdpi/main_home_sel.png

1.96 KB

app/src/main/res/drawable-xxxhdpi/ic_live_tv.png renamed to app/src/main/res/drawable-xxxhdpi/main_live_tv.png

2.01 KB

app/src/main/res/drawable-xxxhdpi/ic_live_tv_sel.png renamed to app/src/main/res/drawable-xxxhdpi/main_live_tv_sel.png

2.49 KB

app/src/main/res/drawable-xxxhdpi/ic_person.png renamed to app/src/main/res/drawable-xxxhdpi/main_person.png

2.12 KB

app/src/main/res/drawable-xxxhdpi/ic_person_sel.png renamed to app/src/main/res/drawable-xxxhdpi/main_person_sel.png

2.69 KB

app/src/main/res/drawable-xxxhdpi/ic_videocam.png renamed to app/src/main/res/drawable-xxxhdpi/main_videocam.png

1.38 KB

app/src/main/res/drawable-xxxhdpi/ic_videocam_sel.png renamed to app/src/main/res/drawable-xxxhdpi/main_videocam_sel.png

1.65 KB

app/src/main/res/drawable-xxxhdpi/player_back.png 0 → 100644

3.22 KB

app/src/main/res/drawable-xxxhdpi/player_brightness.png 0 → 100644

8.37 KB

app/src/main/res/drawable-xxxhdpi/player_full_screen.png 0 → 100644

4.52 KB

app/src/main/res/drawable-xxxhdpi/player_pause.png 0 → 100644

9.8 KB

app/src/main/res/drawable-xxxhdpi/player_play.png 0 → 100644

8 KB

app/src/main/res/drawable-xxxhdpi/player_volume.png 0 → 100644

7.44 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-xxxhdpi/switch_thumb_dan_off.png 0 → 100644

10.7 KB

app/src/main/res/drawable-xxxhdpi/switch_thumb_dan_on.png 0 → 100644

9.92 KB

app/src/main/res/drawable/icon_record_flash.xml renamed to app/src/main/res/drawable/record_close.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 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 </selector> 6 </selector>
6 \ No newline at end of file 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 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 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 </selector> 5 </selector>
6 \ No newline at end of file 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 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 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 </selector> 6 </selector>
7 \ No newline at end of file 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 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 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 </selector> 5 </selector>
6 \ No newline at end of file 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 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 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 </selector> 5 </selector>
7 \ No newline at end of file 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/drawable/tab_camera_selector.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- Non focused states --> 3 <!-- Non focused states -->
4 - <item android:drawable="@drawable/ic_camera_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />  
5 - <item android:drawable="@drawable/ic_camera" android:state_focused="false" android:state_pressed="false" android:state_selected="true" /> 4 + <item android:drawable="@drawable/main_camera_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
  5 + <item android:drawable="@drawable/main_camera" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
6 <!-- Focused states --> 6 <!-- Focused states -->
7 - <item android:drawable="@drawable/ic_camera" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />  
8 - <item android:drawable="@drawable/ic_camera" android:state_focused="true" android:state_pressed="false" android:state_selected="true" /> 7 + <item android:drawable="@drawable/main_camera" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
  8 + <item android:drawable="@drawable/main_camera" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
9 <!-- Pressed --> 9 <!-- Pressed -->
10 - <item android:drawable="@drawable/ic_camera" android:state_pressed="true" android:state_selected="true" />  
11 - <item android:drawable="@drawable/ic_camera" android:state_pressed="true" /> 10 + <item android:drawable="@drawable/main_camera" android:state_pressed="true" android:state_selected="true" />
  11 + <item android:drawable="@drawable/main_camera" android:state_pressed="true" />
12 12
13 </selector> 13 </selector>
14 \ No newline at end of file 14 \ No newline at end of file
app/src/main/res/drawable/tab_home_selector.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- Non focused states --> 3 <!-- Non focused states -->
4 - <item android:drawable="@drawable/ic_home" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />  
5 - <item android:drawable="@drawable/ic_home_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" /> 4 + <item android:drawable="@drawable/main_home" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
  5 + <item android:drawable="@drawable/main_home_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
6 <!-- Focused states --> 6 <!-- Focused states -->
7 - <item android:drawable="@drawable/ic_home_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />  
8 - <item android:drawable="@drawable/ic_home_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" /> 7 + <item android:drawable="@drawable/main_home_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
  8 + <item android:drawable="@drawable/main_home_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
9 <!-- Pressed --> 9 <!-- Pressed -->
10 - <item android:drawable="@drawable/ic_home_sel" android:state_pressed="true" android:state_selected="true" />  
11 - <item android:drawable="@drawable/ic_home_sel" android:state_pressed="true" /> 10 + <item android:drawable="@drawable/main_home_sel" android:state_pressed="true" android:state_selected="true" />
  11 + <item android:drawable="@drawable/main_home_sel" android:state_pressed="true" />
12 12
13 </selector> 13 </selector>
14 \ No newline at end of file 14 \ No newline at end of file
app/src/main/res/drawable/tab_live_tv_selector.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- Non focused states --> 3 <!-- Non focused states -->
4 - <item android:drawable="@drawable/ic_live_tv" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />  
5 - <item android:drawable="@drawable/ic_live_tv_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" /> 4 + <item android:drawable="@drawable/main_live_tv" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
  5 + <item android:drawable="@drawable/main_live_tv_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
6 <!-- Focused states --> 6 <!-- Focused states -->
7 - <item android:drawable="@drawable/ic_live_tv_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />  
8 - <item android:drawable="@drawable/ic_live_tv_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" /> 7 + <item android:drawable="@drawable/main_live_tv_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
  8 + <item android:drawable="@drawable/main_live_tv_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
9 <!-- Pressed --> 9 <!-- Pressed -->
10 - <item android:drawable="@drawable/ic_live_tv_sel" android:state_pressed="true" android:state_selected="true" />  
11 - <item android:drawable="@drawable/ic_live_tv_sel" android:state_pressed="true" /> 10 + <item android:drawable="@drawable/main_live_tv_sel" android:state_pressed="true" android:state_selected="true" />
  11 + <item android:drawable="@drawable/main_live_tv_sel" android:state_pressed="true" />
12 12
13 </selector> 13 </selector>
14 \ No newline at end of file 14 \ No newline at end of file
app/src/main/res/drawable/tab_person_selector.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- Non focused states --> 3 <!-- Non focused states -->
4 - <item android:drawable="@drawable/ic_person" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />  
5 - <item android:drawable="@drawable/ic_person_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" /> 4 + <item android:drawable="@drawable/main_person" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
  5 + <item android:drawable="@drawable/main_person_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
6 <!-- Focused states --> 6 <!-- Focused states -->
7 - <item android:drawable="@drawable/ic_person_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />  
8 - <item android:drawable="@drawable/ic_person_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" /> 7 + <item android:drawable="@drawable/main_person_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
  8 + <item android:drawable="@drawable/main_person_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
9 <!-- Pressed --> 9 <!-- Pressed -->
10 - <item android:drawable="@drawable/ic_person_sel" android:state_pressed="true" android:state_selected="true" />  
11 - <item android:drawable="@drawable/ic_person_sel" android:state_pressed="true" /> 10 + <item android:drawable="@drawable/main_person_sel" android:state_pressed="true" android:state_selected="true" />
  11 + <item android:drawable="@drawable/main_person_sel" android:state_pressed="true" />
12 12
13 </selector> 13 </selector>
14 \ No newline at end of file 14 \ No newline at end of file
app/src/main/res/drawable/tab_videocam_selector.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- Non focused states --> 3 <!-- Non focused states -->
4 - <item android:drawable="@drawable/ic_videocam" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />  
5 - <item android:drawable="@drawable/ic_videocam_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" /> 4 + <item android:drawable="@drawable/main_videocam" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
  5 + <item android:drawable="@drawable/main_videocam_sel" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
6 <!-- Focused states --> 6 <!-- Focused states -->
7 - <item android:drawable="@drawable/ic_videocam_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />  
8 - <item android:drawable="@drawable/ic_videocam_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" /> 7 + <item android:drawable="@drawable/main_videocam_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
  8 + <item android:drawable="@drawable/main_videocam_sel" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
9 <!-- Pressed --> 9 <!-- Pressed -->
10 - <item android:drawable="@drawable/ic_videocam_sel" android:state_pressed="true" android:state_selected="true" />  
11 - <item android:drawable="@drawable/ic_videocam_sel" android:state_pressed="true" /> 10 + <item android:drawable="@drawable/main_videocam_sel" android:state_pressed="true" android:state_selected="true" />
  11 + <item android:drawable="@drawable/main_videocam_sel" android:state_pressed="true" />
12 12
13 </selector> 13 </selector>
14 \ No newline at end of file 14 \ No newline at end of file
app/src/main/res/layout/activity_stream_portrait.xml
@@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
125 android:layout_below="@+id/end_view" 125 android:layout_below="@+id/end_view"
126 android:layout_centerHorizontal="true" 126 android:layout_centerHorizontal="true"
127 android:layout_marginTop="48dp" 127 android:layout_marginTop="48dp"
128 - android:background="@drawable/btn_record_end" 128 + android:background="@drawable/record_end"
129 android:onClick="onClick" 129 android:onClick="onClick"
130 android:text="知道了" 130 android:text="知道了"
131 android:textColor="@android:color/white" 131 android:textColor="@android:color/white"
@@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@
162 android:onClick="onClick" 162 android:onClick="onClick"
163 android:padding="5dp" 163 android:padding="5dp"
164 android:scaleType="fitCenter" 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 <ImageButton 167 <ImageButton
168 android:id="@+id/btn_flip" 168 android:id="@+id/btn_flip"
@@ -172,7 +172,7 @@ @@ -172,7 +172,7 @@
172 android:onClick="onClick" 172 android:onClick="onClick"
173 android:padding="5dp" 173 android:padding="5dp"
174 android:scaleType="fitCenter" 174 android:scaleType="fitCenter"
175 - android:src="@drawable/icon_record_flip" /> 175 + android:src="@drawable/record_flip" />
176 176
177 <ImageButton 177 <ImageButton
178 android:id="@+id/btn_flash" 178 android:id="@+id/btn_flash"
@@ -182,7 +182,7 @@ @@ -182,7 +182,7 @@
182 android:onClick="onClick" 182 android:onClick="onClick"
183 android:padding="5dp" 183 android:padding="5dp"
184 android:scaleType="fitCenter" 184 android:scaleType="fitCenter"
185 - android:src="@drawable/icon_record_flash" 185 + android:src="@drawable/record_flash"
186 android:visibility="@{isShow.flashBtn ? 0 : 8}" /> 186 android:visibility="@{isShow.flashBtn ? 0 : 8}" />
187 187
188 <ImageButton 188 <ImageButton
@@ -195,7 +195,7 @@ @@ -195,7 +195,7 @@
195 android:onClick="onClick" 195 android:onClick="onClick"
196 android:padding="5dp" 196 android:padding="5dp"
197 android:scaleType="fitCenter" 197 android:scaleType="fitCenter"
198 - android:src="@drawable/icon_record_close" /> 198 + android:src="@drawable/record_close" />
199 </LinearLayout> 199 </LinearLayout>
200 200
201 <Button 201 <Button
@@ -203,7 +203,7 @@ @@ -203,7 +203,7 @@
203 android:layout_width="wrap_content" 203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content" 204 android:layout_height="wrap_content"
205 android:layout_centerInParent="true" 205 android:layout_centerInParent="true"
206 - android:background="@drawable/anchor_retry_nor" 206 + android:background="@drawable/record_retry_nor"
207 android:onClick="onClick" 207 android:onClick="onClick"
208 android:padding="5dp" 208 android:padding="5dp"
209 android:text="开始直播" 209 android:text="开始直播"
@@ -244,7 +244,7 @@ @@ -244,7 +244,7 @@
244 android:layout_below="@+id/auto_reconnect_msg" 244 android:layout_below="@+id/auto_reconnect_msg"
245 android:layout_centerHorizontal="true" 245 android:layout_centerHorizontal="true"
246 android:layout_marginTop="8dp" 246 android:layout_marginTop="8dp"
247 - android:background="@drawable/anchor_retry_nor" 247 + android:background="@drawable/record_retry_nor"
248 android:onClick="onClick" 248 android:onClick="onClick"
249 android:paddingBottom="8dp" 249 android:paddingBottom="8dp"
250 android:paddingLeft="15dp" 250 android:paddingLeft="15dp"
app/src/main/res/layout/user_fragment.xml
@@ -5,15 +5,14 @@ @@ -5,15 +5,14 @@
5 > 5 >
6 6
7 <LinearLayout 7 <LinearLayout
8 -  
9 android:layout_width="match_parent" 8 android:layout_width="match_parent"
10 android:layout_height="match_parent" 9 android:layout_height="match_parent"
11 android:orientation="vertical"> 10 android:orientation="vertical">
12 11
13 <RelativeLayout 12 <RelativeLayout
14 android:layout_width="match_parent" 13 android:layout_width="match_parent"
15 - android:layout_height="150dp"  
16 - > 14 + android:layout_height="48dp">
  15 +
17 <TextView 16 <TextView
18 android:layout_width="wrap_content" 17 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
@@ -21,100 +20,99 @@ @@ -21,100 +20,99 @@
21 android:singleLine="true" 20 android:singleLine="true"
22 android:text="我的" 21 android:text="我的"
23 android:textColor="@color/config_black_color" 22 android:textColor="@color/config_black_color"
24 - android:textSize="22sp"  
25 - /> 23 + android:textSize="22sp" />
26 24
27 25
28 </RelativeLayout> 26 </RelativeLayout>
  27 +
29 <View 28 <View
30 android:layout_width="match_parent" 29 android:layout_width="match_parent"
31 - android:layout_marginBottom="@dimen/_20px"  
32 android:layout_height="1px" 30 android:layout_height="1px"
  31 + android:layout_marginBottom="@dimen/_20px"
33 android:background="@color/gray_line_color" /> 32 android:background="@color/gray_line_color" />
34 33
35 34
36 - <RelativeLayout  
37 - android:id="@+id/config_header"  
38 - android:layout_width="fill_parent"  
39 - android:layout_height="85dp"  
40 - android:gravity="center_vertical"  
41 - style="@style/list_item_style">  
42 -  
43 - <com.cnlive.gundam.user.view.CircleImageView  
44 - android:id="@+id/head_img"  
45 - android:layout_width="55dip"  
46 - android:layout_height="55dip"  
47 - android:layout_centerVertical="true"  
48 - android:src="@drawable/cnlive_user_header"  
49 - cn:border_color="@android:color/transparent"  
50 - android:layout_marginLeft="11dp"  
51 - android:layout_marginRight="16dp" />  
52 -  
53 - <LinearLayout  
54 - android:layout_width="wrap_content"  
55 - android:layout_height="wrap_content"  
56 - android:layout_centerVertical="true"  
57 - android:layout_toRightOf="@+id/head_img"  
58 - android:orientation="vertical"  
59 - android:layout_toLeftOf="@+id/next">  
60 -  
61 - <TextView  
62 - android:id="@+id/tv_nickname"  
63 - android:layout_width="wrap_content"  
64 - android:layout_height="wrap_content"  
65 - android:layout_margin="3dp"  
66 - android:gravity="center_vertical"  
67 - android:singleLine="true"  
68 - android:text="@string/click_login"  
69 - android:textColor="@color/config_black_color"  
70 - android:textSize="17sp" />  
71 -  
72 - </LinearLayout> 35 + <RelativeLayout
  36 + android:id="@+id/config_header"
  37 + style="@style/list_item_style"
  38 + android:layout_width="fill_parent"
  39 + android:layout_height="85dp"
  40 + android:gravity="center_vertical">
  41 +
  42 + <com.cnlive.gundam.user.view.CircleImageView
  43 + android:id="@+id/head_img"
  44 + android:layout_width="55dip"
  45 + android:layout_height="55dip"
  46 + android:layout_centerVertical="true"
  47 + android:layout_marginLeft="11dp"
  48 + android:layout_marginRight="16dp"
  49 + cn:border_color="@android:color/transparent"
  50 + android:src="@drawable/cnlive_user_header" />
73 51
74 - <ImageView  
75 - android:id="@+id/next"  
76 - android:layout_width="@dimen/next_image_width"  
77 - android:layout_height="@dimen/next_image_height"  
78 - android:layout_alignParentRight="true"  
79 - android:layout_centerVertical="true"  
80 - android:layout_marginRight="@dimen/next_image_margin_right"  
81 - android:contentDescription="@null"  
82 - android:src="@drawable/btn_channel_more" />  
83 - </RelativeLayout> 52 + <LinearLayout
  53 + android:layout_width="wrap_content"
  54 + android:layout_height="wrap_content"
  55 + android:layout_centerVertical="true"
  56 + android:layout_toLeftOf="@+id/next"
  57 + android:layout_toRightOf="@+id/head_img"
  58 + android:orientation="vertical">
84 59
  60 + <TextView
  61 + android:id="@+id/tv_nickname"
  62 + android:layout_width="wrap_content"
  63 + android:layout_height="wrap_content"
  64 + android:layout_margin="3dp"
  65 + android:gravity="center_vertical"
  66 + android:singleLine="true"
  67 + android:text="@string/click_login"
  68 + android:textColor="@color/config_black_color"
  69 + android:textSize="17sp" />
85 70
  71 + </LinearLayout>
86 72
  73 + <ImageView
  74 + android:id="@+id/next"
  75 + android:layout_width="@dimen/next_image_width"
  76 + android:layout_height="@dimen/next_image_height"
  77 + android:layout_alignParentRight="true"
  78 + android:layout_centerVertical="true"
  79 + android:layout_marginRight="@dimen/next_image_margin_right"
  80 + android:contentDescription="@null"
  81 + android:src="@drawable/btn_channel_more" />
  82 + </RelativeLayout>
87 83
88 84
89 <View 85 <View
90 android:layout_width="match_parent" 86 android:layout_width="match_parent"
91 android:layout_height="1px" 87 android:layout_height="1px"
92 android:background="@color/gray_line_color" /> 88 android:background="@color/gray_line_color" />
  89 +
93 <RelativeLayout 90 <RelativeLayout
  91 + android:id="@+id/message"
  92 + style="@style/list_item_style"
94 android:layout_width="match_parent" 93 android:layout_width="match_parent"
95 android:layout_height="50dp" 94 android:layout_height="50dp"
96 - android:layout_marginTop="@dimen/_20px"  
97 - android:id="@+id/message"  
98 - style="@style/list_item_style"> 95 + android:layout_marginTop="@dimen/_20px">
99 96
100 <ImageView 97 <ImageView
  98 + android:id="@+id/ic_setting_opinion"
101 android:layout_width="30dp" 99 android:layout_width="30dp"
102 android:layout_height="30dp" 100 android:layout_height="30dp"
103 - android:layout_marginLeft="@dimen/_20px"  
104 android:layout_centerVertical="true" 101 android:layout_centerVertical="true"
105 - android:id="@+id/ic_setting_opinion"  
106 - android:src="@drawable/ic_setting_opinion"/> 102 + android:layout_marginLeft="@dimen/_20px"
  103 + android:src="@drawable/ic_setting_opinion" />
  104 +
107 <TextView 105 <TextView
108 android:layout_width="wrap_content" 106 android:layout_width="wrap_content"
109 android:layout_height="wrap_content" 107 android:layout_height="wrap_content"
110 android:layout_centerVertical="true" 108 android:layout_centerVertical="true"
  109 + android:layout_marginLeft="30dp"
111 android:layout_toRightOf="@+id/ic_setting_opinion" 110 android:layout_toRightOf="@+id/ic_setting_opinion"
112 android:gravity="center_vertical" 111 android:gravity="center_vertical"
113 android:singleLine="true" 112 android:singleLine="true"
114 android:text="意见反馈" 113 android:text="意见反馈"
115 android:textColor="@color/config_black_color" 114 android:textColor="@color/config_black_color"
116 - android:layout_marginLeft="30dp"  
117 - android:textSize="17sp"/> 115 + android:textSize="17sp" />
118 116
119 117
120 <ImageView 118 <ImageView
app/src/main/res/values/strings.xml
@@ -37,70 +37,4 @@ @@ -37,70 +37,4 @@
37 <string name="request_state_error">获取活动状态失败</string> 37 <string name="request_state_error">获取活动状态失败</string>
38 <string name="request_state_play_error">此活动状态无法播放</string> 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="my_config_money_desc">中国币、兑换码、金额</string>  
48 - <string name="logout">注销</string>  
49 -  
50 - //登录页面  
51 - <string name="user_login_account">账号:</string>  
52 - <string name="user_login_account_hint">Email/手机号码</string>  
53 - <string name="user_login_code">密码:</string>  
54 - <string name="user_login_code_hint">6&#8211;20位字母或数字</string>  
55 - <string name="user_login_recall_code">忘记密码?</string>  
56 - <string name="string_fast_access">短信验证登录</string>  
57 - <string name="user_login">登录</string>  
58 - <string name="user_login_third_part_login">第三方账号登录</string>  
59 - <string name="third_login_sina">微博</string>  
60 - <string name="third_login_qq">QQ</string>  
61 - <string name="third_login_weixin">微信</string>  
62 -  
63 - //注册页面  
64 - <string name="register_mobile_hint">请输入您的手机号</string>  
65 - <string name="getmobile_identify_code">获取验证码</string>  
66 - <string name="register_mobile_keycode_hint">请输入您收到的验证码</string>  
67 - <string name="register_password_hint">请设置密码:6&#8211;20位字母或数字</string>  
68 - <string name="register_show_password">显示密码</string>  
69 - <string name="register_and_agree">我已阅读并同意</string>  
70 - <string name="register_btn">注册</string>  
71 -  
72 - //找回密码页面  
73 - <string name="find_password_btn">找回密码</string>  
74 - <string name="find_password_hint">请确认密码:6&#8211;20位字母或数字</string>  
75 - <string name="save_btn">保存</string>  
76 -  
77 - //昵称修改页面  
78 - <string name="user_input_nickname">请输入昵称</string>  
79 -  
80 - //手机号修改页面  
81 - <string name="register_mobile">手机号:</string>  
82 - <string name="user_personal_telephone_hint">手机号码</string>  
83 - <string name="register_mobile_keycode">验证码:</string>  
84 - <string name="hint_6_numbers_code">6位数字验证码</string>  
85 -  
86 - //邮箱修改页面  
87 - <string name="email_notify">修改后,您输入的邮箱将会收到确认邮件,请按邮件中的说明去完成验证,谢谢!</string>  
88 -  
89 - //关于我们页面  
90 - <string name="about_us_visit">访问视讯中国官网</string>  
91 - <string name="about_us_call_phone">拨打客服电话</string>  
92 - <string name="about_us_disclaimer">免责声明</string>  
93 - <string name="about_us_company_name">北京中投视讯文化传媒股份有限公司</string>  
94 -  
95 - //分享  
96 - <string name="toast_msg_share_success">分享成功!</string>  
97 - <string name="toast_msg_share_fail">分享失败,请再试一次</string>  
98 - <string name="toast_msg_share_cancel">取消分享</string>  
99 - <string name="share_program_download_targetUrl"> http://www.cnlive.com/web/guide.jsp</string>  
100 -  
101 - //AccountManager用户管理  
102 - <string name="ACCOUNT_TYPE">com.cnlive.libs.AccountType</string>  
103 - <string name="ACCOUNT_LABEL">@string/app_name</string>  
104 -  
105 - <string name="verified_url" formatted="false">https://mobile.cnlive.com/CnliveMobile/web/review/review.jsp?sid=%s&amp;plat=a&amp;appId=%s </string>  
106 </resources> 40 </resources>
app/src/main/res/xml/account_preferences.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<PreferenceScreen></PreferenceScreen>
app/src/main/res/xml/authenticator.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:accountType="@string/ACCOUNT_TYPE"
  4 + android:icon="@mipmap/ic_launcher"
  5 + android:smallIcon="@mipmap/ic_launcher"
  6 + android:label="@string/ACCOUNT_LABEL"
  7 + android:accountPreferences="@xml/account_preferences" />
0 \ No newline at end of file 8 \ No newline at end of file
user/build.gradle
@@ -23,10 +23,6 @@ android { @@ -23,10 +23,6 @@ android {
23 23
24 dependencies { 24 dependencies {
25 compile fileTree(dir: 'libs', include: ['*.jar']) 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 compile 'com.android.support:appcompat-v7:26.+' 26 compile 'com.android.support:appcompat-v7:26.+'
30 - testCompile 'junit:junit:4.12'  
31 27
32 } 28 }
user/src/androidTest/java/cnlive/com/myuser/ExampleInstrumentedTest.java deleted 100644 → 0
1 -package cnlive.com.myuser;  
2 -  
3 -import android.content.Context;  
4 -import android.support.test.InstrumentationRegistry;  
5 -import android.support.test.runner.AndroidJUnit4;  
6 -  
7 -import org.junit.Test;  
8 -import org.junit.runner.RunWith;  
9 -  
10 -import static org.junit.Assert.*;  
11 -  
12 -/**  
13 - * Instrumentation test, which will execute on an Android device.  
14 - *  
15 - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>  
16 - */  
17 -@RunWith(AndroidJUnit4.class)  
18 -public class ExampleInstrumentedTest {  
19 - @Test  
20 - public void useAppContext() throws Exception {  
21 - // Context of the app under test.  
22 - Context appContext = InstrumentationRegistry.getTargetContext();  
23 -  
24 - assertEquals("cnlive.com.myuser.test", appContext.getPackageName());  
25 - }  
26 -}  
user/src/main/res/mipmap-hdpi/ic_launcher.png deleted 100644 → 0

6.52 KB

user/src/main/res/values/colors.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <resources> 2 <resources>
3 - <color name="colorPrimary">#3F51B5</color>  
4 - <color name="colorPrimaryDark">#303F9F</color>  
5 - <color name="colorAccent">#FF4081</color>  
6 3
7 <color name="gray_line_color">#dcdcdc</color> 4 <color name="gray_line_color">#dcdcdc</color>
8 <color name="config_black_color">#323333</color> 5 <color name="config_black_color">#323333</color>
user/src/main/res/values/strings.xml
@@ -36,6 +36,8 @@ @@ -36,6 +36,8 @@
36 <string name="find_password_hint">请确认密码:6&#8211;20位字母或数字</string> 36 <string name="find_password_hint">请确认密码:6&#8211;20位字母或数字</string>
37 <string name="save_btn">保存</string> 37 <string name="save_btn">保存</string>
38 38
  39 + <string name="ACCOUNT_TYPE">com.cnlive.libs.AccountType</string>
  40 + <string name="ACCOUNT_LABEL">@string/app_name</string>
39 41
40 42
41 43
user/src/main/res/values/styles.xml
1 <resources> 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 <style name="ActionbarTitleStyle"> 4 <style name="ActionbarTitleStyle">
12 <item name="android:textSize">22sp</item> 5 <item name="android:textSize">22sp</item>
@@ -81,11 +74,4 @@ @@ -81,11 +74,4 @@
81 <item name="android:windowCloseOnTouchOutside">true</item> 74 <item name="android:windowCloseOnTouchOutside">true</item>
82 </style> 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 </resources> 77 </resources>
user/src/test/java/cnlive/com/myuser/ExampleUnitTest.java deleted 100644 → 0
1 -package cnlive.com.myuser;  
2 -  
3 -import org.junit.Test;  
4 -  
5 -import static org.junit.Assert.*;  
6 -  
7 -/**  
8 - * Example local unit test, which will execute on the development machine (host).  
9 - *  
10 - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>  
11 - */  
12 -public class ExampleUnitTest {  
13 - @Test  
14 - public void addition_isCorrect() throws Exception {  
15 - assertEquals(4, 2 + 2);  
16 - }  
17 -}  
18 \ No newline at end of file 0 \ No newline at end of file