diff --git a/BeWoPlanerChat/bewoplaner-chat-android/app/build.gradle b/BeWoPlanerChat/bewoplaner-chat-android/app/build.gradle
index 91b6d67..f97d915 100644
--- a/BeWoPlanerChat/bewoplaner-chat-android/app/build.gradle
+++ b/BeWoPlanerChat/bewoplaner-chat-android/app/build.gradle
@@ -70,45 +70,45 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- testCompile 'junit:junit:4.12'
// Android support libraries
- compile 'com.android.support:appcompat-v7:25.3.0'
- compile 'com.android.support:design:25.3.0'
// Butter Knife
- compile 'com.jakewharton:butterknife:8.4.0'
- apt 'com.jakewharton:butterknife-compiler:8.4.0'
// Dagger
- compile 'com.google.dagger:dagger:2.7'
- apt 'com.google.dagger:dagger-compiler:2.7'
- provided 'javax.annotation:jsr250-api:1.0'
// Rx Java
- compile 'io.reactivex:rxjava:1.1.6'
- compile 'io.reactivex:rxandroid:1.2.1'
- compile 'com.jakewharton.rxbinding:rxbinding:0.4.0'
// Retrofit
- compile 'com.squareup.retrofit2:retrofit:2.1.0'
- compile 'com.squareup.retrofit2:converter-gson:2.1.0'
- compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
// OkHttp
- compile 'com.squareup.okhttp3:okhttp:3.4.1'
- compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
// Glide
- compile 'com.github.bumptech.glide:glide:3.7.0'
// Circle ImageView
- compile 'de.hdodenhof:circleimageview:2.1.0'
compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
transitive = true;
}
// Secure Preferences
- compile 'com.scottyab:secure-preferences-lib:0.1.4'
// Firebase
- compile 'com.google.firebase:firebase-messaging:10.2.0'
// emojis
- compile 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
// circle progress
- compile 'com.github.lzyzsd:circleprogress:1.2.1'
// event bus
+ compile 'com.android.support:appcompat-v7:25.3.0'
+ compile 'com.android.support:design:25.3.0'
+ compile 'com.jakewharton:butterknife:8.4.0'
+ compile 'com.google.dagger:dagger:2.7'
+ compile 'io.reactivex:rxjava:1.1.6'
+ compile 'io.reactivex:rxandroid:1.2.1'
+ compile 'com.jakewharton.rxbinding:rxbinding:0.4.0'
+ compile 'com.squareup.retrofit2:retrofit:2.1.0'
+ compile 'com.squareup.retrofit2:converter-gson:2.1.0'
+ compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
+ compile 'com.squareup.okhttp3:okhttp:3.4.1'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
+ compile 'com.github.bumptech.glide:glide:3.7.0'
+ compile 'de.hdodenhof:circleimageview:2.1.0'
+ compile 'com.scottyab:secure-preferences-lib:0.1.4'
+ compile 'com.google.firebase:firebase-messaging:10.2.0'
+ compile 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
+ compile 'com.github.lzyzsd:circleprogress:1.2.1'
compile 'org.greenrobot:eventbus:3.0.0'
+ testCompile 'junit:junit:4.12'
+ apt 'com.jakewharton:butterknife-compiler:8.4.0'
+ apt 'com.google.dagger:dagger-compiler:2.7'
+ provided 'javax.annotation:jsr250-api:1.0'
}
task adp2upload(type: Exec, dependsOn: "build") {
diff --git a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/AndroidManifest.xml b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/AndroidManifest.xml
index f0c4cb6..2eb368b 100644
--- a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/AndroidManifest.xml
+++ b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/AndroidManifest.xml
@@ -9,52 +9,47 @@
+
-
-
-
-
-
-
-
-
-
+
@@ -100,6 +95,8 @@
+
+
\ No newline at end of file
diff --git a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/java/com/p3/bewoplaner/page/chat/BaseChatActivity.java b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/java/com/p3/bewoplaner/page/chat/BaseChatActivity.java
index 6dd437e..68e0ebd 100644
--- a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/java/com/p3/bewoplaner/page/chat/BaseChatActivity.java
+++ b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/java/com/p3/bewoplaner/page/chat/BaseChatActivity.java
@@ -265,15 +265,18 @@ abstract class BaseChatActivity extends RuntimePermissionActivity implements Cha
private void selectFile(int requestCode) {
Intent intent;
+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);
} else {
intent = new Intent(Intent.ACTION_GET_CONTENT);
}
+
intent.setType("*/*");
intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true);
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+
startActivityForResult(Intent.createChooser(intent, getResources().getString(R.string.chat_select_file)), SELECT_FILE);
}
diff --git a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/res/layout/fragment_profile.xml b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/res/layout/fragment_profile.xml
index d18608f..4457dc1 100644
--- a/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/res/layout/fragment_profile.xml
+++ b/BeWoPlanerChat/bewoplaner-chat-android/app/src/main/res/layout/fragment_profile.xml
@@ -37,13 +37,14 @@
android:layout_height="0dp"
android:layout_marginTop="24dp"
android:layout_weight="1"
- tools:text="Howard Hines" />
+ tools:text="Sasha Grey" />
+ android:textSize="@dimen/profile_phone_number_subtext"
+ android:visibility="invisible"/>
+ tools:text="775-206-8983"
+ android:visibility="invisible"/>