Commit c7a02c33ec05b7cc2d7a5b15e7302271d28b0dd8
1 parent
c77a0d75
删除多余的文件
Showing
55 changed files
with
23 additions
and
583 deletions
app/src/main/java/com/cnlive/gundam/main/ui/fragment/ConfigFragment.java
| ... | ... | @@ -74,8 +74,7 @@ public class ConfigFragment extends Fragment implements View.OnClickListener { |
| 74 | 74 | @Override |
| 75 | 75 | public void onResume() { |
| 76 | 76 | super.onResume(); |
| 77 | - notifyUI(); | |
| 78 | - | |
| 77 | + if (UserService.getInstance(getActivity()).getActiveAccountInfo().getUid() != 0) notifyUI(); | |
| 79 | 78 | } |
| 80 | 79 | |
| 81 | 80 | private void notifyUI() { | ... | ... |
app/src/main/java/com/cnlive/gundam/user/activity/LoginActivity.java
| ... | ... | @@ -34,9 +34,7 @@ public class LoginActivity extends AppCompatActivity { |
| 34 | 34 | // TODO Auto-generated method stub |
| 35 | 35 | if(ev.getAction()== MotionEvent.ACTION_DOWN){ |
| 36 | 36 | |
| 37 | - // 获得当前得到焦点的View,一般情况下就是EditText(特殊情况就是轨迹求或者实体案件会移动焦点) | |
| 38 | 37 | View v=getCurrentFocus(); |
| 39 | - | |
| 40 | 38 | if(DevilUtil.isShouldHideInput(v,ev)){ |
| 41 | 39 | InputMethodManager im=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); |
| 42 | 40 | DevilUtil.hideSoftInput(v.getWindowToken(),im); | ... | ... |
app/src/main/java/com/cnlive/gundam/user/fragment/LoginFragment.java
| ... | ... | @@ -34,7 +34,6 @@ public class LoginFragment extends Fragment implements View.OnClickListener { |
| 34 | 34 | public static DataEntity data; |
| 35 | 35 | |
| 36 | 36 | private Account account;//密码登录的account |
| 37 | - private Account account1;//第三方登录的account | |
| 38 | 37 | |
| 39 | 38 | //跳转页面的对话框 |
| 40 | 39 | private ProgressDialog dialog; |
| ... | ... | @@ -157,7 +156,7 @@ public class LoginFragment extends Fragment implements View.OnClickListener { |
| 157 | 156 | data = userData.getData(); |
| 158 | 157 | |
| 159 | 158 | UserService userService = UserService.getInstance(getActivity()); |
| 160 | - userService.setUserInfo(account, data); | |
| 159 | + userService.setUserInfo(account,data); | |
| 161 | 160 | //userService.isAutoLogin(); |
| 162 | 161 | userService.autoLogin(binding.edtLoginNumber.toString(), binding.edtInputPassward.getText().toString(), data); |
| 163 | 162 | ... | ... |
app/src/main/java/com/cnlive/gundam/user/model/ActiveInfo.java deleted
100644 → 0
| 1 | -package com.cnlive.gundam.user.model; | |
| 2 | - | |
| 3 | - | |
| 4 | -import java.io.Serializable; | |
| 5 | - | |
| 6 | -/** | |
| 7 | - * Created by Lynn on 5/25/2017. | |
| 8 | - */ | |
| 9 | - | |
| 10 | -public class ActiveInfo implements Serializable { | |
| 11 | - private int totalCount; | |
| 12 | - private int nextCursor; | |
| 13 | - private int preCursor; | |
| 14 | - private String activityId; | |
| 15 | - private String activityName; | |
| 16 | - private int activityStatus; | |
| 17 | - private int isHorizontalScreen; | |
| 18 | - private String channelId; | |
| 19 | - private String createTime; | |
| 20 | - private String startTime; | |
| 21 | - private String endTime; | |
| 22 | - private String coverImgUrl; | |
| 23 | - private String activityCategory; | |
| 24 | - private Object extensions; | |
| 25 | - private String rates; | |
| 26 | - | |
| 27 | - public ActiveInfo() { | |
| 28 | - } | |
| 29 | - | |
| 30 | - public ActiveInfo(int totalCount, int nextCursor, int preCursor, String activityId, String activityName, int activityStatus, int isHorizontalScreen, String channelId, String createTime, String startTime, String endTime, String coverImgUrl, String activityCategory, Object extensions, String rates) { | |
| 31 | - this.totalCount = totalCount; | |
| 32 | - this.nextCursor = nextCursor; | |
| 33 | - this.preCursor = preCursor; | |
| 34 | - this.activityId = activityId; | |
| 35 | - this.activityName = activityName; | |
| 36 | - this.activityStatus = activityStatus; | |
| 37 | - this.isHorizontalScreen = isHorizontalScreen; | |
| 38 | - this.channelId = channelId; | |
| 39 | - this.createTime = createTime; | |
| 40 | - this.startTime = startTime; | |
| 41 | - this.endTime = endTime; | |
| 42 | - this.coverImgUrl = coverImgUrl; | |
| 43 | - this.activityCategory = activityCategory; | |
| 44 | - this.extensions = extensions; | |
| 45 | - this.rates = rates; | |
| 46 | - } | |
| 47 | - | |
| 48 | - public int getTotalCount() { | |
| 49 | - return totalCount; | |
| 50 | - } | |
| 51 | - | |
| 52 | - public void setTotalCount(int totalCount) { | |
| 53 | - this.totalCount = totalCount; | |
| 54 | - } | |
| 55 | - | |
| 56 | - public int getNextCursor() { | |
| 57 | - return nextCursor; | |
| 58 | - } | |
| 59 | - | |
| 60 | - public void setNextCursor(int nextCursor) { | |
| 61 | - this.nextCursor = nextCursor; | |
| 62 | - } | |
| 63 | - | |
| 64 | - public int getPreCursor() { | |
| 65 | - return preCursor; | |
| 66 | - } | |
| 67 | - | |
| 68 | - public void setPreCursor(int preCursor) { | |
| 69 | - this.preCursor = preCursor; | |
| 70 | - } | |
| 71 | - | |
| 72 | - public String getActivityId() { | |
| 73 | - return activityId; | |
| 74 | - } | |
| 75 | - | |
| 76 | - public void setActivityId(String activityId) { | |
| 77 | - this.activityId = activityId; | |
| 78 | - } | |
| 79 | - | |
| 80 | - public String getActivityName() { | |
| 81 | - return activityName; | |
| 82 | - } | |
| 83 | - | |
| 84 | - public void setActivityName(String activityName) { | |
| 85 | - this.activityName = activityName; | |
| 86 | - } | |
| 87 | - | |
| 88 | - public int getActivityStatus() { | |
| 89 | - return activityStatus; | |
| 90 | - } | |
| 91 | - | |
| 92 | - public void setActivityStatus(int activityStatus) { | |
| 93 | - this.activityStatus = activityStatus; | |
| 94 | - } | |
| 95 | - | |
| 96 | - public int getIsHorizontalScreen() { | |
| 97 | - return isHorizontalScreen; | |
| 98 | - } | |
| 99 | - | |
| 100 | - public void setIsHorizontalScreen(int isHorizontalScreen) { | |
| 101 | - this.isHorizontalScreen = isHorizontalScreen; | |
| 102 | - } | |
| 103 | - | |
| 104 | - public String getChannelId() { | |
| 105 | - return channelId; | |
| 106 | - } | |
| 107 | - | |
| 108 | - public void setChannelId(String channelId) { | |
| 109 | - this.channelId = channelId; | |
| 110 | - } | |
| 111 | - | |
| 112 | - public String getCreateTime() { | |
| 113 | - return createTime; | |
| 114 | - } | |
| 115 | - | |
| 116 | - public void setCreateTime(String createTime) { | |
| 117 | - this.createTime = createTime; | |
| 118 | - } | |
| 119 | - | |
| 120 | - public String getStartTime() { | |
| 121 | - return startTime; | |
| 122 | - } | |
| 123 | - | |
| 124 | - public void setStartTime(String startTime) { | |
| 125 | - this.startTime = startTime; | |
| 126 | - } | |
| 127 | - | |
| 128 | - public String getEndTime() { | |
| 129 | - return endTime; | |
| 130 | - } | |
| 131 | - | |
| 132 | - public void setEndTime(String endTime) { | |
| 133 | - this.endTime = endTime; | |
| 134 | - } | |
| 135 | - | |
| 136 | - public String getCoverImgUrl() { | |
| 137 | - return coverImgUrl; | |
| 138 | - } | |
| 139 | - | |
| 140 | - public void setCoverImgUrl(String coverImgUrl) { | |
| 141 | - this.coverImgUrl = coverImgUrl; | |
| 142 | - } | |
| 143 | - | |
| 144 | - public String getActivityCategory() { | |
| 145 | - return activityCategory; | |
| 146 | - } | |
| 147 | - | |
| 148 | - public void setActivityCategory(String activityCategory) { | |
| 149 | - this.activityCategory = activityCategory; | |
| 150 | - } | |
| 151 | - | |
| 152 | - public Object getExtensions() { | |
| 153 | - return extensions; | |
| 154 | - } | |
| 155 | - | |
| 156 | - public void setExtensions(Object extensions) { | |
| 157 | - this.extensions = extensions; | |
| 158 | - } | |
| 159 | - | |
| 160 | - public String getRates() { | |
| 161 | - return rates; | |
| 162 | - } | |
| 163 | - | |
| 164 | - public void setRates(String rates) { | |
| 165 | - this.rates = rates; | |
| 166 | - } | |
| 167 | - | |
| 168 | - @Override | |
| 169 | - public String toString() { | |
| 170 | - return "ActiveInfo{" + | |
| 171 | - "totalCount=" + totalCount + | |
| 172 | - ", nextCursor=" + nextCursor + | |
| 173 | - ", preCursor=" + preCursor + | |
| 174 | - ", activityId='" + activityId + '\'' + | |
| 175 | - ", activityName='" + activityName + '\'' + | |
| 176 | - ", activityStatus=" + activityStatus + | |
| 177 | - ", isHorizontalScreen=" + isHorizontalScreen + | |
| 178 | - ", channelId='" + channelId + '\'' + | |
| 179 | - ", createTime='" + createTime + '\'' + | |
| 180 | - ", startTime='" + startTime + '\'' + | |
| 181 | - ", endTime='" + endTime + '\'' + | |
| 182 | - ", coverImgUrl='" + coverImgUrl + '\'' + | |
| 183 | - ", activityCategory='" + activityCategory + '\'' + | |
| 184 | - ", extensions='" + extensions + '\'' + | |
| 185 | - ", rates='" + rates + '\'' + | |
| 186 | - '}'; | |
| 187 | - } | |
| 188 | -} |
app/src/main/java/com/cnlive/gundam/user/model/ChannelInfoModel.java deleted
100644 → 0
| 1 | -package com.cnlive.gundam.user.model; | |
| 2 | - | |
| 3 | - | |
| 4 | -import com.cnlive.gundam.user.model.base.ErrorMessage; | |
| 5 | - | |
| 6 | -import java.io.Serializable; | |
| 7 | - | |
| 8 | -/** | |
| 9 | - * Created by Lynn on 5/26/2017. | |
| 10 | - */ | |
| 11 | - | |
| 12 | -public class ChannelInfoModel extends ErrorMessage { | |
| 13 | - private ChannelInfo data; | |
| 14 | - | |
| 15 | - public ChannelInfoModel() { | |
| 16 | - } | |
| 17 | - | |
| 18 | - public ChannelInfoModel(ChannelInfo data) { | |
| 19 | - this.data = data; | |
| 20 | - } | |
| 21 | - | |
| 22 | - public ChannelInfo getData() { | |
| 23 | - return data; | |
| 24 | - } | |
| 25 | - | |
| 26 | - public void setData(ChannelInfo data) { | |
| 27 | - this.data = data; | |
| 28 | - } | |
| 29 | - | |
| 30 | - public class ChannelInfo implements Serializable { | |
| 31 | - private String coverImgUrl; | |
| 32 | - private String channelId; | |
| 33 | - private String channelName; | |
| 34 | - private int status; | |
| 35 | - | |
| 36 | - public ChannelInfo() { | |
| 37 | - } | |
| 38 | - | |
| 39 | - public ChannelInfo(String coverImgUrl, String channelId, String channelName, int status) { | |
| 40 | - this.coverImgUrl = coverImgUrl; | |
| 41 | - this.channelId = channelId; | |
| 42 | - this.channelName = channelName; | |
| 43 | - this.status = status; | |
| 44 | - } | |
| 45 | - | |
| 46 | - public String getCoverImgUrl() { | |
| 47 | - return coverImgUrl; | |
| 48 | - } | |
| 49 | - | |
| 50 | - public void setCoverImgUrl(String coverImgUrl) { | |
| 51 | - this.coverImgUrl = coverImgUrl; | |
| 52 | - } | |
| 53 | - | |
| 54 | - public String getChannelId() { | |
| 55 | - return channelId; | |
| 56 | - } | |
| 57 | - | |
| 58 | - public void setChannelId(String channelId) { | |
| 59 | - this.channelId = channelId; | |
| 60 | - } | |
| 61 | - | |
| 62 | - public String getChannelName() { | |
| 63 | - return channelName; | |
| 64 | - } | |
| 65 | - | |
| 66 | - public void setChannelName(String channelName) { | |
| 67 | - this.channelName = channelName; | |
| 68 | - } | |
| 69 | - | |
| 70 | - public int getStatus() { | |
| 71 | - return status; | |
| 72 | - } | |
| 73 | - | |
| 74 | - public void setStatus(int status) { | |
| 75 | - this.status = status; | |
| 76 | - } | |
| 77 | - | |
| 78 | - @Override | |
| 79 | - public String toString() { | |
| 80 | - return "ChannelInfo{" + | |
| 81 | - "coverImgUrl='" + coverImgUrl + '\'' + | |
| 82 | - ", channelId='" + channelId + '\'' + | |
| 83 | - ", channelName='" + channelName + '\'' + | |
| 84 | - ", status=" + status + | |
| 85 | - '}'; | |
| 86 | - } | |
| 87 | - } | |
| 88 | - | |
| 89 | - @Override | |
| 90 | - public String toString() { | |
| 91 | - return "ChannelInfoModel{" + | |
| 92 | - "data=" + data + | |
| 93 | - '}'; | |
| 94 | - } | |
| 95 | -} |
app/src/main/java/com/cnlive/gundam/user/model/PersonalDate.java deleted
100644 → 0
| 1 | -package com.cnlive.gundam.user.model; | |
| 2 | - | |
| 3 | -/** | |
| 4 | - * @author 陈硕 | |
| 5 | - * @time 2017/6/28 13:55 | |
| 6 | - * @desc ${TODD} | |
| 7 | - */ | |
| 8 | -public class PersonalDate { | |
| 9 | - public String getItemName() { | |
| 10 | - return itemName; | |
| 11 | - } | |
| 12 | - | |
| 13 | - public void setItemName(String itemName) { | |
| 14 | - this.itemName = itemName; | |
| 15 | - } | |
| 16 | - | |
| 17 | - private String itemName; | |
| 18 | - | |
| 19 | - public String getItemMessage() { | |
| 20 | - return itemMessage; | |
| 21 | - } | |
| 22 | - | |
| 23 | - public void setItemMessage(String itemMessage) { | |
| 24 | - this.itemMessage = itemMessage; | |
| 25 | - } | |
| 26 | - | |
| 27 | - private String itemMessage; | |
| 28 | - | |
| 29 | - | |
| 30 | - | |
| 31 | - public PersonalDate(String itemName, String itemMessage) { | |
| 32 | - this.itemName = itemName; | |
| 33 | - this.itemMessage = itemMessage; | |
| 34 | - } | |
| 35 | - | |
| 36 | - | |
| 37 | - | |
| 38 | - | |
| 39 | - | |
| 40 | - | |
| 41 | -} |
app/src/main/res/layout/fragment_login.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <layout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | 3 | > |
| 4 | - <ScrollView | |
| 5 | - android:id="@+id/detail_view" | |
| 6 | - android:layout_width="match_parent" | |
| 7 | - android:layout_height="match_parent"> | |
| 8 | 4 | |
| 9 | 5 | <RelativeLayout |
| 10 | 6 | android:layout_width="match_parent" |
| ... | ... | @@ -27,6 +23,7 @@ |
| 27 | 23 | <LinearLayout |
| 28 | 24 | android:layout_width="match_parent" |
| 29 | 25 | android:layout_height="wrap_content" |
| 26 | + android:layout_marginTop="@dimen/_30px" | |
| 30 | 27 | android:background="@android:color/white" |
| 31 | 28 | android:orientation="vertical"> |
| 32 | 29 | |
| ... | ... | @@ -90,7 +87,7 @@ |
| 90 | 87 | <RelativeLayout |
| 91 | 88 | android:layout_width="match_parent" |
| 92 | 89 | android:layout_height="wrap_content" |
| 93 | - android:layout_marginTop="24dp" | |
| 90 | + android:layout_marginTop="40dp" | |
| 94 | 91 | android:orientation="horizontal" |
| 95 | 92 | android:paddingLeft="10dp" |
| 96 | 93 | android:paddingRight="10dp"> |
| ... | ... | @@ -121,111 +118,21 @@ |
| 121 | 118 | android:textSize="15sp" /> |
| 122 | 119 | </RelativeLayout> |
| 123 | 120 | |
| 124 | - <Button | |
| 125 | - android:id="@+id/btn_login" | |
| 126 | - style="@style/LoginButtonStyle" | |
| 127 | - android:layout_width="match_parent" | |
| 128 | - android:layout_height="wrap_content" | |
| 129 | - android:layout_marginTop="59dp" | |
| 130 | - android:background="@drawable/user_btn_login" | |
| 131 | - android:gravity="center" | |
| 132 | - android:onClick="onClick" | |
| 133 | - android:text="@string/user_login" /> | |
| 134 | - | |
| 135 | - | |
| 136 | - <TextView | |
| 137 | - android:id="@+id/login_text" | |
| 138 | - android:layout_width="match_parent" | |
| 139 | - android:layout_height="wrap_content" | |
| 140 | - android:layout_marginTop="100dp" | |
| 141 | - android:gravity="center_horizontal" | |
| 142 | - android:text="@string/user_login_third_part_login" | |
| 143 | - android:textColor="@color/text_hint_color" | |
| 144 | - android:textSize="15sp" /> | |
| 145 | - | |
| 146 | - <LinearLayout | |
| 147 | - android:layout_width="match_parent" | |
| 148 | - android:layout_height="wrap_content" | |
| 149 | - android:layout_marginBottom="37dp" | |
| 150 | - android:layout_marginTop="15dp" | |
| 151 | - android:orientation="horizontal"> | |
| 152 | - | |
| 153 | - <LinearLayout | |
| 154 | - android:layout_width="0dp" | |
| 155 | - android:layout_height="wrap_content" | |
| 156 | - android:layout_weight="1" | |
| 157 | - android:gravity="center" | |
| 158 | - android:orientation="vertical"> | |
| 159 | - | |
| 160 | - <ImageView | |
| 161 | - android:id="@+id/rbtn_login_wechat" | |
| 162 | - android:layout_width="50dp" | |
| 163 | - android:layout_height="50dp" | |
| 164 | - android:src="@drawable/share_btn_weixin" | |
| 165 | - android:onClick="onClick" | |
| 166 | - android:layout_marginBottom="4dp"/> | |
| 167 | - | |
| 168 | - <TextView | |
| 169 | - android:layout_width="wrap_content" | |
| 170 | - android:layout_height="wrap_content" | |
| 171 | - android:text="@string/third_login_weixin" | |
| 172 | - android:textColor="@color/text_hint_color" | |
| 173 | - android:textSize="12sp" /> | |
| 174 | - | |
| 175 | - </LinearLayout> | |
| 176 | - | |
| 177 | - <LinearLayout | |
| 178 | - android:layout_width="0dp" | |
| 179 | - android:layout_height="wrap_content" | |
| 180 | - android:layout_weight="1" | |
| 181 | - android:gravity="center" | |
| 182 | - android:orientation="vertical"> | |
| 183 | - | |
| 184 | - <ImageView | |
| 185 | - android:id="@+id/rbtn_login_qq" | |
| 186 | - android:layout_width="50dp" | |
| 187 | - android:layout_height="50dp" | |
| 188 | - android:src="@drawable/share_btn_tencent" | |
| 189 | - android:onClick="onClick" | |
| 190 | - android:layout_marginBottom="4dp"/> | |
| 191 | - | |
| 192 | - <TextView | |
| 193 | - android:layout_width="wrap_content" | |
| 194 | - android:layout_height="wrap_content" | |
| 195 | - android:text="@string/third_login_qq" | |
| 196 | - android:textColor="@color/text_hint_color" | |
| 197 | - android:textSize="12sp" /> | |
| 198 | - | |
| 199 | - </LinearLayout> | |
| 200 | - | |
| 201 | - <LinearLayout | |
| 202 | - android:layout_width="0dp" | |
| 203 | - android:layout_height="wrap_content" | |
| 204 | - android:layout_weight="1" | |
| 205 | - android:gravity="center" | |
| 206 | - android:orientation="vertical"> | |
| 207 | - | |
| 208 | - <ImageView | |
| 209 | - android:id="@+id/rbtn_login_micro_blog" | |
| 210 | - android:layout_width="50dp" | |
| 211 | - android:layout_height="50dp" | |
| 212 | - android:src="@drawable/share_btn_sina" | |
| 213 | - android:onClick="onClick" | |
| 214 | - android:layout_marginBottom="4dp"/> | |
| 215 | - | |
| 216 | - <TextView | |
| 217 | - android:layout_width="wrap_content" | |
| 218 | - android:layout_height="wrap_content" | |
| 219 | - android:text="@string/third_login_sina" | |
| 220 | - android:textColor="@color/text_hint_color" | |
| 221 | - android:textSize="12sp" /> | |
| 222 | - | |
| 223 | - </LinearLayout> | |
| 224 | - | |
| 225 | - </LinearLayout> | |
| 226 | 121 | |
| 227 | 122 | </LinearLayout> |
| 228 | 123 | |
| 124 | + <Button | |
| 125 | + android:id="@+id/btn_login" | |
| 126 | + style="@style/LoginButtonStyle" | |
| 127 | + android:layout_width="match_parent" | |
| 128 | + android:layout_height="wrap_content" | |
| 129 | + android:layout_marginBottom="200dp" | |
| 130 | + android:layout_alignParentBottom="true" | |
| 131 | + android:background="@drawable/user_btn_login" | |
| 132 | + android:gravity="center" | |
| 133 | + android:onClick="onClick" | |
| 134 | + android:text="@string/user_login" /> | |
| 135 | + | |
| 229 | 136 | <ImageView |
| 230 | 137 | android:id="@+id/back_selector" |
| 231 | 138 | android:layout_width="30dp" |
| ... | ... | @@ -249,6 +156,6 @@ |
| 249 | 156 | |
| 250 | 157 | </RelativeLayout> |
| 251 | 158 | |
| 252 | - </ScrollView> | |
| 159 | + | |
| 253 | 160 | |
| 254 | 161 | </layout> |
| 255 | 162 | \ No newline at end of file | ... | ... |
app/src/main/res/layout/user_fragment.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | |
| 3 | 3 | <layout xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + xmlns:cn="http://schemas.android.com/apk/res-auto" | |
| 4 | 5 | > |
| 5 | 6 | |
| 6 | 7 | <LinearLayout |
| 8 | + | |
| 7 | 9 | android:layout_width="match_parent" |
| 8 | 10 | android:layout_height="match_parent" |
| 9 | 11 | android:orientation="vertical"> |
| ... | ... | @@ -44,6 +46,7 @@ |
| 44 | 46 | android:layout_height="55dip" |
| 45 | 47 | android:layout_centerVertical="true" |
| 46 | 48 | android:src="@drawable/cnlive_user_header" |
| 49 | + cn:border_color="@android:color/transparent" | |
| 47 | 50 | android:layout_marginLeft="11dp" |
| 48 | 51 | android:layout_marginRight="16dp" /> |
| 49 | 52 | ... | ... |
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-xhdpi/list_item_image_load_fail.png deleted
100644 → 0
1.68 KB
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/btn_share_sina_nor.png deleted
100644 → 0
5.04 KB
user/src/main/res/drawable-xxhdpi/btn_share_sina_sel.png deleted
100644 → 0
5.21 KB
user/src/main/res/drawable-xxhdpi/btn_share_tengxun_nor.png deleted
100644 → 0
4.84 KB
user/src/main/res/drawable-xxhdpi/btn_share_tengxun_sel.png deleted
100644 → 0
5.22 KB
user/src/main/res/drawable-xxhdpi/btn_share_weixin_nor.png deleted
100644 → 0
4.54 KB
user/src/main/res/drawable-xxhdpi/btn_share_weixin_sel.png deleted
100644 → 0
4.6 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_config_history.png deleted
100644 → 0
1.89 KB
user/src/main/res/drawable-xxhdpi/ic_config_setting.png deleted
100644 → 0
2.21 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/share_btn_qq_nor.png deleted
100644 → 0
3.72 KB
user/src/main/res/drawable-xxhdpi/share_btn_qq_sel.png deleted
100644 → 0
4.57 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/share_btn_sina.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_sina_sel" /> | |
| 5 | - <item android:state_pressed="false" android:drawable="@drawable/btn_share_sina_nor" /> | |
| 6 | -</selector> | |
| 7 | 0 | \ No newline at end of file |
user/src/main/res/drawable/share_btn_tencent.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:drawable="@drawable/share_btn_qq_sel" android:state_pressed="true" /> | |
| 5 | - <item android:drawable="@drawable/share_btn_qq_nor" android:state_pressed="false" /> | |
| 6 | -</selector> | |
| 7 | 0 | \ No newline at end of file |
user/src/main/res/drawable/share_btn_weixin.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_weixin_sel" /> | |
| 5 | - <item android:state_pressed="false" android:drawable="@drawable/btn_share_weixin_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_btn_logout.xml deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 3 | - | |
| 4 | - <item android:state_selected="true" android:drawable="@drawable/user_btn_logout_sel" /> | |
| 5 | - <item android:state_pressed="true" android:drawable="@drawable/user_btn_logout_sel" /> | |
| 6 | - <item android:state_focused="true" android:drawable="@drawable/user_btn_logout_sel" /> | |
| 7 | - <item android:state_checked="false" android:drawable="@drawable/user_btn_logout_nor" /> | |
| 8 | - | |
| 9 | -</selector> | |
| 10 | 0 | \ No newline at end of file |
user/src/main/res/drawable/user_btn_logout_sel.xml deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<shape | |
| 3 | - xmlns:android="http://schemas.android.com/apk/res/android" | |
| 4 | - android:shape="rectangle" | |
| 5 | - android:useLevel="false"> | |
| 6 | - <solid android:color="#6e6e6e" /> | |
| 7 | - | |
| 8 | - <size | |
| 9 | - android:height="40dp" /> | |
| 10 | - | |
| 11 | - <corners | |
| 12 | - android:bottomLeftRadius="20dp" | |
| 13 | - android:bottomRightRadius="20dp" | |
| 14 | - android:topLeftRadius="20dp" | |
| 15 | - android:topRightRadius="20dp" /> <!-- 设置四个角的半径 --> | |
| 16 | - | |
| 17 | -</shape> | |
| 18 | 0 | \ No newline at end of file |
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/colors.xml
| ... | ... | @@ -18,8 +18,5 @@ |
| 18 | 18 | //注册页面 |
| 19 | 19 | <color name="text_white_color">#FFFFFF</color> |
| 20 | 20 | |
| 21 | - //关于我们页面 | |
| 22 | - <color name="star_name_color">#323333</color> | |
| 23 | - <color name="about_us_btn_text_color">#177bdf</color> | |
| 24 | - <color name="about_us_company_name_color">#969797</color> | |
| 21 | + | |
| 25 | 22 | </resources> | ... | ... |
user/src/main/res/values/dimens.xml
| ... | ... | @@ -21,10 +21,7 @@ |
| 21 | 21 | <dimen name="personal_text_size_14">14sp</dimen> |
| 22 | 22 | <dimen name="personal_text_size_18">18sp</dimen> |
| 23 | 23 | |
| 24 | - //关于我们 | |
| 25 | - <dimen name="about_us_text_size">17sp</dimen> | |
| 26 | - <dimen name="about_us_btn_size">13sp</dimen> | |
| 27 | - <dimen name="about_us_company_name_size">12sp</dimen> | |
| 24 | + | |
| 28 | 25 | |
| 29 | 26 | //反馈意见 |
| 30 | 27 | <dimen name="text_size_15">15sp</dimen> | ... | ... |
user/src/main/res/values/strings.xml
| ... | ... | @@ -20,9 +20,7 @@ |
| 20 | 20 | <string name="string_fast_access">短信验证登录</string> |
| 21 | 21 | <string name="user_login">登录</string> |
| 22 | 22 | <string name="user_login_third_part_login">第三方账号登录</string> |
| 23 | - <string name="third_login_sina">微博</string> | |
| 24 | - <string name="third_login_qq">QQ</string> | |
| 25 | - <string name="third_login_weixin">微信</string> | |
| 23 | + | |
| 26 | 24 | |
| 27 | 25 | //注册页面 |
| 28 | 26 | <string name="register_mobile_hint">请输入您的手机号</string> |
| ... | ... | @@ -38,34 +36,11 @@ |
| 38 | 36 | <string name="find_password_hint">请确认密码:6–20位字母或数字</string> |
| 39 | 37 | <string name="save_btn">保存</string> |
| 40 | 38 | |
| 41 | - //昵称修改页面 | |
| 42 | - <string name="user_input_nickname">请输入昵称</string> | |
| 43 | 39 | |
| 44 | - //手机号修改页面 | |
| 45 | - <string name="register_mobile">手机号:</string> | |
| 46 | - <string name="user_personal_telephone_hint">手机号码</string> | |
| 47 | - <string name="register_mobile_keycode">验证码:</string> | |
| 48 | - <string name="hint_6_numbers_code">6位数字验证码</string> | |
| 49 | 40 | |
| 50 | - //邮箱修改页面 | |
| 51 | - <string name="email_notify">修改后,您输入的邮箱将会收到确认邮件,请按邮件中的说明去完成验证,谢谢!</string> | |
| 52 | 41 | |
| 53 | - //关于我们页面 | |
| 54 | - <string name="about_us_visit">访问视讯中国官网</string> | |
| 55 | - <string name="about_us_call_phone">拨打客服电话</string> | |
| 56 | - <string name="about_us_disclaimer">免责声明</string> | |
| 57 | - <string name="about_us_company_name">北京中投视讯文化传媒股份有限公司</string> | |
| 58 | 42 | |
| 59 | - //分享 | |
| 60 | - <string name="toast_msg_share_success">分享成功!</string> | |
| 61 | - <string name="toast_msg_share_fail">分享失败,请再试一次</string> | |
| 62 | - <string name="toast_msg_share_cancel">取消分享</string> | |
| 63 | - <string name="share_program_download_targetUrl"> http://www.cnlive.com/web/guide.jsp</string> | |
| 64 | 43 | |
| 65 | - //AccountManager用户管理 | |
| 66 | - <string name="ACCOUNT_TYPE">com.cnlive.libs.AccountType</string> | |
| 67 | - <string name="ACCOUNT_LABEL">@string/app_name</string> | |
| 68 | 44 | |
| 69 | - <string name="verified_url" formatted="false">https://mobile.cnlive.com/CnliveMobile/web/review/review.jsp?sid=%s&plat=a&appId=%s </string> | |
| 70 | 45 | |
| 71 | 46 | </resources> | ... | ... |
user/src/main/res/xml/account_preferences.xml deleted
100644 → 0
user/src/main/res/xml/authenticator.xml deleted
100644 → 0
| 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" /> | |
| 8 | 0 | \ No newline at end of file |