Commit 94fe3c8a authored by mengcuiguang's avatar mengcuiguang

界面优化

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