增加退出app功能
parent
64600bfa50
commit
7ee193ae66
@ -0,0 +1,18 @@
|
|||||||
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
tools:context="com.xypower.mpapp.ChannelActivity">
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_auto_launch"
|
||||||
|
android:title="@string/btn_auto_launch"
|
||||||
|
android:checkable="true"
|
||||||
|
android:checked="false"
|
||||||
|
app:showAsAction="never" />
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_exit"
|
||||||
|
android:orderInCategory="100"
|
||||||
|
android:title="@string/btn_exit"
|
||||||
|
app:showAsAction="never" />
|
||||||
|
</menu>
|
@ -1,3 +1,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Frp</string>
|
<string name="app_name">Frp</string>
|
||||||
|
<string name="btn_exit">退出</string>
|
||||||
|
<string name="btn_auto_launch">开机自启动</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue