Update ImportBrainkeyFragment layout to show the 'View Network Status' text and newtwork status icon at the bottom.

master
Severiano Jaramillo 2019-01-11 13:27:34 -06:00
parent 464f8da353
commit dd619be8c8
3 changed files with 128 additions and 101 deletions

View File

@ -2,14 +2,24 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:focusable="true"
android:focusableInTouchMode="true"
tools:context=".fragments.ImportBrainkeyFragment">
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilPin"
style="@style/Widget.Bitsy.TextInputLayout"
@ -115,4 +125,20 @@
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:text="@string/button__create_new_account"/>
</LinearLayout>
</ScrollView>
<TextView
android:id="@+id/tvNetworkStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:text="@string/text__view_network_status"
android:gravity="end|center_vertical"
android:textAppearance="@style/TextAppearance.Bitsy.Body1"
android:drawablePadding="8dp"
android:drawableEnd="@drawable/ic_disconnected"/>
</LinearLayout>

View File

@ -55,7 +55,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_same_topic"
android:layout_marginEnd="2dp"
android:text="View Network Status"
android:text="@string/text__view_network_status"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.Bitsy.Body1"
android:drawableEnd="@drawable/ic_disconnected"/>

View File

@ -124,5 +124,6 @@
https://github.com/Agorise
</string>
<string name="title__bitshares_nodes_dialog">Block: %1$s</string>
<string name="text__view_network_status">View Network Status</string>
</resources>