Skip to content

Commit

Permalink
更新readme,更新截图
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom10086 committed Dec 17, 2017
1 parent 282bf8c commit e05e6c6
Show file tree
Hide file tree
Showing 19 changed files with 64 additions and 69 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 西电睿思手机客户端
西安电子科技大学校园睿思论坛客户端。本客户端在校园网和校外网环境下均可使用。如有bug,建议等欢迎反馈
西安电子科技大学校园睿思论坛Android客户端。
支持夜间模式,支持主题,如有bug,或者新功能建议欢迎提出Issus
Ios版见[Ruisi_Ios](https://github.com/freedom10086/Ruisi_Ios)

### 更新地址:

#### 论坛下载
Expand All @@ -10,14 +13,15 @@
[酷安](https://www.coolapk.com/apk/me.yluo.ruisiapp)

### 软件截图
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/1.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/2.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/3.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/4.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/5.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/6.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/7.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/8.jpg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/1.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/2.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/3.png)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/4.png)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/5.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/6.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/7.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/8.jpeg)
![image](https://github.com/freedom10086/Ruisi/blob/master/screenshots/9.jpeg)

### 意见和反馈
- freedom10086 <[email protected]>
Expand Down
111 changes: 51 additions & 60 deletions app/src/main/java/me/yluo/ruisiapp/activity/FriendActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,82 +323,73 @@ private void removeRes(boolean b, int pos) {


private void show_search_view() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
search_card.setVisibility(View.VISIBLE);
animator = ViewAnimationUtils.createCircularReveal(
search_card,
search_card.getWidth(),
0,
0,
(float) Math.hypot(search_card.getWidth(), search_card.getHeight()));

animator.setInterpolator(new AccelerateInterpolator());
animator.setDuration(260);
animator.addListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animator) {
search_card.setVisibility(View.VISIBLE);
animator = ViewAnimationUtils.createCircularReveal(
search_card,
search_card.getWidth(),
0,
0,
(float) Math.hypot(search_card.getWidth(), search_card.getHeight()));

animator.setInterpolator(new AccelerateInterpolator());
animator.setDuration(260);
animator.addListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animator) {

}
}

@Override
public void onAnimationEnd(Animator animator) {
KeyboardUtil.showKeyboard(search_input);
}
@Override
public void onAnimationEnd(Animator animator) {
KeyboardUtil.showKeyboard(search_input);
}

@Override
public void onAnimationCancel(Animator animator) {
@Override
public void onAnimationCancel(Animator animator) {

}
}

@Override
public void onAnimationRepeat(Animator animator) {
@Override
public void onAnimationRepeat(Animator animator) {

}
});
}
});

animator.start();
} else {
search_card.setVisibility(View.VISIBLE);
KeyboardUtil.showKeyboard(search_input);
}
animator.start();
}

private void hide_search_view() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
animator = ViewAnimationUtils.createCircularReveal(
search_card,
search_card.getWidth(),
0,
(float) Math.hypot(search_card.getWidth(), search_card.getHeight()),
0);

animator.setInterpolator(new DecelerateInterpolator());
animator.setDuration(260);
animator.addListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animator) {
animator = ViewAnimationUtils.createCircularReveal(
search_card,
search_card.getWidth(),
0,
(float) Math.hypot(search_card.getWidth(), search_card.getHeight()),
0);

animator.setInterpolator(new DecelerateInterpolator());
animator.setDuration(260);
animator.addListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animator) {

}
}

@Override
public void onAnimationEnd(Animator animator) {
search_card.setVisibility(View.GONE);
}
@Override
public void onAnimationEnd(Animator animator) {
search_card.setVisibility(View.GONE);
}

@Override
public void onAnimationCancel(Animator animator) {
@Override
public void onAnimationCancel(Animator animator) {

}
}

@Override
public void onAnimationRepeat(Animator animator) {
@Override
public void onAnimationRepeat(Animator animator) {

}
});
animator.start();
} else {
search_card.setVisibility(View.GONE);
}
}
});
animator.start();
}

@Override
Expand Down
Binary file added screenshots/1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/1.jpg
Binary file not shown.
Binary file added screenshots/2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/2.jpg
Binary file not shown.
Binary file removed screenshots/3.jpg
Binary file not shown.
Binary file added screenshots/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/4.jpg
Binary file not shown.
Binary file added screenshots/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/5.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/5.jpg
Binary file not shown.
Binary file added screenshots/6.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/6.jpg
Binary file not shown.
Binary file added screenshots/7.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/7.jpg
Binary file not shown.
Binary file added screenshots/8.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/8.jpg
Binary file not shown.
Binary file added screenshots/9.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e05e6c6

Please sign in to comment.