73 lines
2.8 KiB
XML
73 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="org.eu.exodus_privacy.exodusprivacy.MainActivity">
|
|
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/layout_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_margin="10dp"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:layout_marginBottom="5dp"
|
|
android:id="@+id/status_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
android:progressDrawable="@drawable/progressbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/no_package_manager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:text="@string/no_package_manager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/no_app_found"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:text="@string/no_app_found"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipe_refresh"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_margin="10dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/layout_progress"
|
|
>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/app_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
</android.support.constraint.ConstraintLayout>
|