mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 12:42:56 -04:00
Fix activity_zim_host layout
This commit is contained in:
parent
062dd62114
commit
e3c7061f31
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user