aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_main.xml
blob: c0b4598b46672d38670a9985414504f5ff9a3782 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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>