添加应用设置活动窗口
This commit is contained in:
15
winboll/src/main/res/layout/activity_settings.xml
Normal file
15
winboll/src/main/res/layout/activity_settings.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/toolbar"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -4,4 +4,7 @@
|
||||
<item
|
||||
android:id="@+id/item_home"
|
||||
android:title="HOME"/>
|
||||
<item
|
||||
android:id="@+id/item_settings"
|
||||
android:title="Settings"/>
|
||||
</menu>
|
||||
|
||||
10
winboll/src/main/res/values/dimens.xml
Normal file
10
winboll/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!--
|
||||
<dimen name="toolbar_height">60dp</dimen>
|
||||
<dimen name="slide_width">76dp</dimen>
|
||||
<dimen name="text_content_size">18dp</dimen>
|
||||
<dimen name="text_title_size">24dp</dimen>
|
||||
<dimen name="text_subtitle_size">16dp</dimen>
|
||||
-->
|
||||
</resources>
|
||||
@@ -1,10 +1,5 @@
|
||||
<resources>
|
||||
<!-- Base application theme. -->
|
||||
<style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<style name="MyAppTheme" parent="AESTheme">
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user