Skip to content

Instantly share code, notes, and snippets.

✔️
Official

Mohamed Ebrahim mohamedebrahim96

✔️
Official
Block or report user

Report or block mohamedebrahim96

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3c45727968ee5eb38de7fe3526b1ab6f
<LinearLayout
android:layout_width="match_parent"
android:layout_height="54dp"
android:orientation="horizontal"
android:background="@color/colorPrimaryDark"
android:id="@+id/layout2_payment"
android:gravity="right"
android:padding="10dp"
android:clickable="true">
@mohamedebrahim96
mohamedebrahim96 / linkedin.md
Last active Sep 16, 2018
Script to automatically add connections from "People You May Know" page
View linkedin.md

LinkedIn auto inviter

in this Gist you can invite all connictions just by one click

@mohamedebrahim96
mohamedebrahim96 / Permissions.md
Last active Jun 29, 2018
Requesting Runtime Permissions In Android M And N, Starting from Android Marshmallow (API 23), users will be asked for permissions while the app is running. This way, a user is able to choose which permissions they should grant without affecting the application flow. In this tutorial I will cover requesting runtime permissions in Android M and N…
View Permissions.md

Starting from Android Marshmallow (API 23), users will be asked for permissions while the app is running. This way, a user is able to choose which permissions they should grant without affecting the application flow. In this tutorial I will cover requesting runtime permissions in Android M and N, how to perform a request, get its result and then handle it.

View custom_dialog.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@color/black"
android:layout_gravity="center"
>
@mohamedebrahim96
mohamedebrahim96 / activity_main2.xml
Last active Dec 12, 2018
The function of the button at the center is to call an activity and the TabLayout will be place at the bottom of the screen.
View activity_main2.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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="com.vacuum.app.cinema.MainActivity">
<!--SOME CODE FOR MY AppBarLayout-->
<!--SOME CODE FOR MY ToolBar-->
View README-Template.md

Sharek Dostor

The Arab republic of Egypt Constitution for Android. This includes the new Android Material theme, and can be customized to either Light or Dark. Have all of your guaranteed rights, in the palm of your hand! Features:

  • Full Egypt Constitution
  • Egyptian Constitution of 2014
  • Egyptian Constitution of 2012
  • Egyptian Constitution of 2007
@mohamedebrahim96
mohamedebrahim96 / Custom Toolbar
Created Oct 29, 2017
Android Custom Centered ActionBar with Material Design
View Custom Toolbar
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.AppBarLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/appBar"
android:background="#fff"
android:layout_width="match_parent"
android:layout_height="match_parent">
@mohamedebrahim96
mohamedebrahim96 / README-Template.md
Created Apr 16, 2017 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You can’t perform that action at this time.