diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-12-07 17:55:01 +0100 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-12-07 17:55:01 +0100 |
| commit | b6435529d98beb852c2df8def65cce4572468bcc (patch) | |
| tree | 9365935f6691c2c1e4b7a768a3d55eb3b7802334 /app/src/main/res/layout/activity_main.xml | |
| download | pai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.tar.gz pai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.tar.zst pai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.zip | |
Initial commit,v1.0.1
Diffstat (limited to 'app/src/main/res/layout/activity_main.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_main.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..c0b4598 --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,54 @@ +<?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" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".MainActivity"> +<LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:background="@mipmap/main_bg_foreground" + > + <TextView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_weight="1" + android:gravity="center" + android:text="Pai Fillo Nai" + android:textColor="@color/white" + android:textSize="60sp"/> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_weight="2" + android:padding="20dp" + > + <TextView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:maxHeight="10dp" + android:layout_weight="1" + android:gravity="center" + android:text="ONLINE" + android:id="@+id/txtvOnline" + android:layout_margin="20dp" + android:textColor="#03A9F4" + android:background="@drawable/bg_rounded_rectangle" + android:textSize="30sp"/> + <TextView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:maxHeight="10dp" + android:layout_weight="1" + android:gravity="center" + android:text="OFFLINE" + android:layout_margin="20dp" + android:textColor="#AAAAAA" + android:id="@+id/txtvOffline" + android:background="@drawable/bg_rounded_rectangle" + android:textSize="30sp"/> + </LinearLayout> +</LinearLayout> +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |
