171 lines
7.4 KiB
XML
171 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
>
|
|
<data/>
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@+id/base_info"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:id="@+id/logo"
|
|
android:layout_width="100dp"
|
|
android:layout_height="100dp"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_marginLeft="2dp"
|
|
android:layout_marginStart="2dp"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:text="test"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:text="Creator"
|
|
android:id="@+id/creator"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:text="installed version"
|
|
android:id="@+id/installed_version"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:text="Report version"
|
|
android:id="@+id/report_version"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/report_url"
|
|
android:autoLink="web"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/analysed"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/analysed"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_below="@id/base_info"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/tracker_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="50"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorPrimary"
|
|
>
|
|
<TextView
|
|
android:id="@+id/trackers_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/trackers_pct"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:textColor="@android:color/white" />
|
|
|
|
<TextView
|
|
android:id="@+id/trackers_nb"
|
|
android:text="99"
|
|
android:background="@drawable/square_green"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginTop="2dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:textAlignment="center"
|
|
android:layout_width="40dp"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/trackers"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_weight="50"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorPrimary"
|
|
>
|
|
<TextView
|
|
android:id="@+id/permissions_title"
|
|
android:text="@string/permissions_pct"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/permissions_nb"
|
|
android:text="99"
|
|
android:background="@drawable/square_green"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginTop="2dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:textAlignment="center"
|
|
android:layout_width="40dp"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/permissions"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</ScrollView>
|
|
</layout> |