File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed
Android/GetSunSet/StartUp/app/src/main/res Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <selector xmlns : android =" http://schemas.android.com/apk/res/android" >
3
+ <item >
4
+ <shape
5
+
6
+ android : shape =" rectangle"
7
+ >
8
+ <solid android : color =" #ffffff" />
9
+ <corners android : radius =" 5pt" />
10
+ <padding android : top =" 5pt"
11
+ android : right =" 5pt"
12
+ android : left =" 5pt"
13
+ android : bottom =" 5pt" />
14
+
15
+ </shape >
16
+ </item >
17
+ </selector >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <selector xmlns : android =" http://schemas.android.com/apk/res/android" >
3
+
4
+ <item android : state_pressed =" true" >
5
+ <shape >
6
+ <solid android : color =" #70c656" />
7
+ <stroke android : color =" #53933f"
8
+ android : width =" 2dp"
9
+ />
10
+ <corners android : radius =" 55dp" />
11
+ <padding android : bottom =" 8pt"
12
+ android : left =" 8dp"
13
+ android : right =" 8dp"
14
+ android : top =" 8dp" />
15
+ </shape >
16
+
17
+ </item >
18
+
19
+ <item >
20
+ <shape >
21
+ <gradient android : startColor =" #70c656"
22
+ android : endColor =" #53933f" />
23
+ <stroke android : color =" #53933f"
24
+ android : width =" 2dp"
25
+ />
26
+ <corners android : radius =" 8dp" />
27
+ <padding android : bottom =" 8pt"
28
+ android : left =" 8dp"
29
+ android : right =" 8dp"
30
+ android : top =" 8dp" />
31
+ </shape >
32
+
33
+ </item >
34
+ </selector >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<android .support.constraint.ConstraintLayout
3
+
4
+ android : background =" @color/gray"
3
5
xmlns : android =" http://schemas.android.com/apk/res/android"
4
6
xmlns : app =" http://schemas.android.com/apk/res-auto"
5
7
xmlns : tools =" http://schemas.android.com/tools" android : layout_width =" match_parent"
6
8
android : layout_height =" match_parent" tools : context =" com.hussein.startup.MainActivity" >
7
9
8
10
<EditText
11
+ android : background =" @drawable/background"
9
12
android : id =" @+id/etCityName"
10
13
android : layout_width =" wrap_content"
11
14
android : layout_height =" wrap_content"
19
22
app : layout_constraintTop_toTopOf =" parent" />
20
23
21
24
<Button
25
+ android : background =" @drawable/button_blue"
22
26
android : id =" @+id/buSunset"
23
27
android : layout_width =" wrap_content"
24
28
android : layout_height =" wrap_content"
Original file line number Diff line number Diff line change 3
3
<color name =" colorPrimary" >#3F51B5</color >
4
4
<color name =" colorPrimaryDark" >#303F9F</color >
5
5
<color name =" colorAccent" >#FF4081</color >
6
+ <color name =" gray" >#d4d3d3</color >
6
7
</resources >
You can’t perform that action at this time.
0 commit comments