Skip to content

Commit b829d6e

Browse files
author
root
committed
Background design updated for otp editText
1 parent 31ea749 commit b829d6e

File tree

14 files changed

+214
-48
lines changed

14 files changed

+214
-48
lines changed

.idea/codeStyles/Project.xml

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/androidTest/java/in/dhinakaransks/simpleotp/ExampleInstrumentedTest.java renamed to app/src/androidTest/java/in/dhinakaran/simpleotp/ExampleInstrumentedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package in.dhinakaransks.simpleotp;
1+
package in.dhinakaran.simpleotp;
22

33
import android.content.Context;
44

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="in.dhinakaransks.simpleotp">
3+
package="in.dhinakaran.simpleotp">
44

55
<application
66
android:allowBackup="true"
@@ -9,7 +9,7 @@
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
1111
android:theme="@style/AppTheme">
12-
<activity android:name=".MainActivity">
12+
<activity android:name="in.dhinakaran.simpleotp.MainActivity">
1313
<intent-filter>
1414
<action android:name="android.intent.action.MAIN" />
1515

app/src/main/java/in/dhinakaransks/simpleotp/MainActivity.java renamed to app/src/main/java/in/dhinakaran/simpleotp/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package in.dhinakaransks.simpleotp;
1+
package in.dhinakaran.simpleotp;
22

33
import androidx.appcompat.app.AppCompatActivity;
44

@@ -7,7 +7,7 @@
77
import android.widget.Button;
88
import android.widget.Toast;
99

10-
import in.dhinakaransks.simpleotplibrary.SimpleOTP;
10+
import in.dhinakaran.simpleotplibrary.SimpleOTP;
1111

1212
public class MainActivity extends AppCompatActivity {
1313

app/src/main/res/layout/activity_main.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7+
android:gravity="center"
78
android:orientation="vertical"
89
tools:context=".MainActivity">
910

10-
<in.dhinakaransks.simpleotplibrary.SimpleOTP
11+
<in.dhinakaran.simpleotplibrary.SimpleOTP
1112
android:id="@+id/otp_view"
1213
android:layout_width="match_parent"
1314
android:layout_height="wrap_content">
1415

15-
</in.dhinakaransks.simpleotplibrary.SimpleOTP>
16+
</in.dhinakaran.simpleotplibrary.SimpleOTP>
1617

1718
<Button
18-
android:text="GET OTP"
19-
android:layout_marginTop="10dp"
20-
android:layout_gravity="center"
2119
android:id="@+id/get_otp"
2220
android:layout_width="wrap_content"
23-
android:layout_height="wrap_content" />
21+
android:layout_height="wrap_content"
22+
android:layout_gravity="center"
23+
android:layout_marginTop="10dp"
24+
android:text="GET OTP" />
2425

2526
</LinearLayout>

app/src/test/java/in/dhinakaransks/simpleotp/ExampleUnitTest.java renamed to app/src/test/java/in/dhinakaran/simpleotp/ExampleUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package in.dhinakaransks.simpleotp;
1+
package in.dhinakaran.simpleotp;
22

33
import org.junit.Test;
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package in.dhinakaransks.simpleotplibrary;
1+
package in.dhinakaran.simpleotplibrary;
22

33
import android.content.Context;
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="in.dhinakaransks.simpleotplibrary" />
2+
package="in.dhinakaran.simpleotplibrary" />

0 commit comments

Comments
 (0)