mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
167 lines
6.6 KiB
XML
167 lines
6.6 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:background="@color/black">
|
|
|
|
<ImageButton
|
|
android:id="@+id/button_back"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:padding="10dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/ic_back_thin_white_16dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/text_devices"
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="My devices"
|
|
android:fontFamily="@font/inter_regular"
|
|
android:textSize="14dp"
|
|
android:layout_marginTop="33dp"
|
|
android:layout_marginStart="20dp"
|
|
app:layout_constraintTop_toBottomOf="@id/button_back"
|
|
app:layout_constraintLeft_toLeftOf="parent" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintTop_toBottomOf="@id/text_devices"
|
|
app:layout_constraintBottom_toTopOf="@id/layout_buttons"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="14dp"
|
|
android:layout_marginBottom="14dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_devices"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.futo.platformplayer.views.sync.SyncDeviceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_empty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:gravity="center"
|
|
android:background="#000000"
|
|
app:layout_constraintTop_toBottomOf="@id/button_back"
|
|
app:layout_constraintBottom_toTopOf="@id/layout_buttons"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/image_sync"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
app:srcCompat="@drawable/device_sync"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/button_back"
|
|
android:layout_marginTop="40dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/text_sync_grayjay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Sync Grayjay"
|
|
android:fontFamily="@font/inter_medium"
|
|
android:textSize="20dp"
|
|
android:layout_marginTop="12dp"
|
|
app:layout_constraintTop_toBottomOf="@id/image_sync"
|
|
app:layout_constraintLeft_toLeftOf="@id/image_sync"
|
|
app:layout_constraintRight_toRightOf="@id/image_sync" />
|
|
|
|
<TextView
|
|
android:id="@+id/text_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Scan the code on another mobile or desktop device using Grayjay and sync settings"
|
|
android:textColor="#ACACAC"
|
|
android:fontFamily="@font/inter_extra_light"
|
|
android:textSize="12dp"
|
|
android:textAlignment="center"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
app:layout_constraintTop_toBottomOf="@id/text_sync_grayjay"
|
|
app:layout_constraintLeft_toLeftOf="@id/text_sync_grayjay"
|
|
app:layout_constraintRight_toRightOf="@id/text_sync_grayjay" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_buttons"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="30dp"
|
|
android:layout_marginBottom="20dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/button_link_new_device"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/background_019be7_round_6dp"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:padding="2dp"
|
|
app:srcCompat="@drawable/ic_add_white_8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:scaleType="fitCenter"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Link new device"
|
|
android:lines="1"
|
|
android:fontFamily="@font/inter_regular"
|
|
android:textSize="16dp"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/button_show_pairing_code"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/background_border_2e_round_6dp"
|
|
android:gravity="center"
|
|
android:layout_marginTop="16dp">
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
app:srcCompat="@drawable/ic_qr"
|
|
android:layout_marginRight="8dp"
|
|
android:scaleType="fitCenter"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Show pairing code"
|
|
android:lines="1"
|
|
android:fontFamily="@font/inter_regular"
|
|
android:textSize="16dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |