Skip to content

Instantly share code, notes, and snippets.

View RB-93's full-sized avatar
💻
Work Mode ON!!!

Rohit Bhargava RB-93

💻
Work Mode ON!!!
View GitHub Profile
@RB-93
RB-93 / build.gradle
Created October 16, 2020 07:20 — forked from sagar-viradiya/build.gradle
DevFest India 2020 Day 1 - build.gradle file
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: "kotlin-kapt"
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.devfest.india.bmsclone"
@RB-93
RB-93 / MainActivity.java
Created June 26, 2018 15:38
ScoreKeeper
package com.rohit.examples.android.clanofwars;
import android.content.Context;
import android.support.constraint.ConstraintLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.LayoutInflater;
import android.view.View;
@RB-93
RB-93 / activity_main.xml
Created April 20, 2018 07:35
Happy Bitrhday app - A birthday card app shows birthday wishings
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ImageView
android:layout_width="wrap_content"
@RB-93
RB-93 / activity_main.xml
Created April 20, 2018 07:26
Own Card App - UDACITY Thanks giving card
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ff6017"
tools:context=".MainActivity">
<com.makeramen.roundedimageview.RoundedImageView
@RB-93
RB-93 / activity_main.xml
Created April 20, 2018 07:18
Hello Android - UDACITY business card app
<?xml version="1.0" encoding="utf-8"?>
<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:background="#2196F3"
tools:context=".MainActivity">
<ImageView
android:id="@+id/img_udacity_big"