update actionbarsherlock
This commit is contained in:
@@ -368,7 +368,13 @@ class Shadowsocks
|
||||
|
||||
def initAdView() {
|
||||
if (settings.getString(Key.proxy, "") == "198.199.101.152") {
|
||||
val adView = new AdView(this, AdSize.SMART_BANNER, "a151becb8068b09")
|
||||
val adView = {
|
||||
if (isSinglePane) {
|
||||
new AdView(this, AdSize.SMART_BANNER, "a151becb8068b09")
|
||||
} else {
|
||||
new AdView(this, AdSize.BANNER, "a151becb8068b09")
|
||||
}
|
||||
}
|
||||
val layoutView = getLayoutView(getListView.asInstanceOf[ViewParent])
|
||||
if (layoutView != null) {
|
||||
layoutView.addView(adView, 0)
|
||||
|
||||
Reference in New Issue
Block a user