LSPosed/app/src/main/res/layout/download_view.xml

73 lines
2.8 KiB
XML

<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/txtInfo"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceSmall" />
<Button
android:id="@+id/btnDownload"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:text="@string/download_view_download"
android:theme="@style/Widget.AppCompat.Button.Colored" />
<Button
android:id="@+id/save"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:text="@string/save"
android:theme="@style/Widget.AppCompat.Button.Colored" />
<Button
android:id="@+id/btnDownloadCancel"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:text="@string/download_view_cancel"
android:theme="@style/Widget.AppCompat.Button.Colored"
android:visibility="gone"
tools:ignore="ButtonOrder" />
<Button
android:id="@+id/btnRemove"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:text="@string/download_view_remove"
android:theme="@style/Widget.AppCompat.Button.Colored"
android:visibility="gone" />
<Button
android:id="@+id/btnInstall"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:text="@string/download_view_install"
android:theme="@style/Widget.AppCompat.Button.Colored"
android:visibility="gone" />
</LinearLayout>
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</merge>