Parcourir la source

Update : Update readme file

Wayne il y a 7 ans
Parent
commit
383a340189
1 fichiers modifiés avec 17 ajouts et 1 suppressions
  1. 17 1
      readme.md

+ 17 - 1
readme.md

@@ -2,6 +2,8 @@
 
 ## Features
 
+###2017/07/19
+1. SimpleWebActivity
 ###2017/04/10
 1. Zendesk login notify dialog
 
@@ -45,4 +47,18 @@ you need style dialog before call show() method.
 ####Style button text color
     dialog.setButtonColor(Color.BLACK);
     dialog.setButtonColorRes(R.color.colorAccentCloud);
-    
+    
+###SimpleWebActivity
+Put this into you app's manifest, you can change some settings.
+
+    <activity
+        android:name="com.kdanmobile.kdan_others_library_for_android.view.SimpleWebViewActivity"
+        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
+        android:launchMode="singleTask"
+        android:screenOrientation="sensorLandscape"
+        android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen" />
+
+Call this then it will works.
+
+    String url = "https://www.google.com";
+    SimpleWebViewActivity.launch(this, url);