This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##-------------------------------------------------------------------------------- | |
read -rd '' USAGE <<"BOUND" | |
Usage: strim <command> | |
Commands: | |
repo Show the current directory's Github remote on this user's overlay | |
tag Add a tag for this commit with the name "stream-<date>", where <date> is the current date as [yyyymmdd] | |
BOUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================== | |
public class RatioImageView extends ImageView { | |
//-------------------------------------------------------------------------- | |
public static final int SCALE_AXIS_VERTICAL = 0, SCALE_AXIS_HORIZONTAL = 1; | |
private int scaleAxis = SCALE_AXIS_VERTICAL; | |
private float ratio = 16f / 9f; | |
//-------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--attrs.xml--> | |
<resources> | |
<attr name="primaryColor" format="color" /> | |
</resources> | |
<!--themes.xml--> | |
<!-- Other themes may inherit from AppTheme and define their own primaryColor --> | |
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"> |