-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,114 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
app/src/main/res/values/strings.xml → app/src/main/res/values/string.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">Mcas</string> | ||
</resources> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
|
||
</style> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.haife.mcas.http; | ||
|
||
/** | ||
* Copyright © LingLingYi Technology Company | ||
* | ||
* @author Haife | ||
* @job Android Development | ||
* 路由地址 | ||
*/ | ||
public class ArouteUrl { | ||
|
||
/** | ||
* 智能款款 | ||
*/ | ||
public static final String LOGIN_URL = "/repayment/level1"; | ||
|
||
|
||
|
||
|
||
|
||
} |
28 changes: 28 additions & 0 deletions
28
mcas/src/main/java/com/haife/mcas/http/imageloader/BannerImageLoader.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.haife.mcas.http.imageloader | ||
|
||
import android.content.Context | ||
import android.widget.ImageView | ||
import com.bumptech.glide.load.engine.DiskCacheStrategy | ||
import com.haife.mcas.http.imageloader.glide.GlideArms | ||
import com.youth.banner.loader.ImageLoader | ||
|
||
/** | ||
* Copyright © LingLingYi Technology Company | ||
* | ||
* @author Haife | ||
* @job Android Development | ||
* Banner ImageLoader | ||
*/ | ||
class BannerImageLoader : ImageLoader() { | ||
override fun displayImage(context: Context?, path: Any?, imageView: ImageView?) { | ||
if (imageView != null) { | ||
GlideArms.with(context!!.applicationContext) | ||
.load(path) | ||
.centerCrop() | ||
.diskCacheStrategy(DiskCacheStrategy.ALL) | ||
.into(imageView) | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
mcas/src/main/res/anim/anim_slide_activity_close_enter.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:interpolator="@anim/decelerate_factor_interpolator"> | ||
|
||
<translate | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromXDelta="-100%p" | ||
android:toXDelta="0%p" /> | ||
|
||
<alpha | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromAlpha="0.85" | ||
android:toAlpha="1" /> | ||
|
||
</set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:interpolator="@anim/decelerate_factor_interpolator"> | ||
|
||
<translate | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromXDelta="0%p" | ||
android:toXDelta="100%p"/> | ||
|
||
</set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!--Activity 进场动画--> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:interpolator="@anim/decelerate_factor_interpolator"> | ||
|
||
<translate | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromXDelta="100%p" | ||
android:toXDelta="0%p"/> | ||
|
||
</set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:interpolator="@anim/decelerate_low_factor_interpolator"> | ||
|
||
<translate | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromXDelta="0%p" | ||
android:toXDelta="-100%p" /> | ||
|
||
<alpha | ||
android:duration="@integer/qmui_anim_duration" | ||
android:fromAlpha="1" | ||
android:toAlpha="0.85" /> | ||
|
||
</set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@color/app_color_theme_disabled" android:state_enabled="false" /> | ||
<item android:color="@color/app_color_theme_pressed" android:state_pressed="true" /> | ||
<item android:color="@color/app_color_theme" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Tencent is pleased to support the open source community by making QMUI_Android available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied. See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@color/app_color_theme_disabled" android:state_enabled="false" /> | ||
<item android:color="@color/app_color_theme_pressed" android:state_pressed="true" /> | ||
<item android:color="@color/app_color_theme" /> | ||
</selector> |
Oops, something went wrong.