Skip to content

Commit d994e72

Browse files
authored
Restore
1 parent b15c4ad commit d994e72

File tree

98 files changed

+3607
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3607
-0
lines changed

app/src/main/res/anim/fade_in.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:interpolator="@android:anim/linear_interpolator">
4+
<alpha
5+
android:duration="250"
6+
android:fromAlpha="0.1"
7+
android:toAlpha="1.0" />
8+
</set>

app/src/main/res/anim/fade_out.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:interpolator="@android:anim/linear_interpolator">
4+
<alpha
5+
android:duration="250"
6+
android:fromAlpha="1.0"
7+
android:toAlpha="0.1" />
8+
</set>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:drawable="@drawable/background_card_pressed_black" android:state_pressed="true" />
4+
<item android:drawable="@drawable/background_card_normal_black" android:state_focused="false" />
5+
</selector>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:drawable="@drawable/background_card_pressed_dark" android:state_pressed="true" />
4+
<item android:drawable="@drawable/background_card_normal_dark" android:state_focused="false" />
5+
</selector>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:drawable="@drawable/background_card_pressed_light" android:state_pressed="true" />
4+
<item android:drawable="@drawable/background_card_normal_light" android:state_focused="false" />
5+
</selector>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- modified from from https://gist.github.com/iheanyi/5774841 -->
4+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5+
<item>
6+
<shape
7+
android:dither="true"
8+
android:shape="rectangle">
9+
10+
<corners android:radius="2dp" />
11+
12+
<solid android:color="@color/card_shadow_black" />
13+
14+
</shape>
15+
</item>
16+
17+
<item android:bottom="2dp">
18+
<shape
19+
android:dither="true"
20+
android:shape="rectangle">
21+
22+
<corners android:radius="2dp" />
23+
24+
<solid android:color="@color/card_background_black" />
25+
26+
<padding
27+
android:bottom="8dp"
28+
android:left="8dp"
29+
android:right="8dp"
30+
android:top="8dp" />
31+
</shape>
32+
</item>
33+
</layer-list>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- modified from from https://gist.github.com/iheanyi/5774841 -->
4+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5+
<item>
6+
<shape
7+
android:dither="true"
8+
android:shape="rectangle">
9+
10+
<corners android:radius="2dp" />
11+
12+
<solid android:color="@color/card_shadow_dark" />
13+
14+
</shape>
15+
</item>
16+
17+
<item android:bottom="2dp">
18+
<shape
19+
android:dither="true"
20+
android:shape="rectangle">
21+
22+
<corners android:radius="2dp" />
23+
24+
<solid android:color="@color/card_background_dark" />
25+
26+
<padding
27+
android:bottom="8dp"
28+
android:left="8dp"
29+
android:right="8dp"
30+
android:top="8dp" />
31+
</shape>
32+
</item>
33+
</layer-list>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- modified from from https://gist.github.com/iheanyi/5774841 -->
4+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5+
<item>
6+
<shape
7+
android:dither="true"
8+
android:shape="rectangle">
9+
10+
<corners android:radius="2dp" />
11+
12+
<solid android:color="@color/card_shadow_light" />
13+
14+
</shape>
15+
</item>
16+
17+
<item android:bottom="2dp">
18+
<shape
19+
android:dither="true"
20+
android:shape="rectangle">
21+
22+
<corners android:radius="2dp" />
23+
24+
<solid android:color="@color/card_background_light" />
25+
26+
<padding
27+
android:bottom="8dp"
28+
android:left="8dp"
29+
android:right="8dp"
30+
android:top="8dp" />
31+
</shape>
32+
</item>
33+
</layer-list>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- modified from from https://gist.github.com/iheanyi/5774841 -->
4+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5+
<item>
6+
<shape
7+
android:dither="true"
8+
android:shape="rectangle">
9+
10+
<corners android:radius="2dp" />
11+
12+
<solid android:color="@color/card_shadow_black" />
13+
14+
</shape>
15+
</item>
16+
17+
<item android:bottom="2dp">
18+
<shape
19+
android:dither="true"
20+
android:shape="rectangle">
21+
22+
<corners android:radius="2dp" />
23+
24+
<solid android:color="@color/card_background_pressed_black" />
25+
26+
<padding
27+
android:bottom="8dp"
28+
android:left="8dp"
29+
android:right="8dp"
30+
android:top="8dp" />
31+
</shape>
32+
</item>
33+
</layer-list>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- modified from from https://gist.github.com/iheanyi/5774841 -->
4+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5+
<item>
6+
<shape
7+
android:dither="true"
8+
android:shape="rectangle">
9+
10+
<corners android:radius="2dp" />
11+
12+
<solid android:color="@color/card_shadow_dark" />
13+
14+
</shape>
15+
</item>
16+
17+
<item android:bottom="2dp">
18+
<shape
19+
android:dither="true"
20+
android:shape="rectangle">
21+
22+
<corners android:radius="2dp" />
23+
24+
<solid android:color="@color/card_background_pressed_dark" />
25+
26+
<padding
27+
android:bottom="8dp"
28+
android:left="8dp"
29+
android:right="8dp"
30+
android:top="8dp" />
31+
</shape>
32+
</item>
33+
</layer-list>

0 commit comments

Comments
 (0)