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)) {
|
if (isMobileDataEnabled(context)) {
|
||||||
mobileDataDialog();
|
mobileDataDialog();
|
||||||
} else {
|
} else {
|
||||||
if(flag) {
|
if (flag) {
|
||||||
serverStopped();
|
serverStopped();
|
||||||
isStarted = false;
|
isStarted = false;
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
startHotspotDialog();
|
startHotspotDialog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,19 +33,18 @@
|
|||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:text="@string/server_textview_default_message"
|
android:text="@string/server_textview_default_message"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
app:layout_constraintTop_toBottomOf="@id/appBarLayout2"
|
app:layout_constraintTop_toBottomOf="@+id/appBarLayout2"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
tools:layout_editor_absoluteX="-16dp"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/frameLayoutServer"
|
android:id="@+id/frameLayoutServer"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="150dp"
|
android:layout_marginTop="16dp"
|
||||||
app:layout_constraintBottom_toTopOf="@id/startServerButton"
|
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/server_textView"
|
app:layout_constraintTop_toBottomOf="@+id/server_textView"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user