systemUI wifi图标更动
systemUI wifi图标更改
我想问一下,现在我的机子wifi的图标是在右边显示的,我想在左边显示,现在我在status_bar.xml里添加了
网络的代码,但发现没有图标显示,代码如下
------解决方案--------------------
将通知栏的关于Wifi的移到status_bar.xml文件里就可以了
我想问一下,现在我的机子wifi的图标是在右边显示的,我想在左边显示,现在我在status_bar.xml里添加了
网络的代码,但发现没有图标显示,代码如下
<RelativeLayout
android:id="@+id/bar_contents"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
>
<!-- notification icons & panel access -->
<include layout="@layout/status_bar_notification_area"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_marginTop="1dp"
/>
<!--状态栏网络信号控件-->
<include layout="@layout/signal_cluster_view"
android:id="@+id/signal_cluster"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
/>
------解决方案--------------------
将通知栏的关于Wifi的移到status_bar.xml文件里就可以了