mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-23 21:12:44 +00:00
71 lines
2.7 KiB
XML
71 lines
2.7 KiB
XML
<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/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">
|
|
<ImageView
|
|
android:id="@+id/pcs_loading"
|
|
android:layout_width="75dp"
|
|
android:layout_height="75dp"
|
|
android:src="@drawable/image_loading"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@+id/pcs_loading"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_centerVertical="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:gravity="center"
|
|
android:text="@string/searching_pc"/>
|
|
</RelativeLayout>
|
|
|
|
<GridView
|
|
android:id="@+id/pcGridView"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:numColumns="auto_fit"
|
|
android:columnWidth="160dp"
|
|
android:gravity="center"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_toLeftOf="@+id/manuallyAddPc"
|
|
android:layout_toRightOf="@+id/settingsButton"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsButton"
|
|
android:layout_width="70dp"
|
|
android:layout_height="65dp"
|
|
android:cropToPadding="false"
|
|
android:scaleType="fitXY"
|
|
android:nextFocusDown="@+id/pcGridView"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true"
|
|
android:src="@drawable/settings"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/manuallyAddPc"
|
|
android:layout_width="70dp"
|
|
android:layout_height="65dp"
|
|
android:cropToPadding="false"
|
|
android:scaleType="fitXY"
|
|
android:nextFocusDown="@+id/pcGridView"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:src="@drawable/add_computer"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
|
|
</RelativeLayout>
|