Skip to content

Instantly share code, notes, and snippets.

View Eduar2TC's full-sized avatar
🏠
Hello Coder

Eduardo Tolentino Eduar2TC

🏠
Hello Coder
View GitHub Profile
import 'package:flutter/material.dart';
import 'dart:math';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@Eduar2TC
Eduar2TC / rounded_button.xml
Created November 25, 2023 07:56
Android rounded button
<Button
android:id="@+id/menu_button"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_marginStart="10dp"
android:layout_weight="0"
android:insetTop="0dp"
android:insetBottom="0dp"
android:minWidth="0dp"
android:minHeight="0dp"
@Eduar2TC
Eduar2TC / circular_progress.xml
Last active November 25, 2023 07:58
Create a circular progress resource
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="100dp"
android:layout_height="100dp"