99 lines
3.3 KiB
XML
99 lines
3.3 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:fitsSystemWindows="true"
|
||
|
tools:context="fr.gouv.etalab.mastodon.activities.InstanceHealthActivity"
|
||
|
android:layout_margin="@dimen/fab_margin"
|
||
|
android:id="@+id/container"
|
||
|
android:orientation="vertical" android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/name"
|
||
|
android:textSize="20sp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/values"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="1"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="end"
|
||
|
android:text="Checked at"
|
||
|
/>
|
||
|
<TextView
|
||
|
android:layout_marginStart="10dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:id="@+id/checked_at"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="2"
|
||
|
android:layout_height="wrap_content"
|
||
|
/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="end"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="end"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Is up"
|
||
|
/>
|
||
|
<TextView
|
||
|
android:id="@+id/up"
|
||
|
android:layout_marginStart="10dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="2"
|
||
|
android:layout_height="wrap_content"
|
||
|
/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="end"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="end"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Uptime"
|
||
|
/>
|
||
|
<TextView
|
||
|
android:id="@+id/uptime"
|
||
|
android:layout_marginStart="10dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_weight="2"
|
||
|
android:layout_height="wrap_content"
|
||
|
/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|