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

64 lines
2.0 KiB
XML
Raw Normal View History

2017-07-17 16:59:22 +00:00
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
2017-10-24 21:42:05 +00:00
android:background="@color/flashing_background_color"
2017-07-17 16:59:22 +00:00
tools:context="com.topjohnwu.magisk.FlashActivity">
<include layout="@layout/toolbar"/>
2017-10-16 06:08:14 +00:00
<ScrollView
android:id="@+id/scrollView"
2017-07-17 16:59:22 +00:00
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="0dp">
2017-10-16 06:08:14 +00:00
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
2017-07-17 16:59:22 +00:00
2017-10-16 06:08:14 +00:00
<TextView
android:id="@+id/txtLog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="monospace"
android:padding="8dp"
android:textColor="@android:color/white"
android:textSize="10sp" />
2017-07-17 16:59:22 +00:00
2017-10-16 06:08:14 +00:00
</HorizontalScrollView>
</ScrollView>
2017-07-17 16:59:22 +00:00
<LinearLayout
android:id="@+id/button_panel"
style="?android:buttonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
2017-10-24 21:42:05 +00:00
android:background="@color/button_panel_background_color"
2017-07-17 16:59:22 +00:00
android:orientation="horizontal"
android:visibility="gone">
<Button
android:id="@+id/no_thanks"
style="?android:borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_weight="1"
android:text="@string/close" />
<Button
android:id="@+id/reboot"
style="?android:borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_weight="1"
android:text="@string/reboot" />
</LinearLayout>
</LinearLayout>