Commit 0f04150b authored by 谢俊毅's avatar 谢俊毅
Browse files

init

No related merge requests found
Showing with 618 additions and 1 deletion
+618 -1
*.iml
.idea
.gradle
/build
README.md 100644 → 100755
Eros资源集合
\ No newline at end of file
# android-eros-plugin-getui
/build
apply plugin: 'com.android.application'
apply plugin: 'eros-revan'
android {
compileSdkVersion 25
buildToolsVersion '26.0.2'
flavorDimensions 'default'
defaultConfig {
applicationId APPLICATION_ID
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
ndk {
abiFilters "x86"
abiFilters "armeabi"
}
}
signingConfigs {
eros {
keyAlias 'eros签名实例'
keyPassword 'erosdemo'
storeFile file('../eros_demo.jks')
storePassword 'erosdemo'
v2SigningEnabled false
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.eros
manifestPlaceholders=[
GETUI_APP_ID:GETUI_APPID,
GETUI_APP_KEY:GETUI_APPKEY,
GETUI_APP_SECRET:GETTUI_APPSECRET,
APP_ID:APPLICATION_ID
]
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.eros
manifestPlaceholders=[
GETUI_APP_ID:GETUI_APPID,
GETUI_APP_KEY:GETUI_APPKEY,
GETUI_APP_SECRET:GETTUI_APPSECRET,
APP_ID:APPLICATION_ID
]
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
productFlavors {
samplechannel{
dimension 'default'
}
yingyongbao{
dimension 'default'
}
}
productFlavors.all {
flavor -> flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
}
sourceSets {
main {
jniLibs.srcDirs=['../wxframework/libs']
}
}
}
repositories {
mavenCentral()
flatDir {
dirs '../wxframework/libs', 'libs'
}
google()
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile "com.android.support:support-v4:${PROJECT_SUPPORTLIBVERSION}"
testCompile 'junit:junit:4.12'
compile project(path: ':erosplugingt')
implementation 'com.github.bmfe:eros-nexus:0.0.3'
implementation 'com.github.bmfe:WeexErosFramework:0.0.4'
}
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/Carry/Documents/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-samplechannel-release.apk","properties":{"packageId":"com.benmu.wx","split":"","minSdkVersion":"14"}}]
\ No newline at end of file
package com.benmu.wx;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.benmu.wxframework", appContext.getPackageName());
}
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.benmu.wx">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.READ_LOGS"/>
<!-- 这个权限用于进行网络定位 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<!-- 这个权限用于访问GPS定位 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_GPS"/>
<uses-feature android:name="android.hardware.camera"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<uses-permission android:name="getui.permission.GetuiService.com.bmdoctor.jyt"/>
<!--amap额外权限-->
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:name=".App"
android:theme="@style/AppTheme.NoActionBar"
>
<activity android:name="com.benmu.wx.activity.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="${APP_ID}.categoty.page"/>
<data android:scheme="http"/>
<data android:scheme="https"/>
</intent-filter>
</activity>
<activity
android:name="com.journeyapps.barcodescanner.CaptureActivity"
android:screenOrientation="portrait"
tools:replace="screenOrientation"
/>
<!--图片预览Activity-->
<activity
android:name="com.benmu.framework.activity.BrowseImgActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Light.NoTitleBar"/>
<activity
android:name=".activity.SplashActivity"
android:theme="@style/FullscreenTheme"
>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name="com.benmu.framework.activity.GlobalWebViewActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="${APP_ID}.category.web"/>
</intent-filter>
</activity>
<activity android:name="com.benmu.framework.activity.DebugActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="${APP_ID}.category.debug"/>
</intent-filter>
</activity>
<!--wxApi-->
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="your wx appId"/>
</intent-filter>
</activity>
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop"/>
<!--amap-->
<service android:name="com.amap.api.location.APSService"></service>
<!--amap finish-->
<!--个推-->
<!-- 自定义权限 -->
<permission
android:name="getui.permission.GetuiService.${APP_ID}"
android:protectionLevel="normal"/>
<!-- 配置SDK核心服务 -->
<service
android:name="com.igexin.sdk.PushService"
android:exported="true"
android:label="NotificationCenter"
android:process=":pushservice">
<intent-filter>
<action android:name="com.igexin.sdk.action.service.message"/>
</intent-filter>
</service>
<meta-data
android:name="PUSH_APPID"
android:value="${GETUI_APP_ID}"/>
<meta-data
android:name="PUSH_APPKEY"
android:value="${GETUI_APP_KEY}"/>
<meta-data
android:name="PUSH_APPSECRET"
android:value="${GETUI_APP_SECRET}"/>
<receiver
android:name="com.benmu.erosplugingt.GTPushReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.igexin.sdk.action.${GETUI_APP_ID}"/>
</intent-filter>
</receiver>
</application>
</manifest>
{"filesMd5":[{"page":"/config/index.js","md5":"64f2acdbb9cc3acc3582d8f37332eee3"},{"page":"/mediator/index.js","md5":"e23855ca4dc5e9e85ef5d0863b21522d"},{"page":"/pages/demo/assets/index.js","md5":"ea848ef6835182a29b8b19f1e351bca8"},{"page":"/pages/demo/bmcalendar/index.js","md5":"7d008feb40959b35112b3425ea065de9"},{"page":"/pages/demo/bmchart/index.js","md5":"7b974384aec42134a4fbfa837d78cf6a"},{"page":"/pages/demo/bmrichtext/index.js","md5":"465df1badf294dce9fcaa2378fa16d71"},{"page":"/pages/demo/event/a.js","md5":"a54661dc599b64457cecabc10d013237"},{"page":"/pages/demo/event/b.js","md5":"48d953bdb1ff0cc127b051a602ccddf9"},{"page":"/pages/demo/font/index.js","md5":"2545cf6c116e10e59a78f33a40c8b8ab"},{"page":"/pages/demo/globalAttr/index.js","md5":"10cab0cd8b7642c26684e7aafef8991c"},{"page":"/pages/demo/image/index.js","md5":"ac558a7bc090bb8bad9d9bdf1bc91139"},{"page":"/pages/demo/index.js","md5":"ad53a14e8da88b308fd131c99b9aeea3"},{"page":"/pages/demo/inputExtend/index.js","md5":"a3226c83180a2d3af09129a6a9e73110"},{"page":"/pages/demo/lifecycle/index.js","md5":"a451c508d3925be84fe7dd17d51ab9f4"},{"page":"/pages/demo/notice/index.js","md5":"b3e7b00df2c14dfa14c7e1eb58a1c5ce"},{"page":"/pages/demo/other/bindingx.js","md5":"60de1e8d6417b2cb0834215059b79673"},{"page":"/pages/demo/other/bui.js","md5":"d751fcbf11234f106de53d6417f6a419"},{"page":"/pages/demo/other/weexui.js","md5":"83f6f29a0c9ce083de47766a9ca78f46"},{"page":"/pages/demo/refresh/index.js","md5":"7647742d029540d1f61ed65793e762c5"},{"page":"/pages/demo/router/home.js","md5":"e6a3d7e8286374316eb768b0120b70ec"},{"page":"/pages/demo/router/index.js","md5":"6f3e3c591d490a07b680ded0c1e14662"},{"page":"/pages/demo/storage/index.js","md5":"355362cd2597bc4fffea185347be2998"},{"page":"/iconfont/font_1469606063_76593.ttf","md5":"f6222bcfedff4a817bb50df7a049d1db"},{"page":"/iconfont/font_1469606522_9417143.woff","md5":"6cf5490fd14ff83350ff952bb5b8e484"},{"page":"/iconfont/font_zn5b3jswpofuhaor.ttf","md5":"c0356b22e8235d2b0be8880cc81894cc"},{"page":"/iconfont/iconfont-eros.ttf","md5":"68780fad0047dc5b02cb613ebb08cda1"},{"page":"/iconfont/iconfont.ttf","md5":"ec86bfe5bdb872bad2b2af4f11da14f4"},{"page":"/assets/demo.jpg","md5":"332c4e7d5398207c1b49750369a72848"}],"android":"eros-template-version","iOS":"eros-template-version","appName":"eros-template-name","jsVersion":"bc2ca5117521035d4f3c82930e21bd91","timestamp":1522306978832,"jsPath":"https://app.weex-eros.com/source"}
File added
"EE9z0SxKB1s4Hc7w4zPFCxHQYGGPh0wXCVPq0P5B52ETjz9lqS9JGwmCeN6ByitcyYPHmmX9oAXPNbU6mrsElrZpBseatCy0zJhrqSbZ9u5S45pQi3FSWMw24m0p/EObJtV+9ryRvssJF7XY961oR2nGV7T+7upSHh6YRdmZmLXlM9B7kTTm3ELOt1Do6tLymIzq+sdgUtrAgZ/9SQceRmYvRn/eBRfKLiFShfOTZas8BgVhnPJYn+2OcaA+aNs96CkD4tFcRSOljPtuZiJADkhbxRbzLYEbmAShcbVWZGO0SxptcG5aQZNK2fBFne6IpXloe4EUFQzyR9CX5iIqmt4HOotxqyhnz6pqyEgZ0M09XSRcgBEOVYGrHRcIS1oxZReM9c6Ei2UJHtYW/u1qIt/vfy8VR9+C8/70De2obXudbg58S8pMWJRu8+sg7fRxMMpiVN0XJd29InaXSO59Yi+AReyGzHeV5qIeLy5PAPJvcvPHxQWgMoxZQPZ+yipiaM2yUgXgPJe2geLEcQfuIpwL85oZQIkfa/vyw/yqWXwu5f63J24D0+Qzi+Qo1V/TuiBue/s1chnEGOvn8Key8fnrJ60ZpLIQVDF/8u0vG/i/rzgMLWbkr9JB5qvv83Ewudgn+gMeodw29xrBIJN6tz2ctTC2KYNEuhIrIJfoAPSl5bXMTOaHEFoE+AxK+asTLY6yt8IMxn0S0ixP5x3SCTGrwm4DmOlgXc4gQ5NorApbUFbHu3b9p86oHKwNnsjshxLDk4lL5XsJ+egIZFKDQyMFw79GWJAIzR9doNUh8E/jAMWOnnFiggwQPtqAwAB1/8nQ27lB4YgmF7rmVk3XLZs76jGa4rRaoxHO4Gu1Qmh0BOIV7f5kwS8i8GohguvbesQ11olAr9cGGcMoaZ/EpBvKDgxg0c0uBdnJNd27ifgN75NqdBE90JJCa2ake5oQc+fkiKVtqDCGpDShkbqoGynthXAYrv8X4mmBgmnrl95xLBb7X4oI500dNDka9jQUlbLWt/yms8R0PXjROxtxJ0MRhRjhd00HxJDhTkQRLp9/lCt6Iyx/3SDQYXuYKWpN5Amc+Dc3OqbdYrD/7zPZlecjGM9ePfw9uLy0/tQe8ShX8YqKNFWjYz1yEHiB55M0swCzVHl1oeT0gXL/gXHFLPXoYhsUDkwZfS4meBX/rW0="
package com.benmu.wx;
import android.app.Application;
import com.benmu.framework.BMInitConfig;
import com.benmu.framework.BMWXApplication;
import com.benmu.framework.BMWXEngine;
/**
* Created by Carry on 2017/8/23.
*/
public class App extends BMWXApplication {
public Application mInstance;
@Override
public void onCreate() {
super.onCreate();
mInstance = this;
}
}
package com.benmu.wx.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import com.benmu.framework.activity.AbstractWeexActivity;
import com.benmu.wx.R;
public class MainActivity extends AbstractWeexActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
initView();
renderPage();
}
private void initView() {
mContainer = (ViewGroup) findViewById(R.id.layout_container);
}
}
package com.benmu.wx.activity;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import com.benmu.erosplugingt.manager.GetuiManager;
import com.benmu.framework.BMWXEnvironment;
import com.benmu.framework.constant.Constant;
import com.benmu.framework.constant.WXEventCenter;
import com.benmu.framework.manager.ManagerFactory;
import com.benmu.framework.manager.impl.ParseManager;
import com.benmu.framework.manager.impl.VersionManager;
import com.benmu.framework.manager.impl.dispatcher.DispatchEventManager;
import com.benmu.framework.model.RouterModel;
import com.benmu.framework.model.WeexEventBean;
import com.benmu.wx.R;
/**
* Created by Carry on 2017/8/23.
*/
public class SplashActivity extends Activity {
private Handler mHandler = new Handler();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash);
init();
GetuiManager.pushInit(this.getApplication());
}
private void init() {
final VersionManager versionManager = ManagerFactory.getManagerService(VersionManager
.class);
new Thread(new Runnable() {
@Override
public void run() {
long prepareTime = versionManager.prepareJsBundle(SplashActivity.this);
mHandler.postDelayed(new Runnable() {
@Override
public void run() {
toHome();
}
}, 2000 - prepareTime);
}
}).start();
}
private void toHome() {
String homePage = BMWXEnvironment.mPlatformConfig.getPage().getHomePage(this);
String NavigationColor = BMWXEnvironment.mPlatformConfig.getPage().getNavBarColor();
RouterModel router = new RouterModel(homePage, Constant.ACTIVITIES_ANIMATION
.ANIMATION_PUSH, null, null, false, null);
DispatchEventManager dispatchEventManager = ManagerFactory.getManagerService
(DispatchEventManager.class);
WeexEventBean eventBean = new WeexEventBean();
eventBean.setKey(WXEventCenter.EVENT_OPEN);
eventBean.setJsParams(ManagerFactory.getManagerService(ParseManager.class).toJsonString
(router));
eventBean.setContext(this);
dispatchEventManager.getBus().post(eventBean);
finish();
}
}
//package com.benmu.wx.wxapi;
//
//import android.content.BroadcastReceiver;
//import android.content.Context;
//import android.content.Intent;
//
//import com.benmu.framework.BMWXEnvironment;
//import com.tencent.mm.opensdk.openapi.IWXAPI;
//
//
//public class AppRegister extends BroadcastReceiver {
//
// @Override
// public void onReceive(Context context, Intent intent) {
// IWXAPI mWXApi = BMWXEnvironment.mWXApi;
// if (mWXApi == null) return;
// mWXApi.registerApp(BMWXEnvironment.mPlatformConfig.getWechat().getAppId());
// }
//}
//package com.benmu.wx.wxapi;
//
//import android.app.Activity;
//import android.os.Bundle;
//
//import com.benmu.erospluginwxpay.WXApiModule;
//import com.benmu.framework.BMWXEnvironment;
//import com.benmu.framework.manager.ManagerFactory;
//import com.benmu.framework.manager.impl.dispatcher.DispatchEventManager;
//import com.tencent.mm.opensdk.modelbase.BaseReq;
//import com.tencent.mm.opensdk.modelbase.BaseResp;
//import com.tencent.mm.opensdk.modelmsg.SendAuth;
//import com.tencent.mm.opensdk.openapi.IWXAPI;
//import com.tencent.mm.opensdk.openapi.IWXAPIEventHandler;
//import com.tencent.mm.opensdk.openapi.WXAPIFactory;
//import com.umeng.weixin.callback.WXCallbackActivity;
//
///**
// * Created by Dong Fuhai on 2014-07-22 16:42.
// *
// * @modify:
// */
//public class WXEntryActivity extends WXCallbackActivity implements IWXAPIEventHandler {
//
//
// public static WXEntryActivity activity;
//
// IWXAPI api;
//
// @Override
// public void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// activity = this;
// //注册API
// IWXAPI mWXApi = WXApiModule.getInstans().getWXApi();
// if (mWXApi == null) return;
// mWXApi.handleIntent(getIntent(), this);
// }
//
//
// @Override
// public void onReq(BaseReq baseReq) {
//
// }
//
// @Override
// public void onResp(BaseResp baseResp) {
// if (baseResp instanceof SendAuth.Resp) {
// SendAuth.Resp newResp = (SendAuth.Resp) baseResp;
// ManagerFactory.getManagerService(DispatchEventManager.class).getBus().post(newResp);
// }
// this.finish();
// }
//}
//package com.benmu.wx.wxapi;
//
//
//import android.app.Activity;
//import android.content.Intent;
//import android.os.Bundle;
//
//import com.benmu.erospluginwxpay.WXApiModule;
//import com.benmu.erospluginwxpay.model.WeChatPayResultModel;
//import com.benmu.framework.BMWXEnvironment;
//import com.benmu.framework.manager.ManagerFactory;
//import com.benmu.framework.manager.impl.dispatcher.DispatchEventManager;
//import com.tencent.mm.opensdk.constants.ConstantsAPI;
//import com.tencent.mm.opensdk.modelbase.BaseReq;
//import com.tencent.mm.opensdk.modelbase.BaseResp;
//import com.tencent.mm.opensdk.openapi.IWXAPI;
//import com.tencent.mm.opensdk.openapi.IWXAPIEventHandler;
//
//public class WXPayEntryActivity extends Activity implements IWXAPIEventHandler {
//
// private static final String TAG = "MicroMsg.SDKSample.WXPayEntryActivity";
//
// private IWXAPI api;
//
// @Override
// public void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// api = WXApiModule.getInstans().getWXApi();
// if (api != null) {
// api.registerApp(BMWXEnvironment.mPlatformConfig.getWechat().getAppId());
// api.handleIntent(getIntent(), this);
// }
// }
//
// @Override
// protected void onNewIntent(Intent intent) {
// super.onNewIntent(intent);
// setIntent(intent);
// if (api != null) {
// api.handleIntent(intent, this);
// }
// }
//
// @Override
// public void onReq(BaseReq req) {
//
// }
//
// /**
// * int ERR_OK = 0; int ERR_COMM = -1; int ERR_USER_CANCEL = -2; int ERR_SENT_FAILED = -3; int
// * ERR_AUTH_DENIED = -4; int ERR_UNSUPPORT = -5;
// */
// @Override
// public void onResp(BaseResp resp) {
// if (resp.getType() == ConstantsAPI.COMMAND_PAY_BY_WX) {
// WeChatPayResultModel bean = new WeChatPayResultModel();
// bean.msg = resp.errStr;
// bean.resCode = resp.errCode;
// bean.status = resp.errCode;
// ManagerFactory.getManagerService(DispatchEventManager.class).getBus().post(bean);
// finish();
// }
// }
//}
app/src/main/res/drawable-xhdpi/ic_splash.png

31.8 KB

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/c_f2f2f2"
tools:context="com.benmu.wx.activity.MainActivity"
>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/layout_container"
/>
</FrameLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/container"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/ic_splash"
android:scaleType="fitCenter"
/>
</RelativeLayout>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment