This file contains hidden or 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
data class TabPosition(val left: Float, val right: Float) | |
@Composable | |
fun StretchTabComponent() { | |
val tabs = listOf("SALE", "RENT") | |
var selectedIndex by remember { mutableIntStateOf(0) } | |
val tabPositions = remember { mutableStateListOf<TabPosition>() } | |
val startX = remember { Animatable(0f) } | |
val endX = remember { Animatable(0f) } | |
val scope = rememberCoroutineScope() |
This file contains hidden or 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
if [ $# -eq 0 ]; then | |
echo "No arguments supplied" | |
else if [ -f "$1" ]; then | |
echo " Creating different dimensions (dips) of "$1" ..." | |
mkdir -p drawable-xxhdpi | |
mkdir -p drawable-xhdpi | |
mkdir -p drawable-hdpi | |
mkdir -p drawable-mdpi | |
if [ $1 = "ic_launcher.png" ]; then |