#### 2020-12-17 V7.0.2

- *.[改进]改进歌词界面时间显示,贴合屏幕左上角。
- *.[改进]本地音乐排序为按创建时间倒序。
This commit is contained in:
如果当时 2021-02-14 09:56:17 +08:00
parent 9c75d057df
commit c9001837a6
6 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,10 @@
#### 2020-12-17 V7.0.2
- *.[改进]改进歌词界面时间显示,贴合屏幕左上角。
- *.[改进]本地音乐排序为按创建时间倒序。
#### 2020-12-17 V7.0.1
- *.[改进]暂停播放视频时,左上角的时间依旧在更新。
- *.[新增]音频歌曲歌词界面新增左上角时间显示。
- *.[新增]打开歌词界面过几秒后,自动进入全屏写真模式显示。

View File

@ -8,8 +8,8 @@ android {
applicationId "com.zlm.hp"
minSdkVersion 21
targetSdkVersion 29
versionCode 8
versionName "V7.0.1"
versionCode 9
versionName "V7.0.2"
/**添加多 dex分包支持*/
multiDexEnabled true
useLibrary 'org.apache.http.legacy'

View File

@ -252,7 +252,7 @@ public class AudioInfoDB {
public static List<AudioInfo> getLocalAudios(Context context) {
try {
List<AudioInfo> audioInfos = DBHelper.getInstance(context).getDaoSession().getAudioInfoDao().queryBuilder().where(new WhereCondition.StringCondition(AudioInfoDao.Properties.Type.columnName + "=? or ( " + AudioInfoDao.Properties.Type.columnName + "=? and " + AudioInfoDao.Properties.Status.columnName +
"=? )", AudioInfo.TYPE_LOCAL + "", AudioInfo.TYPE_NET + "", AudioInfo.STATUS_FINISH + "")).orderAsc(AudioInfoDao.Properties.Category, AudioInfoDao.Properties.ChildCategory).list();
"=? )", AudioInfo.TYPE_LOCAL + "", AudioInfo.TYPE_NET + "", AudioInfo.STATUS_FINISH + "")).orderDesc(AudioInfoDao.Properties.CreateTime).list();
return audioInfos;
} catch (Exception e) {
e.printStackTrace();

View File

@ -21,7 +21,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/layout_lrc"></include>
<ViewStub

View File

@ -4,6 +4,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
<com.github.jdsjlzx.recyclerview.LRecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"

View File

@ -5,22 +5,23 @@
android:layout_height="match_parent"
android:background="#50000000"
android:orientation="vertical">
<TextView
android:id="@+id/TimeStr"
android:layout_width="90dp"
android:layout_height="38dp"
android:layout_above="@id/title"
android:layout_marginTop="4dp"
android:layout_marginLeft="10dp"
android:textColor="@color/bg_white"
android:textSize="22sp"
android:text="乐MV" />
<View
android:id="@+id/status_bar_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
<TextView
android:id="@+id/TimeStr"
android:layout_width="90dp"
android:layout_height="38dp"
android:layout_above="@id/backImg"
android:layout_marginTop="4dp"
android:layout_marginLeft="10dp"
android:textColor="@color/bg_white"
android:textSize="22sp"
android:text="乐MV" />
<RelativeLayout
android:layout_width="match_parent"