Skip to content

Commit

Permalink
Working on the client
Browse files Browse the repository at this point in the history
  • Loading branch information
laxika committed Jan 4, 2017
1 parent 2673b3c commit fa66bce
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 50 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -20,7 +20,7 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'commons-io:commons-io:2.4'
}

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Expand Up @@ -8,7 +8,7 @@
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".WebViewActivity">
<activity android:name=".WebViewActivity" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
@@ -1,6 +1,7 @@
package com.morethanheroic.monsterhunter;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
Expand All @@ -20,6 +21,8 @@ public class WebViewActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

setupGlobalCookieStorage();
setupContentContainer();
setupWebView();
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-w820dp/dimens.xml
@@ -1,6 +1,6 @@
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
(such as openScreen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizontal_margin">64dp</dimen>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/dimens.xml
@@ -1,5 +1,5 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<!-- Default openScreen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>

This file was deleted.

3 changes: 0 additions & 3 deletions build.gradle
Expand Up @@ -6,9 +6,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

Expand Down

0 comments on commit fa66bce

Please sign in to comment.