@@ -22,55 +22,104 @@
<LinearLayout
android:orientation= "vertical"
android:layout_width= "match_parent"
android:layout_height= "wrap_content" >
<CheckBox
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "用电提醒启用时的TTS贴心服务"
android:onClick= "onEnableUsePowerTts"
android:id= "@+id/activitysettingsCheckBox1" />
<CheckBox
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "充电提醒启用时的TTS贴心服务"
android:onClick= "onEnableChargeTts"
android:id= "@+id/activitysettingsCheckBox2" />
</LinearLayout>
<LinearLayout
android:orientation= "horizontal"
android:layout_width= "match_parent"
android:layout_height= "wrap_content"
android:gravity= "right" >
android:background= "@drawable/bg_frame"
android:padding= "10dp" >
<Button
<TextView
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "检查 TTS语音悬浮窗权限"
android:padding= "10dp"
android:onClick= "onCheckTTSDrawOverlaysPermission" />
android:text= "TTS语音服务设置:" />
<TextView
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "<仅限在切换充电状态时, 发送的TTS语音提醒。用于提醒用户当前的服务设置状态。>"
android:textSize= "12sp" />
<LinearLayout
android:orientation= "vertical"
android:layout_width= "match_parent"
android:layout_height= "wrap_content" >
<CheckBox
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "用电提醒启用时的TTS贴心服务"
android:onClick= "onEnableUsePowerTts"
android:id= "@+id/activitysettingsCheckBox1" />
<CheckBox
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "充电提醒启用时的TTS贴心服务"
android:onClick= "onEnableChargeTts"
android:id= "@+id/activitysettingsCheckBox2" />
</LinearLayout>
<LinearLayout
android:orientation= "horizontal"
android:layout_width= "match_parent"
android:layout_height= "wrap_content"
android:gravity= "right" >
<Button
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "检查TTS语音悬浮窗权限"
android:padding= "10dp"
android:onClick= "onCheckTTSDrawOverlaysPermission" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<cc.winboll.studio.libaes.views.ADsControlView
android:id= "@+id/ads_control_view "
<LinearLayout
android:orientation= "vertical "
android:layout_width= "match_parent"
android:layout_height= "wrap_content" />
android:layout_height= "wrap_content"
android:background= "@drawable/bg_frame"
android:padding= "10dp" >
<TextView
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "米盟广告SDK设置: " />
<cc.winboll.studio.libaes.views.ADsControlView
android:id= "@+id/ads_control_view"
android:layout_width= "match_parent"
android:layout_height= "wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_width= "match_parent"
android:layout_height= "0dp"
android:orientation= "vertical"
android:background= "@drawable/bg_frame"
android:padding= "10dp"
android:layout_weight= "1.0" >
<LinearLayout
android:orientation= "horizontal"
android:layout_width= "match_parent"
android:layout_height= "wrap_content" >
<TextView
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:text= "电量图表绘制风格设置:" />
</LinearLayout>
<cc.winboll.studio.powerbell.views.BatteryStyleView
android:id= "@+id/battery_style_view"
android:layout_width= "match_parent"
android:layout_height= "match_parent "
android:layout_height= "1200dp "
app:batteryPreviewColor= "@color/colorPrimary"
app:previewBatteryValue= "100"
app:defaultSelectedStyle= "zebra_style" />