fix bugs
This commit is contained in:
5 files changed
+5
-4
No files matched your search
@@ -18,7 +18,7 @@
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:launchMode="singleInstance">
|
||||
android:launchMode="singleTask">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
||||
@@ -76,7 +76,7 @@ class MainActivity : BaseActivity() {
|
||||
activity_main_clash_logs.visibility = View.VISIBLE
|
||||
}
|
||||
else -> {
|
||||
activity_main_clash_status.setCardBackgroundColor(Color.GRAY)
|
||||
activity_main_clash_status.setCardBackgroundColor(getColor(R.color.gray))
|
||||
activity_main_clash_status_icon.setImageResource(R.drawable.ic_clash_stopped)
|
||||
activity_main_clash_status_title.text = getString(R.string.clash_status_stopped)
|
||||
activity_main_clash_status_summary.text =
|
||||
|
||||
@@ -14,6 +14,6 @@ class ProxyActivity : BaseActivity() {
|
||||
|
||||
content.layoutManager = LinearLayoutManager(this)
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
android:focusable="true"
|
||||
app:cardElevation="4dp"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardBackgroundColor="@android:color/darker_gray">
|
||||
app:cardBackgroundColor="@color/gray">
|
||||
|
||||
<RelativeLayout
|
||||
android:paddingStart="18dp"
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
|
||||
<color name="lightGray">#d3d3d3</color>
|
||||
<color name="gray">#FF888888</color>
|
||||
</resources>
|
||||
Reference in new issue
Block a user