forked from github/szkolny
118 lines
4.7 KiB
XML
118 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.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=".ui.modules.debug.DebugFragment">
|
|
|
|
<!-- TODO: Update blank fragment layout -->
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/runLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/runText"
|
|
style="@style/Widget.MaterialComponents.TextInputEditText.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Run command" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/textView3"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:text="@string/debug_notice"
|
|
android:textSize="18sp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/runLayout" />
|
|
|
|
<Button
|
|
android:id="@+id/debugRegister"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
android:text="Run"
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/textView3" />
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/guideline2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintGuide_percent="0.33" />
|
|
|
|
<Button
|
|
android:id="@+id/debugAppconfig"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
android:text="AppConfig"
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
app:layout_constraintStart_toStartOf="@+id/guideline2"
|
|
app:layout_constraintTop_toBottomOf="@+id/textView3" />
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/guideline3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintGuide_percent="0.66" />
|
|
|
|
<Button
|
|
android:id="@+id/debugAppprofile"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
android:text="AppProfile"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="@+id/guideline3"
|
|
app:layout_constraintTop_toBottomOf="@+id/textView3" />
|
|
|
|
<HorizontalScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:fillViewport="true"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/debugRegister">
|
|
|
|
<com.yuyh.jsonviewer.library.JsonRecyclerView
|
|
android:id="@+id/rv_json"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</HorizontalScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|