Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ddingf
/
dingdongfresh
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
마수현
2018-11-08 17:17:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7bce6fe2d4fec7aa5b56936118c2ebee23ae8a87
7bce6fe2
1 parent
a06abb57
스타일 지정
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
5 deletions
app/src/main/res/layout/activity_main.xml
app/src/main/res/values-v21/styles.xml
app/src/main/res/values/colors.xml
app/src/main/res/values/strings.xml
app/src/main/res/values/styles.xml
app/src/main/res/layout/activity_main.xml
View file @
7bce6fe
...
...
@@ -4,6 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/colorPrimary"
tools:context=
".MainActivity"
tools:layout_editor_absoluteY=
"81dp"
>
...
...
@@ -18,6 +19,7 @@
android:layout_marginStart=
"24dp"
android:layout_marginTop=
"24dp"
android:orientation=
"vertical"
android:background=
"#ffffff"
app:layout_constraintBottom_toTopOf=
"@+id/textView"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0"
...
...
app/src/main/res/values-v21/styles.xml
0 → 100644
View file @
7bce6fe
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"ButtonStyle"
parent=
"Widget.AppCompat.Button.Colored"
>
<item
name=
"android:colorButtonNormal"
>
@color/colorAccent
</item>
<item
name=
"android:textColor"
>
@android:color/white
</item>
</style>
</resources>
\ No newline at end of file
app/src/main/res/values/colors.xml
View file @
7bce6fe
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"colorPrimary"
>
#
3F51B5
</color>
<color
name=
"colorPrimaryDark"
>
#
303F9F
</color>
<color
name=
"colorAccent"
>
#
FF4081
</color>
<color
name=
"colorPrimary"
>
#
b2ebf2
</color>
<color
name=
"colorPrimaryDark"
>
#
81b9bf
</color>
<color
name=
"colorAccent"
>
#
80cbc4
</color>
</resources>
...
...
app/src/main/res/values/strings.xml
View file @
7bce6fe
<resources>
<string
name=
"app_name"
>
Refrigerator
</string>
<string
name=
"app_name"
>
띵동 프레쉬
</string>
</resources>
...
...
app/src/main/res/values/styles.xml
View file @
7bce6fe
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.Light
.DarkActionBar
"
>
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.Light"
>
<!-- 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:buttonStyle"
>
@style/ButtonStyle
</item>
</style>
<style
name=
"ButtonStyle"
parent=
"Widget.AppCompat.Button.Colored"
>
<item
name=
"colorButtonNormal"
>
@color/colorAccent
</item>
<item
name=
"android:textColor"
>
@android:color/white
</item>
</style>
</resources>
...
...
Please
register
or
login
to post a comment