mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-24 21:42:44 +00:00
89 lines
3.4 KiB
XML
89 lines
3.4 KiB
XML
<!-- Portrait orientation only -->
|
|
<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context=".PcView" >
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/pcFragmentContainer"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_below="@+id/settingsButton"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/no_pc_found_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerHorizontal="true">
|
|
<ProgressBar
|
|
android:id="@+id/pcs_loading"
|
|
android:layout_width="75dp"
|
|
android:layout_height="75dp"
|
|
android:indeterminate="true"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@+id/pcs_loading"
|
|
android:layout_toEndOf="@+id/pcs_loading"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_centerVertical="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:gravity="center"
|
|
android:text="@string/searching_pc"/>
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsButton"
|
|
android:layout_width="70dp"
|
|
android:layout_height="65dp"
|
|
android:cropToPadding="false"
|
|
android:scaleType="fitXY"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:src="@drawable/ic_settings"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/helpButton"
|
|
android:layout_width="70dp"
|
|
android:layout_height="65dp"
|
|
android:cropToPadding="false"
|
|
android:scaleType="fitXY"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_toRightOf="@+id/settingsButton"
|
|
android:layout_toEndOf="@+id/settingsButton"
|
|
android:src="@drawable/ic_help"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/manuallyAddPc"
|
|
android:layout_width="70dp"
|
|
android:layout_height="65dp"
|
|
android:cropToPadding="false"
|
|
android:scaleType="fitXY"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentRight="true"
|
|
android:src="@drawable/ic_add"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
|
|
</RelativeLayout>
|