Commit 94fe3c8a authored by mengcuiguang's avatar mengcuiguang

界面优化

parent 8cf12630
......@@ -87,17 +87,18 @@ class SettingActivity : BaseActivity()
}
override fun checkVersion(version: CheckVersion) {
this.version = version
version.let {
if (version.isForceUpgrade) {
// 可升级
tvSettingVersion.text = "点击升级至最新版"
} else {
// 最新版本
tvSettingVersion.text = "当前为最新版本"
if (!isFinishing()) {
this.version = version
version.let {
if (version.isForceUpgrade) {
// 可升级
tvSettingVersion.text = "点击升级至最新版"
} else {
// 最新版本
tvSettingVersion.text = "当前为最新版本"
}
}
}
}
override fun onClick(v: View?) {
......
......@@ -249,6 +249,7 @@
android:background="#E1E1E1" />
<RelativeLayout
android:visibility="gone"
android:id="@+id/rlMyCourse"
android:layout_width="match_parent"
android:layout_height="96pt"
......@@ -276,6 +277,7 @@
</RelativeLayout>
<View
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_marginLeft="100pt"
......
......@@ -65,7 +65,7 @@
android:paddingRight="4dp"
android:paddingBottom="2dp"
android:text="买一送一"
android:textColor="@color/white"
android:textColor="@color/red"
android:textSize="10sp" />
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
position/app/src/main/res/mipmap-xxhdpi/bg_course8.png

34.3 KB | W: | H:

position/app/src/main/res/mipmap-xxhdpi/bg_course8.png

151 KB | W: | H:

position/app/src/main/res/mipmap-xxhdpi/bg_course8.png
position/app/src/main/res/mipmap-xxhdpi/bg_course8.png
position/app/src/main/res/mipmap-xxhdpi/bg_course8.png
position/app/src/main/res/mipmap-xxhdpi/bg_course8.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment