Fix activity_zim_host layout

This commit is contained in:
Adeel Zafar 2019-08-07 03:54:30 +05:00
parent 062dd62114
commit e3c7061f31
2 changed files with 8 additions and 11 deletions

View File

@ -97,12 +97,10 @@ public class ZimHostActivity extends AppCompatActivity implements
if (isMobileDataEnabled(context)) {
mobileDataDialog();
} else {
if(flag) {
serverStopped();
isStarted = false;
}
else
{
if (flag) {
serverStopped();
isStarted = false;
} else {
startHotspotDialog();
}
}

View File

@ -33,19 +33,18 @@
android:layout_marginTop="16dp"
android:text="@string/server_textview_default_message"
android:textAlignment="center"
app:layout_constraintTop_toBottomOf="@id/appBarLayout2"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout2"
tools:layout_editor_absoluteX="-16dp"
/>
<FrameLayout
android:id="@+id/frameLayoutServer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="150dp"
app:layout_constraintBottom_toTopOf="@id/startServerButton"
android:layout_marginTop="16dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/server_textView"
app:layout_constraintTop_toBottomOf="@+id/server_textView"
/>
<Button