diff --git a/app/build.gradle b/app/build.gradle index 86e2ed8fc96768c2b251b3454cb86c7926ba023d..2e5e253cb519162a0514412125d976f0819b0a84 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -50,6 +50,7 @@ dependencies { implementation 'joda-time:joda-time:2.9.9' implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.android.support:multidex:1.0.3' + implementation 'com.facebook.android:facebook-login:[4,5)' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" implementation 'com.android.support.constraint:constraint-layout:1.0.2' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dd56a68421bcff7cb08947d55fd4fe212ad498da..5b5bae98692cb658d56553aec92bbcf1b27fbb8a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -5,6 +5,7 @@ package="com.simplemobiletools.calendar" android:installLocation="auto"> + <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index f26766cb9802c3ff4caa683c9217a6138134eefb..54adab6dd5fcba3a8bfb84f4132f2569e7356438 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -164,6 +164,16 @@ android:text="@string/event_reminders" android:textAllCaps="true" android:textSize="@dimen/smaller_text_size"/> + <com.simplemobiletools.commons.views.MyTextView + android:id="@+id/login_facebook" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/bigger_margin" + android:layout_marginStart="@dimen/bigger_margin" + android:layout_marginTop="@dimen/activity_margin" + android:text="@string/event_reminders" + android:textAllCaps="true" + android:textSize="@dimen/smaller_text_size"/> <RelativeLayout android:id="@+id/settings_gps_holder" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ac40c68aa00925e8ad42ccd6b63a0d57d0accaf4..96fd8410c437e1f87d8b16ce7d1fd249cabc08e1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources> + <string name="facebook_app_id">253715235190653</string> + <string name="fb_login_protocol_scheme">fb253715235190653</string> <string name="app_name">심플 캘린더</string> <string name="app_launcher_name">캘린더</string> <string name="change_view">보기 변경</string>