android app for otb-cloud uploading https://otb-cloud.outsidethebox.top/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

156 lines
5.7 KiB

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:background="#081225">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp">
<TextView
android:id="@+id/titleText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OTB Cloud v0.3.0"
android:textColor="#FFFFFF"
android:textSize="28sp"
android:textStyle="bold"
android:layout_marginTop="24dp" />
<TextView
android:id="@+id/subtitleText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Android Backup Client v0.3.0"
android:textColor="#B8C7E0"
android:textSize="16sp"
android:layout_marginTop="8dp"
android:layout_marginBottom="24dp" />
<LinearLayout
android:id="@+id/activationSection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<EditText
android:id="@+id/tokenInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Activation Token"
android:inputType="text"
android:textColor="#FFFFFF"
android:textColorHint="#8FA1C0"
android:backgroundTint="#7CC7F5" />
<Button
android:id="@+id/activateButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Activate"
android:layout_marginTop="16dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/mediaSection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/deviceInfoText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Activated device"
android:textColor="#B8C7E0"
android:textSize="14sp"
android:layout_marginBottom="16dp" />
<Button
android:id="@+id/resetActivationButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Use New Token"
android:layout_marginBottom="12dp" />
<Button
android:id="@+id/scanButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Mode: Images + Videos" />
<Button
android:id="@+id/runScanButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Run Scan"
android:layout_marginTop="8dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="12dp"
android:layout_marginBottom="12dp">
<Button
android:id="@+id/selectAllButton"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Select All" />
<Space
android:layout_width="8dp"
android:layout_height="1dp" />
<Button
android:id="@+id/clearAllButton"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Clear All" />
</LinearLayout>
<Button
android:id="@+id/uploadSelectedButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Upload Selected" />
<TextView
android:id="@+id/selectionInfoText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="No media scanned yet"
android:textColor="#B8C7E0"
android:textSize="14sp"
android:layout_marginTop="12dp"
android:layout_marginBottom="12dp" />
<ListView
android:id="@+id/mediaListView"
android:layout_width="match_parent"
android:layout_height="420dp"
android:choiceMode="multipleChoice"
android:background="#10203B"
android:divider="#22385C"
android:dividerHeight="1dp" />
</LinearLayout>
<TextView
android:id="@+id/statusText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Ready"
android:textColor="#B8C7E0"
android:textSize="14sp"
android:layout_marginTop="16dp" />
</LinearLayout>
</ScrollView>