Posts

row.xml

<? xml version ="1.0" encoding ="utf-8" ?> < androidx.cardview.widget.CardView xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :layout_height ="wrap_content" xmlns: app ="http://schemas.android.com/apk/res-auto" app :cardCornerRadius ="3dp" app :cardElevation ="3dp" android :clickable ="true" android :focusable ="true" android :foreground ="?android:attr/selectableItemBackground" app :cardUseCompatPadding ="true" > < RelativeLayout android :layout_width ="match_parent" android :layout_height ="wrap_content" android :padding ="16dp" > < ImageView android :layout_width ="70dp" android...

build.gradal Modual app

apply plugin : 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.mhshasan.yojana" minSdkVersion 19 targetSdkVersion 29 multiDexEnabled true versionCode 7 versionName "7.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt' ), 'proguard-rules.pro' } } } dependencies { implementation fileTree( include : [ '*.jar' ], dir : 'libs' ) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' androidTestImplementation( 'androidx.test.espresso:espresso-core:3.2.0' , { exclude group : 'c...

build.gradal project

buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.2' classpath "me.tatarka:gradle-retrolambda:3.7.0" classpath 'com.google.gms:google-services:4.3.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() } } task clean( type : Delete) { delete rootProject.buildDir } allprojects { repositories{ jcenter() maven { url "https://maven.google.com" maven { url 'https://jitpack.io' } } } }