New UI polishment

* Refine exceptions handling when parsing per-app config string

* Remove redundant profiles Preference

* Move Network Traffic to title bar

* Add ripple to title text

* Animate using animateLayoutChanges

* Hide connection test in NAT mode
This commit is contained in:
Mygod
2016-04-03 09:33:14 -07:00
committed by Max Lv
parent 29c5011ce4
commit 8453267996
11 changed files with 152 additions and 271 deletions
@@ -172,7 +172,8 @@ class AppManager extends AppCompatActivity with OnCheckedChangeListener with OnC
reloadApps()
return true
} catch {
case _: java.lang.IllegalArgumentException => // ignore
case _: IllegalArgumentException =>
Toast.makeText(this, R.string.action_import_err, Toast.LENGTH_SHORT).show
}
}
}