Skip to content

Commit 58dace1

Browse files
author
Prateek Prasad
committed
Copy design module from publish to samples app
1 parent 74abdf3 commit 58dace1

26 files changed

+355
-10
lines changed

.gitignore

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,23 @@
99
/build
1010
/captures
1111
.externalNativeBuild
12-
.idea
12+
.idea
13+
*.apk
14+
*.ap_
15+
*.dex
16+
*.class
17+
bin/
18+
gen/
19+
out/
20+
build/
21+
workspace.xml
22+
local.properties
23+
ks.properties
24+
.classpath
25+
.project
26+
lint.xml
27+
protected_strings.xml
28+
/dist
29+
/dexguard
30+
googlePlay/
31+
captures/

design/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

design/build.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
apply plugin: 'com.android.library'
3+
apply plugin: 'kotlin-android'
4+
apply plugin: 'kotlin-android-extensions'
5+
6+
android {
7+
compileSdkVersion 29
8+
defaultConfig {
9+
minSdkVersion 21
10+
targetSdkVersion 29
11+
}
12+
}
13+
dependencies {
14+
api project(':app')
15+
implementation 'com.google.android.material:material:1.1.0'
16+
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72"
17+
}

design/consumer-rules.pro

Whitespace-only changes.

design/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

design/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="org.buffer.android.components.design" />
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="250"
4+
android:interpolator="@android:anim/accelerate_decelerate_interpolator">
5+
6+
<translate
7+
android:fromYDelta="20%p"
8+
android:toYDelta="0"/>
9+
10+
<alpha
11+
android:fromAlpha="0.0"
12+
android:toAlpha="1.0"/>
13+
14+
</set>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="200"
4+
android:interpolator="@android:anim/accelerate_interpolator">
5+
6+
<translate
7+
android:fromYDelta="0"
8+
android:toYDelta="20%p"/>
9+
10+
<alpha
11+
android:fromAlpha="1.0"
12+
android:toAlpha="0.0"/>
13+
14+
</set>
Loading
Loading

0 commit comments

Comments
 (0)