2020-05-06 18:36:07 +04:00

60 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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"
tools:context=".DebugActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/text_margin">
<EditText
android:id="@+id/debugPhoneNumberEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="12"
android:inputType="number"
android:text="@string/debug_default_test_number" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onQueryDbButtonClick"
android:text="@string/debug_query_db" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onLoadReviewsButtonClick"
android:text="@string/debug_load_reviews" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onDbInfoButtonClick"
android:text="@string/debug_db_info" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onUpdateDbButtonClick"
android:text="@string/debug_update_db" />
<TextView
android:id="@+id/debugResultsTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Some data" />
<include layout="@layout/reviews_summary"
android:layout_marginTop="6dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</ScrollView>