186 lines
6.7 KiB
XML
186 lines
6.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="24dp"
|
|
android:background="#0D0D0D"
|
|
tools:context=".MainActivity">
|
|
|
|
<!-- Header -->
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="🤖 Siro Social Bot"
|
|
android:textSize="26sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#FFFFFF"
|
|
android:gravity="center"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginBottom="4dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Social Media Automation Engine"
|
|
android:textSize="13sp"
|
|
android:textColor="#888888"
|
|
android:gravity="center"
|
|
android:layout_marginBottom="32dp" />
|
|
|
|
<!-- Status Card -->
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:backgroundTint="#1A1A2E">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Service Status"
|
|
android:textColor="#888888"
|
|
android:textSize="12sp"
|
|
android:layout_marginBottom="8dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<View
|
|
android:id="@+id/statusDot"
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:background="@drawable/circle_indicator"
|
|
android:backgroundTint="#FF4444"
|
|
android:layout_marginEnd="10dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvStatus"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Accessibility Service Disabled"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
|
|
<!-- Facebook Service Row -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<View
|
|
android:id="@+id/fbDot"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:background="@drawable/circle_indicator"
|
|
android:backgroundTint="#555555"
|
|
android:layout_marginEnd="10dp" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Facebook Bot"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvFbState"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="IDLE"
|
|
android:textColor="#555555"
|
|
android:textSize="11sp" />
|
|
</LinearLayout>
|
|
|
|
<!-- Instagram Service Row -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginTop="8dp">
|
|
|
|
<View
|
|
android:id="@+id/igDot"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:background="@drawable/circle_indicator"
|
|
android:backgroundTint="#555555"
|
|
android:layout_marginEnd="10dp" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Instagram Bot"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvIgState"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="IDLE"
|
|
android:textColor="#555555"
|
|
android:textSize="11sp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Enable Accessibility Button -->
|
|
<Button
|
|
android:id="@+id/btnEnableAccessibility"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="Enable Accessibility Service"
|
|
android:backgroundTint="#1565C0"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="15sp" />
|
|
|
|
<!-- Logs Card -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Live Log"
|
|
android:textColor="#888888"
|
|
android:textSize="12sp"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp" />
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollLog"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:background="#111111"
|
|
android:padding="12dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvLog"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="[System] Bot initialized...\n"
|
|
android:textColor="#00FF88"
|
|
android:textSize="12sp"
|
|
android:fontFamily="monospace" />
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|