Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add android jetpack compose sample #78

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
9 changes: 9 additions & 0 deletions .idea/login-kit-sample.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

- [Sample iOS App](ios)
- [Sample Android App](android)
- [Sample Android Jetpack Compose](androidcompose)
- [Sample React Native](react-native)
10 changes: 6 additions & 4 deletions android/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:fontFamily="@font/avenirnextgeo_regular"
android:text="@string/user_display_name"
android:textColor="@color/colorPrimaryDark"
android:visibility="invisible"
android:visibility="visible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

Expand All @@ -43,7 +43,7 @@
android:contentDescription="@string/logout_button"
android:fontFamily="@font/avenirnextgeo_regular"
android:text="@string/logout_button"
android:visibility="invisible"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.497"
Expand All @@ -60,7 +60,7 @@
android:fontFamily="@font/avenirnextgeo_regular"
android:text="@string/user_external_id"
android:textColor="@color/colorPrimaryDark"
android:visibility="invisible"
android:visibility="visible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/labelDisplayNameView" />

Expand All @@ -70,6 +70,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="116dp"
android:text="@string/user_display_name"
android:fontFamily="@font/avenirnextgeo_regular"
app:layout_constraintStart_toEndOf="@+id/labelDisplayNameView"
app:layout_constraintTop_toTopOf="parent" />
Expand All @@ -81,6 +82,7 @@
android:layout_marginStart="20dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/avenirnextgeo_regular"
android:text="@string/user_external_id"
app:layout_constraintStart_toEndOf="@+id/labelExternalIdView"
app:layout_constraintTop_toBottomOf="@+id/displayNameView" />

Expand All @@ -91,7 +93,7 @@
android:layout_marginStart="32dp"
android:layout_marginTop="64dp"
android:contentDescription="@string/user_avatar_holding_text"
android:visibility="invisible"
android:visibility="visible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/labelExternalIdView"
app:srcCompat="@drawable/bitmoji450x450" />
Expand Down
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Fri Jun 07 12:45:10 BST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Loading