init
This commit is contained in:
10
app/src/main/res/values/attrs.xml
Normal file
10
app/src/main/res/values/attrs.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="MyGridLayout">
|
||||
<attr name="numColumns" format="integer" />
|
||||
<attr name="numRows" format="integer" />
|
||||
<attr name="itemMargin" format="integer" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
14
app/src/main/res/values/colors.xml
Normal file
14
app/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#37353a</color>
|
||||
<color name="colorPrimaryDark">#272727</color>
|
||||
<color name="colorAccent">#454347</color>
|
||||
<color name="White">#ffffff</color>
|
||||
|
||||
<color name="transparent_white">#FFFFFF</color>
|
||||
<color name="black">#000000</color>
|
||||
<color name="white">#ffffff</color>
|
||||
|
||||
<color name="tv_add_color">#4880ff</color>
|
||||
|
||||
</resources>
|
||||
9
app/src/main/res/values/dimens.xml
Normal file
9
app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<resources>
|
||||
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="actions_item_font">14sp</dimen>
|
||||
<dimen name="actions_item_drawablePaddding">10dip</dimen>
|
||||
|
||||
</resources>
|
||||
6
app/src/main/res/values/strings.xml
Normal file
6
app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<resources>
|
||||
<string name="app_name">桌面OS</string>
|
||||
|
||||
<!-- TODO: Remove or change this placeholder text -->
|
||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||
</resources>
|
||||
13
app/src/main/res/values/styles.xml
Normal file
13
app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" 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>
|
||||
<item name="android:windowBackground">@color/colorPrimary</item>
|
||||
<item name="android:fitsSystemWindows">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user