Skip to content

Instantly share code, notes, and snippets.

Avatar

Allan Hasegawa AllanHasegawa

View GitHub Profile
@lopspower
lopspower / README.md
Last active Sep 25, 2020
Android Tools Attributes
View README.md

Android Tools Attributes

Twitter

Android has a dedicated XML namespace intended for tools to be able to record information in XML files, and have that information stripped when the application is packaged such that there is no runtime or download size penalty. The namespace URI is http://schemas.android.com/tools and is usually bound to the tools: prefix:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
@bvssvni
bvssvni / watch.sh
Created Jan 2, 2015
Cross platform watch script for Rust - updated for `cargo build`
View watch.sh
#!/bin/bash
#written by zzmp
# This script will recompile a rust project using `cargo build`
# every time something in the specified directory changes.
# Watch files in infinite loop
watch () {
UNAME=$(uname)
You can’t perform that action at this time.