Magisk/app/src/main/res/layout/magisk_fragment.xml

168 lines
6.5 KiB
XML
Raw Normal View History

2016-08-23 09:39:18 +00:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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"
android:layout_marginBottom="8dp"
2016-08-26 10:45:35 +00:00
android:layout_marginTop="?attr/actionBarSize"
android:orientation="vertical">
2016-08-23 09:39:18 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.CardView
2016-08-25 10:08:07 +00:00
android:id="@+id/magiskStatusView"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:layout_marginTop="6dp"
2016-08-26 10:45:35 +00:00
app:cardUseCompatPadding="true">
2016-08-23 09:39:18 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
android:id="@+id/magisk_status_container"
android:layout_width="match_parent"
android:layout_height="100dp"
2016-08-26 10:45:35 +00:00
android:background="?android:attr/selectableItemBackground"
2016-08-23 09:39:18 +00:00
android:foregroundGravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/magisk_status_icon"
android:layout_width="84dp"
android:layout_height="84dp"
android:layout_gravity="center"/>
2016-08-26 10:45:35 +00:00
<ProgressBar
android:id="@+id/progressBarVersion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"/>
2016-08-23 09:39:18 +00:00
</FrameLayout>
<TextView
android:id="@+id/magisk_version"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:padding="6dp"
android:textStyle="bold"/>
</LinearLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
2016-08-27 19:52:03 +00:00
android:id="@+id/magisk_updateView"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:layout_marginTop="6dp"
2016-08-26 10:45:35 +00:00
app:cardUseCompatPadding="true">
2016-08-23 09:39:18 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
2016-08-27 19:52:03 +00:00
android:id="@+id/magisk_check_updates_container"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="100dp"
2016-08-27 19:52:03 +00:00
android:background="?android:attr/selectableItemBackground"
2016-08-23 09:39:18 +00:00
android:foregroundGravity="center"
android:orientation="vertical">
<ImageView
2016-08-27 19:52:03 +00:00
android:id="@+id/magisk_check_updates_icon"
2016-08-23 09:39:18 +00:00
android:layout_width="84dp"
android:layout_height="84dp"
2016-08-26 10:45:35 +00:00
android:layout_gravity="center"
android:src="@drawable/ic_check_circle"/>
<ProgressBar
2016-08-27 19:52:03 +00:00
android:id="@+id/magisk_check_updates_progress"
2016-08-26 10:45:35 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-08-23 09:39:18 +00:00
android:layout_gravity="center"/>
</FrameLayout>
<TextView
2016-08-27 19:52:03 +00:00
android:id="@+id/magisk_check_updates_status"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:padding="6dp"
android:textStyle="bold"/>
</LinearLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
2016-08-27 19:52:03 +00:00
android:id="@+id/app_updateView"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:layout_marginTop="6dp"
2016-08-26 10:45:35 +00:00
app:cardUseCompatPadding="true">
2016-08-23 09:39:18 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
2016-08-27 19:52:03 +00:00
android:id="@+id/app_check_updates_container"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="100dp"
android:foregroundGravity="center"
android:orientation="vertical">
<ImageView
2016-08-27 19:52:03 +00:00
android:id="@+id/app_check_updates_icon"
2016-08-23 09:39:18 +00:00
android:layout_width="84dp"
android:layout_height="84dp"
2016-08-26 10:45:35 +00:00
android:layout_gravity="center"
android:src="@drawable/ic_check_circle"/>
<ProgressBar
2016-08-27 19:52:03 +00:00
android:id="@+id/app_check_updates_progress"
2016-08-26 10:45:35 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-08-23 09:39:18 +00:00
android:layout_gravity="center"/>
</FrameLayout>
<TextView
2016-08-27 19:52:03 +00:00
android:id="@+id/app_check_updates_status"
2016-08-23 09:39:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:padding="6dp"
android:textStyle="bold"/>
</LinearLayout>
</android.support.v7.widget.CardView>
2016-08-27 19:52:03 +00:00
2016-08-23 09:39:18 +00:00
</LinearLayout>
</ScrollView>