① H5安卓手機端瀏覽器如何去除select邊框,border:none;border-style:none;border:0px;全部失效!
因為那調用了原生的選擇框;你可以試試CSS3裡面的 appearance 屬性
② 為什麼我的安卓手機進入任何程序都有一個紅色的邊框
手機自帶系統對軟體兼容性差,建議在官方網站上搜搜專供升級包,升級一下。
③ 華為手機屏幕出現綠框點哪跟哪,操作不了。怎麼辦。
可能是您誤開啟了TalkBack功能會導致上述現象,請您根據以下方法進行關閉:
android 8.0及以上版本支持通過快捷方式關閉TalkBack
同時按住音量上鍵+音量下鍵3秒左右,即可快速退出TalkBack模式。
長按電源鍵,直到出現以下界面,稍等5秒後,雙指長按屏幕3秒以上,即可快速退出TalkBack模式。
通過設置界面關閉TalkBack
TalkBack模式下,滑動屏幕需雙指同時滑動;單擊選中目標,選中後目標會出現綠框;在屏幕任意位置雙擊即可激活目標。
請根據您的手機系統版本選擇不同方式設置Talkback。
EMUI 10.X&Magic UI 3.X:點擊設置>輔助功能>無障礙>屏幕朗讀,關閉屏幕朗讀開關;
Magic UI 2.0&Magic UI 2.0.1&EMUI 8.X&EMUI 9.X:點擊設置>智能輔助>無障礙>TalkBack,關閉TalkBack開關;
EMUI 4.X&EMUI 5.X:點擊設置>高級設置>輔助功能>TalkBack, 關閉TalkBack開關;
EMUI 3.1:點擊設置>輔助功能>TalkBack,關閉TalkBack開關。
如問題無法解決已影響到您的正常使用,請您提前備份好數據,攜帶購機憑證到附近的華為客戶服務中心檢修。
④ 安卓手機輸入框經常不出來,或者輸一半消失,好久才重新出來,換過百度、訊飛、搜狗輸入法都一樣,
那有可能是手機的ROM 和輸入法不兼容。建議LZ 換個好一點的版本試試。
⑤ 為什麼在安卓手機上圓角不起作用
方法一 使用 drawable-mdpi
設置邊框圓角可以在drawable-mdpi目錄里定義一個xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#000000" />
<corners android:topLeftRadius="10dp"
android:topRightRadius="10dp"
android:bottomRightRadius="10dp"
android:bottomLeftRadius="10dp"/>
</shape>
解釋:solid的表示填充顏色,為了簡單,這里用的是黑色。
而corners則是表示圓角,注意的是這里bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角。
當然上面的效果也可以像下面一樣設置,如下:
<corners android:radius="5dp" />
如果想引用這個xml,只需要@drawable/corners_bg.xml即可:
android:background="@drawable/corners_bg"
最後main.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="#FFFFFF">
<RelativeLayout android:id="@+id/login_div"
android:layout_width="fill_parent" android:layout_height="150dip"
android:padding="15dip" android:layout_margin="15dip"
android:background="@drawable/corners_bg">
</RelativeLayout>
</LinearLayout>
方法二 Android使用 Shape 畫邊框線
1、布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:Android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFF"
android:orientation="vertical" >
<!-- 表格布局 -->
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dip" >
<!-- 表格布局:第一行 -->
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_top_corner_no_bottom_line"
android:padding="10dip" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="10dip"
android:text="姓名:" >
</TextView>
<EditText
android:id="@+id/bankingYourNameEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:background="@null"
android:singleLine="true" >
</EditText>
</TableRow>
<!-- 表格布局:第二行 -->
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_no_corner_without_bottom"
android:padding="10dip" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="10dip"
android:text="聯系電話:" >
</TextView>
<EditText
android:id="@+id/bankingContactTelEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:background="@null"
android:inputType="phone"
android:singleLine="true" >
</EditText>
</TableRow>
<!-- 表格布局:第三行 -->
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_bottom_corner_no_top_line"
android:padding="10dip" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="10dip"
android:text="聯系電話:" >
</TextView>
<EditText
android:id="@+id/bankingContactTelEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:background="@null"
android:inputType="phone"
android:singleLine="true" >
</EditText>
</TableRow>
</TableLayout>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Button" />
</LinearLayout>
2、表格布局中每個TableRow表示一行,TableRow中的每個基本控制項都是一列,這是一個三行兩列的布局
這里的表格背景是自定義的shape,下面分別看一下三個shape的代碼。
shape_top_corner_no_bottom_line.xml文件:頂部帶圓角 白色背景 灰色邊框 無下邊框 長方體
<?xml version="1.0" encoding="UTF-8"?>
<!-- 頂部帶圓角 白色背景 灰色邊框 無下邊框 長方體 -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<solid android:color="#FFFFFF" />
<corners android:topLeftRadius="10dp" android:topRightRadius="10dp"
android:bottomRightRadius="0.1dp" android:bottomLeftRadius="0.1dp" />
<stroke android:width="1dp" android:color="#ffa8abad" />
</shape>
</item>
<item android:top="1dp" android:left="1dp" android:right="1dp">
<shape>
<solid android:color="#FFFFFF" />
<corners android:topLeftRadius="10dp" android:topRightRadius="10dp"
android:bottomRightRadius="0.1dp" android:bottomLeftRadius="0.1dp" />
<stroke android:width="1dp" android:color="#ffffffff" />
</shape>
</item>
</layer-list>
3、shape_no_corner_without_bottom.xml文件:不帶圓角 白色背景 灰色邊框 無下邊框 長方體
<?xml version="1.0" encoding="UTF-8"?>
<!-- 不帶圓角 白色背景 灰色邊框 無下邊框 長方體 -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape>
<solid android:color="#FFFFFF" />
<stroke
android:width="1dp"
android:color="#ffa8abad" />
</shape>
</item>
<item
android:left="1dp"
android:right="1dp"
android:top="1dp">
<shape>
<solid android:color="#FFFFFF" />
<stroke
android:width="1dp"
android:color="#ffffffff" />
</shape>
</item>
</layer-list>
4、shape_bottom_corner_no_top_line.xml文件:底部圓角 白色背景 灰色邊框 長方體
<?xml version="1.0" encoding="UTF-8"?>
<!-- 底部圓角 白色背景 灰色邊框 長方體 -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<solid android:color="#FFFFFF" />
<corners android:topLeftRadius="0.1dp" android:topRightRadius="0.1dp"
android:bottomRightRadius="10dp" android:bottomLeftRadius="10dp" />
<stroke android:width="1dp" android:color="#ffa8abad" />
</shape>
</item>
<item android:top="1dp" android:bottom="1dp" android:left="1dp" android:right="1dp">
<shape>
<solid android:color="#FFFFFF" />
<corners android:topLeftRadius="0.1dp" android:topRightRadius="0.1dp"
android:bottomRightRadius="10dp" android:bottomLeftRadius="10dp" />
<stroke android:width="1dp" android:color="#ffffffff" />
</shape>
</item>
</layer-list>
5、說明:
shape_top_corner_no_bottom_line.xml
shape_no_corner_without_bottom.xml
shape_bottom_corner_no_top_line.xml
以上三個文件都存放在 drawable 中。
⑥ 安卓手機一直閃紅色的邊框 ,很多人說嚴格模式開啟 我的確開過嚴格模式,但是後面關了也重啟了還是有這種
安裝360引起的,在屏蔽其他軟體開機自動運行、自行聯網、廣告等就會出現紅框!這樣就可以避免很多軟體偷偷摸摸的在後台自動運行,大大減少流量損耗!也大大減少手機內存佔用,提高了手機的運行流暢程度!出現紅框時只是閃了幾下很快就沒了,我的手機就是這樣的情況,非常正常的現象,並不影響任何其他操作!不知道你的手機狀況是不是與我類似,希望我的回答能對你有幫助,謝謝!
⑦ 安卓手機怎麼去掉圖標的邊框
最簡單的方法,找一個無邊框的主題
⑧ 安卓系統的MP4玩游戲上面的邊框去不掉
朋友,您好!您說的邊框是由於游戲的解析度和MP4解析度不合導致的,是無法進行修改的。只有下載游戲是選擇和自己MP4相同解析度才能去掉邊框!希望能帶給您幫助!
⑨ 安卓手機為什麼不能做到三個邊框一樣寬
三邊沒有,可以四邊都很寬,雖然邊框大,但是用戶並不會感知這部手機是有下巴的。