mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 01:08:48 +02:00
Fix bugs
This commit is contained in:
parent
2a29b4feaf
commit
1ff560a18b
3 changed files with 2 additions and 7 deletions
|
@ -261,6 +261,7 @@ public class InterfaceActivity extends QtActivity implements WebViewFragment.OnW
|
||||||
protected void onNewIntent(Intent intent) {
|
protected void onNewIntent(Intent intent) {
|
||||||
super.onNewIntent(intent);
|
super.onNewIntent(intent);
|
||||||
if (intent.hasExtra(DOMAIN_URL)) {
|
if (intent.hasExtra(DOMAIN_URL)) {
|
||||||
|
webSlidingDrawer.setVisibility(View.GONE);
|
||||||
nativeGotoUrl(intent.getStringExtra(DOMAIN_URL));
|
nativeGotoUrl(intent.getStringExtra(DOMAIN_URL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,7 @@ public class WebViewFragment extends Fragment implements GestureDetector.OnGestu
|
||||||
webView.getSettings().setUseWideViewPort(true);
|
webView.getSettings().setUseWideViewPort(true);
|
||||||
webView.loadUrl(url);
|
webView.loadUrl(url);
|
||||||
mToolbar.setVisibility(mToolbarVisible ? View.VISIBLE : View.GONE);
|
mToolbar.setVisibility(mToolbarVisible ? View.VISIBLE : View.GONE);
|
||||||
|
mToolbar.clearAnimation();
|
||||||
if (mToolbarVisible) {
|
if (mToolbarVisible) {
|
||||||
mHandler.postDelayed(mHideToolbar, DELAY_HIDE_TOOLBAR_MILLIS);
|
mHandler.postDelayed(mHideToolbar, DELAY_HIDE_TOOLBAR_MILLIS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,13 +6,6 @@
|
||||||
android:height="173dp"
|
android:height="173dp"
|
||||||
android:viewportWidth="173"
|
android:viewportWidth="173"
|
||||||
android:viewportHeight="173">
|
android:viewportHeight="173">
|
||||||
<path
|
|
||||||
android:name="path_1"
|
|
||||||
android:pathData="M 53.3 53.3 L 119.7 119.7 M 53.3 119.7 L 119.7 53.3"
|
|
||||||
android:fillColor="#000"
|
|
||||||
android:strokeColor="#ffffff"
|
|
||||||
android:strokeWidth="13.5424"
|
|
||||||
android:strokeLineCap="round"/>
|
|
||||||
<path
|
<path
|
||||||
android:name="path"
|
android:name="path"
|
||||||
android:pathData="M 86.5 173 C 134.273 173 173 134.273 173 86.5 C 173 38.727 134.273 0 86.5 0 C 38.727 0 0 38.727 0 86.5 C 0 134.273 38.727 173 86.5 173 Z"
|
android:pathData="M 86.5 173 C 134.273 173 173 134.273 173 86.5 C 173 38.727 134.273 0 86.5 0 C 38.727 0 0 38.727 0 86.5 C 0 134.273 38.727 173 86.5 173 Z"
|
||||||
|
|
Loading…
Reference in a new issue