日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Android >内容正文

Android

android关机背景,鍵盤消失后的Android白色背景

發布時間:2025/3/12 Android 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android关机背景,鍵盤消失后的Android白色背景 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Video of the problem from a different user but its the same

來自不同用戶的問題的視頻但是相同

http://imgur.com/ca2cNZv

I have a background image set as follows :

我有一個背景圖像設置如下:

.pane {

background-image: url("../img/inner-banner-bg.jpg");

background-repeat: repeat;

-webkit-background-size: cover;

-moz-background-size: cover;

background-size: cover;

}

And in my config.xml

在我的config.xml中

Now the problem I am having is when the keyboard fades away after I hit done / search, it leaves a white background for like 0.5 during the transition for the space the keyboard covered and it looks a bit bad.

現在我遇到的問題是當我點擊完成/搜索后鍵盤消失時,它會在鍵盤覆蓋的空間過渡期間留下類似0.5的白色背景,看起來有點糟糕。

When the keyboard closes it unshrinks but leaves white gap. How can I get the keyboard to not shrink the view behind the backdrop ?

當鍵盤關閉時,它會不收縮但會留下白色間隙。如何讓鍵盤不縮小背景幕后的視圖?

When I set

我訂的時候

It doesn't happen. I am also using the Ionic Plugin Keyboard.

它不會發生。我也在使用Ionic插件鍵盤。

Anyway I can make the transition of the keyboard fading not display the white background ?

無論如何,我可以使鍵盤褪色的過渡不顯示白色背景?

Edit : Here's my android settings

編輯:這是我的android設置

And my config Settings

和我的配置設置

And in the Package.json

並在Package.json中

"dependencies": {

"gulp": "^3.5.6",

"gulp-sass": "^2.0.4",

"gulp-concat": "^2.2.0",

"gulp-minify-css": "^0.3.0",

"gulp-rename": "^1.2.0"

},

"devDependencies": {

"bower": "^1.3.3",

"gulp-util": "^2.2.14",

"shelljs": "^0.3.0"

},

"cordovaPlugins": [

"cordova-plugin-device",

"cordova-plugin-console",

"cordova-plugin-whitelist",

"cordova-plugin-splashscreen",

"cordova-plugin-statusbar",

"cordova-plugin-geolocation",

"cordova-plugin-network-information",

"ionic-plugin-keyboard"

],

"cordovaPlatforms": [

"android",

"ios"

]

In my web view I use ion-view and ion-content

在我的網頁視圖中,我使用離子視圖和離子內容

6 個解決方案

#1

8

In AndroidManifest.xml file try to set windowSoftInputMode attribute to adjustNothing:

在AndroidManifest.xml文件中嘗試將windowSoftInputMode屬性設置為adjustNothing:

android:windowSoftInputMode="adjustNothing"

It worked for my Ionic project, avoiding the resize of Cordova webview when soft keyboard is on.

它適用於我的Ionic項目,避免在打開軟鍵盤時調整Cordova webview的大小。

#2

1

That is your windowBackground peeking through. You are probably drawing over the white background of your Theme with that teal background. Modify your theme to include a better background color and remove the background from your layout if possible to improve drawing performance.

那是你的窗戶背景偷看。您可能正在使用該青色背景繪制主題的白色背景。修改主題以包含更好的背景顏色,並盡可能從布局中刪除背景以提高繪圖性能。

...

#ff000000

...

#3

1

Put:

放:

@drawable/gradient

In styles.xml source

在styles.xml源碼中

#4

0

Hey there is a simple workaround for this

嘿,有一個簡單的解決方法

you need to add overflow-scroll="false" to your ion-content this should fix it

你需要在你的離子內容中添加overflow-scroll =“false”,這應該修復它

related topic Ionicforum

相關主題Ionicforum

#5

0

Its happen because window re size itself to make room for the soft input area

它的發生是因為窗口大小本身為軟輸入區域騰出空間

use android:windowSoftInputMode="adjustNothing" in AndroidManifest.xml

在AndroidManifest.xml中使用android:windowSoftInputMode =“adjustNothing”

..

...

#6

-1

Add the following code in your 'App.js'. add

在“App.js”中添加以下代碼。加

$window.addEventListener('native.keyboardhide', function (event) {

$rootScope.$broadcast('native.keyboardhide', event);

});

when app.run() method call with $window and $rootScope dependency. also, add

當app.run()方法調用$ window和$ rootScope依賴時。還有,補充一下

if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {

cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

cordova.plugins.Keyboard.disableScroll(true);

}

in $ionicPlatform.ready().

在$ ionicPlatform.ready()中。

please ensure that your code is updated by inspecting your app. If it's not updated then try to remove and add platform and rebuild your app.

請確保通過檢查您的應用來更新您的代碼。如果沒有更新,請嘗試刪除並添加平臺並重建您的應用。

總結

以上是生活随笔為你收集整理的android关机背景,鍵盤消失后的Android白色背景的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 亚洲乱码一区二区三区在线观看 | 超碰在线伊人 | 国产艳妇疯狂做爰视频 | 91麻豆国产福利精品 | 日韩丰满少妇无码内射 | 亚洲欧美国产日韩精品 | 黄色网炮| 9色视频| 日韩精品视频在线看 | 久久久999精品 | 无码人妻精品一区二区三区不卡 | 亚洲又粗又长 | 亚洲av无码电影在线播放 | 免费在线看黄色 | 在线视频你懂得 | 精品美女久久久 | 成年人网站黄 | 日韩有码电影 | 婷婷中文字幕在线 | 在线黄av| 毛片久久久久 | 亚洲国产私拍精品国模在线观看 | 亚洲国产精彩中文乱码av | 久久久1| 欧美一级网址 | 欧美激情 一区 | 成色网 | 在线观看视频亚洲 | 天天干,天天爽 | 久久久一区二区三区 | 久久免费看少妇高潮 | 欧美 国产 综合 | 国产精品美女自拍视频 | 久久久久久久一区 | 国产成人精品无码播放 | 三级视频小说 | 亚洲一区,二区 | 资源av| 久久精品7 | 亚洲特级片| 91在线高清视频 | 麻豆av免费 | 亚洲欧美日韩中文字幕在线观看 | 色xxxxx| 少妇与公做了夜伦理 | 亚洲欧美日本一区二区 | 一区二区一级片 | 在线看污视频 | av一级网站| 亚洲黄色一区二区 | 国产成人精品免费网站 | 女生脱裤子让男生捅 | 1769国产 | 在线看免费毛片 | 欧美真人性野外做爰 | 嫩草视频入口 | 91xxx在线观看 | 白石茉莉奈黑人 | 午夜天堂精品 | 日韩电影一区二区在线观看 | 久久久久亚洲av片无码下载蜜桃 | 亚洲精品久久久久久久久 | 欧洲a级片| 亚洲第九十七页 | 男男车车的车车网站w98免费 | 潮喷失禁大喷水无码 | 国产成人在线免费视频 | 成人啪啪| 国产精品一区二区免费 | 黄色网页观看 | 美国性生活大片 | 夜夜撸网站 | 老子午夜影院 | 国产情侣自拍小视频 | 久久香焦| 69pao| 天天干,天天操,天天射 | 少妇特殊按摩高潮惨叫无码 | 久久综合av| 夜夜撸| 国产精品无码粉嫩小泬 | 国产欧美日韩二区 | 亚洲码中文 | 另类男人与善交video | 综合亚洲欧美 | 成人做爰66片免费看网站 | 91精品国产综合久久精品图片 | 一级片在线播放 | 日本在线天堂 | 久久精品99 | 日韩精品一二三四区 | 亚洲一二三精品 | 一区二区韩国 | 99热这里只有精品久久 | 国内精品人妻无码久久久影院蜜桃 | 永久福利视频 | 丝袜老师办公室里做好紧好爽 | 禁断介护av一区二区 | 欧美精品一区二区三区蜜臀 |