Skip to content

Commit

Permalink
import
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-jain2 committed Dec 18, 2019
1 parent b44d236 commit db8ba81
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.crinoid.socialloginhelper"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
Expand Down Expand Up @@ -37,4 +37,5 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.intuit.sdp:sdp-android:1.0.6'
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment;

import com.crinoid.pesopie.R;

import com.crinoid.socialloginhelper.R;

import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;

import static com.crinoid.pesopie.instagram.Globals.INSTAGRAM_REDIRECT_URL;
import static com.crinoid.socialloginhelper.instagram.Globals.INSTAGRAM_REDIRECT_URL;


@SuppressLint("ValidFragment")
public class AuthenticationDialog extends DialogFragment {
Expand Down
29 changes: 29 additions & 0 deletions app/src/main/res/layout/auth_dialog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/auth_dialog"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/_4sdp">


<ScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="@dimen/_50sdp">

<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</FrameLayout>

</ScrollView>


</RelativeLayout>

0 comments on commit db8ba81

Please sign in to comment.